langflow/src/frontend/tests/core/features
Cristhian Zanforlin Lousa ab68e13493
test: Add utility functions to streamline test setup and improve maintainability (#5168)
* change tests to use utils libs

* 🔧 (frontend): add data-testid attribute to buttons in baseModal and secretKeyModal components
🔧 (frontend): add data-testid attribute to buttons in various test files for improved testing
🔧 (frontend): refactor awaitBootstrapTest function to remove skipNewFlow option and improve modal handling

*  (userSettings.spec.ts): add a 1-second timeout before checking for the "Please save" text to ensure it is rendered on the page before interacting with it

*  (userSettings.spec.ts): add comment to clarify waiting for API key creation to complete before proceeding to the next form element

*  (freeze-path.spec.ts): refactor adjustScreenView function to accept a parameter for the number of zoom outs to perform, improving flexibility and reusability in test scenarios.
🔧 (freeze-path.spec.ts): replace adjustScreenView function with initialGPTsetup function for setting up initial GPT configuration in the test scenario.
2024-12-09 20:30:56 +00:00
..
actionsMainPage-shard-1.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
auto-login-off.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
chatInputOutputUser-shard-0.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
componentHoverAdd.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
filterEdge-shard-0.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
filterSidebar.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
folders.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
freeze-path.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
freeze.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
globalVariables.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
group.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
keyboardComponentSearch.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
logs.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
playground.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
saveComponents.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
stop-building.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
store-shard-2.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00
tweaksTest.spec.ts test: Add utility functions to streamline test setup and improve maintainability (#5168) 2024-12-09 20:30:56 +00:00