An open API service indexing awesome lists of open source software.

https://github.com/currents-dev/circleci-pw-example


https://github.com/currents-dev/circleci-pw-example

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Currents.dev - CircleCI Playwright Example

This is an example repository that showcases running Playwright tests using 3 parallel [CircleCI](https://circleci.com) containers with [Currents.dev](https://currents.dev).

The example [config file](.circleci/config.yml):

- uses [Test CLI commands](https://playwright.dev/docs/test-cli) to run `@currents/playwright` for recording test results and parallelization with [Currents.dev](https://currents.dev)

- Set the `CURRENTS_PROJECT_ID` [Environment variable](https://circleci.com/docs/2.0/env-vars/) - obtain the project id from [Currents.dev](https://app.currents.dev)

- Use CLI arguments to customize your Playwright runs, e.g.: `npx pwc --key `

- Create an organization, get your record key at [Currents.dev](https://app.currents.dev) and set [Environment variable](https://circleci.com/docs/2.0/env-vars/) `CURRENTS_RECORD_KEY`