Currents Actions for Playwright.
This is a simple example Playwright test project, that shows the different ways to configure the Currents Playwright fixtures to apply Actions.
- Install dependencies with
npm install
- Update
playwright.config.ts
with Currents record key and project id - Run
npm run test
for running tests, behind the scenes:- runs playwright tests
- applied Currents Actions during the run
- sends results to the Currents dashboard
Actions are created in the Currents Dashboard (see https://docs.currents.dev/guides/automation-rules#creating-rules-in-currents for more info)
- Run
npm run test
for usingplaywight test
command with Currents loaded as a reporter - Run
npm run test:pwc
for usingpwc
command - Run
npm run test:pwc-p
for orchestrated runs
MIT License