Getting Started
You can follow along with the installation steps below to start a new project, or you can clone the example project here.
Installation
Create a new Playwright project (see Playwright documentation)
Then install @appetize/playwright
Playwright Config
You will need to update playwright.config.ts
so that it's configured for Appetize. Update it to the following:
See Test Configuration for more advanced configurations.
Usage
Delete the example test files that Playwright made when you generated the project and instead create an app.spec.ts
file in your tests folder with the following contents:
Once you've updated the test file for your app, run the test with:
Last updated