Open DevinWalker opened 2 years ago
Ok - We're doing a pivot here because @JasonTheAdams kindly recommended we stick to using Ghost Inspector, which we're using on GiveWP and the website, to run e2e tests.
@Benunc has shown me the ropes on this and I'm going to start building out some tests today using WP Sandbox.
Details
This is the perfect time to get started with end to end testing the block.
E2E w/ Gutenberg Info
It looks like Gutenberg is in the process of migrating from Puppeteer to Playwright: https://github.com/WordPress/gutenberg/issues/38851
There's tons of resources above, but it's going to take a bit of digging to fully understand how we can utilize this correctly.
📑 Good Resources:
A few helpful resources I found while doing research...
Migrating WordPress e2e tests to Playwright
https://make.wordpress.org/core/2022/03/23/migrating-wordpress-e2e-tests-to-playwright/
E2E Tests Utils Playwright Package:
https://github.com/WordPress/gutenberg/tree/HEAD/packages/e2e-test-utils-playwright