-
Notifications
You must be signed in to change notification settings - Fork 14
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
Testing: setup playwright and first basic end to end tests #444
Testing: setup playwright and first basic end to end tests #444
Conversation
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.
All the tests pass but I can't get authentication to pass. Maybe I have set it up wrong though.
Do you think that the tests could be separated even more now we have fixtures?
For example we have create and delete folders as one test. Does it make sense to now have two separate tests: create folder and delete folder. Or is that getting too separated?
…ht-end-to-end-testing-and-write-first-tests
553e0f6
to
808c2d1
Compare
Description of changes
End to end testing is now implemented locally but NOT in the CI.
CI was taking too much effort for what it's worth. Local testing is fine.
Basic first tests:
Technical details
First install all deps with
yarn install
Test your PR locally using
yarn test
.For a more visual test use
yarn test-ui
.Create new tests with the help of
yarn test-codegen
.Add new env variables for user auth (otherwise tests will fail)
library link: https://playwright.dev/