tests: new tests folders organization (#3716)

* new tests folders organizations

* 📝 (nightly_build.yml): update tests_folder path from "tests/scheduled" to "tests/core" to reflect the correct location of the tests folder

* renaming test folder

* changing e2e to integrations folder

* 📝 (frontend/tsconfig.json): update test file paths to reflect changes in folder structure for better organization and clarity

* change assets folder

* 📝 (frontend): update file paths to remove redundant 'core' directory in test assets

* 📝 (Document QA.spec.ts, Vector Store.spec.ts, fileUploadComponent.spec.ts): Update file paths to correctly reference test assets in integration and unit tests.

* github suggestions
This commit is contained in:
Cristhian Zanforlin Lousa 2024-09-09 14:45:30 -03:00 • committed by GitHub
commit 6061951cba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
87 changed files with 60 additions and 55 deletions

View file

@ -24,39 +24,40 @@
},
"include": [
"src",
"tests/end-to-end/saveComponents.spec.ts",
"tests/scheduled-end-to-end/actionsMainPage-shard-1.spec.ts",
"tests/end-to-end/auto_login.spec.ts",
"tests/scheduled-end-to-end/chatInputOutput.spec.ts",
"tests/scheduled-end-to-end/chatInputOutputUser-shard-2.spec.ts",
"tests/scheduled-end-to-end/codeAreaModalComponent.spec.ts",
"tests/scheduled-end-to-end/curlApiGeneration.spec.ts",
"tests/scheduled-end-to-end/deleteFlows.spec.ts",
"tests/scheduled-end-to-end/dragAndDrop.spec.ts",
"tests/scheduled-end-to-end/dropdownComponent.spec.ts",
"tests/scheduled-end-to-end/fileUploadComponent.spec.ts",
"tests/end-to-end/filterEdge.spec.ts",
"tests/scheduled-end-to-end/floatComponent.spec.ts",
"tests/scheduled-end-to-end/flowPage.spec.ts",
"tests/scheduled-end-to-end/flowSettings.spec.ts",
"tests/scheduled-end-to-end/generalBugs-shard-0.spec.ts",
"tests/end-to-end/globalVariables.spec.ts",
"tests/end-to-end/group.spec.ts",
"tests/scheduled-end-to-end/folders.spec.ts",
"tests/scheduled-end-to-end/inputComponent.spec.ts",
"tests/end-to-end/inputListComponent.spec.ts",
"tests/scheduled-end-to-end/intComponent.spec.ts",
"tests/end-to-end/keyPairListComponent.spec.ts",
"tests/scheduled-end-to-end/langflowShortcuts.spec.ts",
"tests/end-to-end/nestedComponent.spec.ts",
"tests/scheduled-end-to-end/promptModalComponent.spec.ts",
"tests/end-to-end/python_api_generation.spec.ts",
"tests/scheduled-end-to-end/textAreaModalComponent.spec.ts",
"tests/end-to-end/textInputOutput.spec.ts",
"tests/scheduled-end-to-end/toggleComponent.spec.ts",
"tests/end-to-end/tweaks_test.spec.ts",
"tests/scheduled-end-to-end/twoEdges.spec.ts",
"tests/scheduled-end-to-end/userSettings.spec.ts",
"tests/end-to-end/store.spec.ts",
"tests/end-to-end/logs.spec.ts" ]
"tests/core/saveComponents.spec.ts",
"tests/extended/actionsMainPage-shard-1.spec.ts",
"tests/core/auto_login.spec.ts",
"tests/core/unit/chatInputOutput.spec.ts",
"tests/extended/integrations/chatInputOutputUser-shard-2.spec.ts",
"tests/core/unit/codeAreaModalComponent.spec.ts",
"tests/extended/features/curlApiGeneration.spec.ts",
"tests/extended/features/deleteFlows.spec.ts",
"tests/extended/features/dragAndDrop.spec.ts",
"tests/core/unit/dropdownComponent.spec.ts",
"tests/core/unit/fileUploadComponent.spec.ts",
"tests/core/filterEdge.spec.ts",
"tests/core/unit/floatComponent.spec.ts",
"tests/extended/features/flowPage.spec.ts",
"tests/extended/features/flowSettings.spec.ts",
"tests/extended/regression/generalBugs-shard-0.spec.ts",
"tests/core/globalVariables.spec.ts",
"tests/core/group.spec.ts",
"tests/extended/folders.spec.ts",
"tests/core/unit/inputComponent.spec.ts",
"tests/core/inputListComponent.spec.ts",
"tests/core/unit/intComponent.spec.ts",
"tests/core/keyPairListComponent.spec.ts",
"tests/extended/features/langflowShortcuts.spec.ts",
"tests/core/nestedComponent.spec.ts",
"tests/core/unit/promptModalComponent.spec.ts",
"tests/core/python_api_generation.spec.ts",
"tests/core/unit/textAreaModalComponent.spec.ts",
"tests/core/textInputOutput.spec.ts",
"tests/core/unit/toggleComponent.spec.ts",
"tests/core/tweaks_test.spec.ts",
"tests/extended/features/twoEdges.spec.ts",
"tests/extended/features/userSettings.spec.ts",
"tests/core/store.spec.ts",
"tests/core/logs.spec.ts"
]
}