Skip to content

Conversation

@jcheng5
Copy link
Collaborator

@jcheng5 jcheng5 commented Aug 24, 2022

Fixes #324

This PR adds make e2e, which runs a series of automated end-to-end tests using the Playwright for Python framework.

The tests exist under ./e2e/*/test_*.py files, which test against either e2e-test-specific app.py files in those same directories, or ./examples/*/app.py example apps.

TODO

  • Consider renaming e2e to tests-e2e I'm not going to do this, doesn't feel worth the time

@jcheng5 jcheng5 marked this pull request as draft August 24, 2022 15:42
@jcheng5 jcheng5 changed the title First attempt at playwright integration End-to-end testing Aug 24, 2022
@jcheng5 jcheng5 marked this pull request as ready for review August 30, 2022 21:07
@jcheng5 jcheng5 changed the title End-to-end testing End-to-end testing infrastructure Aug 30, 2022
@jcheng5 jcheng5 requested a review from cpsievert September 16, 2022 16:35
@jcheng5
Copy link
Collaborator Author

jcheng5 commented Sep 16, 2022

FYI, the next version of Playwright (1.26) will allow us to remove # pyright: reportUnknownMemberType=false from the top of the e2e tests.

jcheng5 and others added 2 commits September 16, 2022 15:10
Co-authored-by: Carson Sievert <[email protected]>
Co-authored-by: Carson Sievert <[email protected]>
jcheng5 and others added 2 commits September 16, 2022 15:16
@jcheng5 jcheng5 merged commit bd835bb into main Sep 19, 2022
@jcheng5 jcheng5 deleted the e2e-tests branch September 19, 2022 16:42
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

Successfully merging this pull request may close these issues.

End-to-end testing infrastructure

3 participants