Files
backstage/.changeset/twelve-clouds-design.md
T
Patrik Oldsberg 5eacd5d213 create-app: migrate to playwright
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-26 10:15:40 +02:00

752 B

@backstage/create-app
@backstage/create-app
patch

The E2E test setup based on Cypress has been replaced with one based on Playwright. Migrating existing apps is not required as this is a standalone setup, only do so if you also want to switch from Cypress to Playwright.

The scripts to run the E2E tests have been removed from packages/app/package.json, as they are now instead run from the root. Instead, a new script has been added to the root package.json, yarn test:e2e, which runs the E2E tests in development mode, unless CI is set in the environment.

The Playwright setup uses utilities from the new @backstage/e2e-test-utils package to find and include all packages in the monorepo that have an e2e-tests folder.