-
Notifications
You must be signed in to change notification settings - Fork 3
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
Setup PlayWright tests #38
Conversation
harmen-xb
commented
Nov 22, 2023
•
edited
Loading
edited
- Setup PlayWright test package (e2e-tests).
- Implemented CrossModel page object model (including some generic Theia ones which might be migrated to Theia in the future).
- Created 3 spec files to test basic CrossModel functionalities (to be extended in future).
- Setup execution of PlayWright and reporting in GitHub Workflow.
- Updated devcontainer configuration so PlayWright can be debugged from Windows machine (using WSL + Docker).
…dingly. Added allure reporting for ci runs and added dependencies.
Updated e2e-tests package file.
Reverted back to using pages actions and added environment setting.
…object. Created scenarios for tab bar toolbar actions (entity, relationship & diagram).
Moved tabbar-toolbar tests into own spec file. Added getting focus on explorer for each test in toolbar tests.
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.
Fantastic contribution! For me locally everything works as expected and the initial CI ran with this PR also looks good. For the reporting, we need to merge to master I believe but I didn't see any obvious problems so far. I especially like the custom page objects, great work!
I do have some minor comments but they are mostly related to style.
Changed use of type in the input dialog to fill (because of deprecation warning). Renamed xmodel files to crossmodel. Added instlal-playwright yarn script for e2e-tests package. Added ui-test yarn script for workspace package json. Updated gitflow workflows to use adjusted yarn scripts.
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.
Great, thank you very much for addressing all the things so quickly! As soon as the CI is through, we can merge this.