https://github.com/currents-dev/currents-actions-example
An example repository on how to setup Currents Actions with Playwright Fixtures
https://github.com/currents-dev/currents-actions-example
Last synced: 5 months ago
JSON representation
An example repository on how to setup Currents Actions with Playwright Fixtures
- Host: GitHub
- URL: https://github.com/currents-dev/currents-actions-example
- Owner: currents-dev
- License: mit
- Created: 2024-12-12T16:41:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-22T16:15:36.000Z (7 months ago)
- Last Synced: 2025-08-28T18:52:34.047Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Currents Actions with Playwright
[Currents Actions](https://docs.currents.dev/guides/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](https://docs.currents.dev/guides/record-key) and [project id](https://docs.currents.dev/dashboard/projects/project-settings)
- 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)


## Examples
- Run `npm run test` for using [`playwight test`](https://docs.currents.dev/getting-started/playwright/you-first-playwright-run#using-reporter-configuration) command with Currents loaded as a reporter
- Run `npm run test:pwc` for using [`pwc`](https://docs.currents.dev/getting-started/playwright/you-first-playwright-run#using-the-cli) command
- Run `npm run test:pwc-p` for [orchestrated](https://docs.currents.dev/guides/parallelization-guide/pw-parallelization/playwright-orchestration) runs
## Licence
MIT License