Skip to content
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

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

Innders
Copy link
Member

@Innders Innders commented May 20, 2024

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:

  • Create and delete project
  • Create and delete user
  • Create and delete bundle

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)

USER_NAME=*********
TEST_SERVER_URL=********
PASSWORD=*********

library link: https://playwright.dev/

@Innders Innders added the enhancement Improvement of an existing feature label May 20, 2024
@Innders Innders self-assigned this May 20, 2024
@Innders Innders linked an issue May 20, 2024 that may be closed by this pull request
3 tasks
@Innders Innders requested a review from martastain May 20, 2024 13:52
@Innders Innders removed the request for review from martastain May 20, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Testing: Setup Playwright end-to-end testing and write first tests
1 participant