Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.54 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.54 KB

Currents Actions with Playwright

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.

Setup

  • 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 Creation

Actions are created in the Currents Dashboard (see https://docs.currents.dev/guides/automation-rules#creating-rules-in-currents for more info)

actions-show

create-action

Examples

  • Run npm run test for using playwight test command with Currents loaded as a reporter
  • Run npm run test:pwc for using pwc command
  • Run npm run test:pwc-p for orchestrated runs

Licence

MIT License