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

Consider switching from Selenium to Playwright for UI tests #524

Open
danielhollas opened this issue Oct 9, 2023 · 0 comments
Open

Consider switching from Selenium to Playwright for UI tests #524

danielhollas opened this issue Oct 9, 2023 · 0 comments
Assignees
Labels

Comments

@danielhollas
Copy link
Contributor

danielhollas commented Oct 9, 2023

Playwright is a new hotness for browser UI testing from Microsoft. It supposedly promises a couple of exciting things.

  1. Generally faster execution
  2. Native support for all major browsers
  3. Good documentation
  4. Test generator (this one is 🤯 )
  5. pytest integration
  6. Tools for debugging failed tests https://playwright.dev/docs/trace-viewer-intro

I plan to try it out in my app and report back here.

Edit: blog post about how to get started with playwright and pytest https://til.simonwillison.net/pytest/playwright-pytest

@danielhollas danielhollas self-assigned this Oct 9, 2023
unkcpz added a commit to unkcpz/aiidalab-widgets-base that referenced this issue Nov 16, 2023
fixes aiidalab#490

In this commit, we pinging the aiida-pseudo version to use the
--download-only option to download the pseudo archive to the container
for quick installation when the container first time start.
Note that from the test all 8 pseudos seems to only save ~10s but in the place where the network condition is bad, this is very helpful.

Further more Refactoring the methods in setup_pseudos.py to support flexible parameter passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant