Setup Currents Actions
Setting up Current Actions for your Playwright Project
Last updated
Setting up Current Actions for your Playwright Project
Last updated
Only available for Playwright
Requires @currents/playwright
v1.9.0+
Setting up the Currents Actions consists of 3 steps:
Setting up the project
Configuring Playwright fixtures
Updating the tests code
Install and configure Currents reporter following Your First Playwright Run guide.
@currents/playwright
provides a that must be installed to enable Currents fixtures.
Import and use the extended test
for every test case to enable the rules engine for that test.
After extending the test
method, many Currents fixtures are enabled by default. If you wish to only conditionally enable them (such as only in CI) you can use the currentsFixturesEnabled
property in your playwright.config.ts
file.