-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new tests on global variables and fix old ones #1756
Conversation
…run_frontend target 📝 (frontend/.gitignore): add test-results/ directory to .gitignore ⬆️ (frontend/package.json): upgrade @playwright/test dependency to version 1.43.1 💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected tooltip test ID from "tooltip-Models" to "tooltip-Model Specs" 💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected test ID from "disclosure-models" to "disclosure-model specs" 💡 (frontend/tests/end-to-end/globalVariables.spec.ts): add hover and delete functionality to test for global variables 💡 (frontend/tests/end-to-end/saveComponents.spec.ts): add additional wait times to ensure modal is loaded before interacting with it
…fore starting the frontend server to avoid conflicts
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…tOutput variable to improve test readability
…ks for invalid syntax in the test case ♻️ (codeAreaModalComponent.spec.ts): refactor test case to remove redundant code and improve readability
…e unused import to improve code readability and maintainability ✅ (store.spec.ts): add a delay before selecting the "Alphabetical" option to ensure the dropdown is fully loaded before interacting with it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably find a way to speed these tests up. 33 minutes is too long.
LGTM, though.
If you're cool with it, let's start by testing it this way in the pipeline. Then, in a further moment, we can come back with more time to tweak things based on how the tests go. |
🔧 (Makefile): remove unnecessary kill command for frontend server in run_frontend target
📝 (frontend/.gitignore): add test-results/ directory to .gitignore
⬆️ (frontend/package.json): upgrade @playwright/test dependency to version 1.43.1
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected tooltip test ID from "tooltip-Models" to "tooltip-Model Specs"
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected test ID from "disclosure-models" to "disclosure-model specs"
💡 (frontend/tests/end-to-end/globalVariables.spec.ts): add hover and delete functionality to test for global variables
💡 (frontend/tests/end-to-end/saveComponents.spec.ts): add additional wait times to ensure modal is loaded before interacting with it