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

[explorer] Migrate end-to-end tests to Playwright #7116

Merged
merged 7 commits into from
Jan 5, 2023

Conversation

Jordan-Mysten
Copy link
Contributor

@Jordan-Mysten Jordan-Mysten commented Jan 4, 2023

This migrates our Explorer end-to-end tests from Cypress to Playwright. The test execution happens in Node.js which simplifies quite a bit of our setup because we can avoid the task indirection to drive the network. I was also able to to consolidate all of the tests using a multi-project setup, which makes the legacy tests a little easier to maintain / run (and will save us time in CI). Playwright is also able to start all of the relevant web servers for us (including localnet) which makes running tests super simple.

Playwright also has some utilities for testing Chrome Extensions, which should let us write extension tests for the wallet extension which would be very nice to have.

@vercel
Copy link

vercel bot commented Jan 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated
explorer-storybook ⬜️ Ignored (Inspect) Jan 4, 2023 at 5:45PM (UTC)
wallet-adapter ⬜️ Ignored (Inspect) Jan 4, 2023 at 5:45PM (UTC)

@vercel vercel bot temporarily deployed to Preview – wallet-adapter January 4, 2023 09:08 Inactive
@Jordan-Mysten Jordan-Mysten changed the title [wip] playwright [explorer] Migrate end-to-end tests to Playwright Jan 4, 2023
@Jordan-Mysten Jordan-Mysten marked this pull request as ready for review January 4, 2023 16:58
@Jordan-Mysten Jordan-Mysten requested a review from 666lcz January 4, 2023 22:15
@Jordan-Mysten Jordan-Mysten merged commit 18f38cf into main Jan 5, 2023
@Jordan-Mysten Jordan-Mysten deleted the jordan--playwright branch January 5, 2023 19:28
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.

3 participants