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

Implement example playwright test #2

Open
stefanv opened this issue Sep 6, 2024 · 0 comments
Open

Implement example playwright test #2

stefanv opened this issue Sep 6, 2024 · 0 comments
Assignees

Comments

@stefanv
Copy link
Collaborator

stefanv commented Sep 6, 2024

We suspect that playwright may help to accelerate our test suit. It also has the following built-in features that we had to add manually to Selenium:

Auto-wait. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts - the primary cause of flaky tests.

Web-first assertions. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met.

Tracing. Configure test retry strategy, capture execution trace, videos, screenshots to eliminate flakes.

It includes a pytest plugin, so we can continue using our existing test fixtures.

@stefanv stefanv self-assigned this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant