Skip to content

An example repository on how to setup Currents Actions with Playwright Fixtures

License

Notifications You must be signed in to change notification settings

currents-dev/currents-actions-example

Repository files navigation

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

About

An example repository on how to setup Currents Actions with Playwright Fixtures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published