Actions

Reference documentation for actions that apply as part for Currents Actions Engine

Available Actions

The following actions are supported by Currents Actions Engine

Pre-Test Actions

Actions that run in the client immediately before test execution.

Action
Description
Min Version

skip

Do not run the test at all, same as test.skip().

v1.9.0

Post-Test Actions

Actions that run in the client after test execution, but before reporting the results to Currents.

Action
Description
Min Version

quarantine

Run the test, but ignore the failures; the results will be sent over to Currents, test status will be skipped.

v1.9.0

add tag

Add tags to the test result. Only affects affects the current test execution attempt.

v1.15.0

Limitations

Errors that occur in Playwright's beforeAll hook are not supported even if the corresponding test has the skip or quarantine action, resulting in tests still being reported as failed. Actions fixture runs after the beforeAll hook, and skipped by Playwright if the hook fails. We are looking at solutions to resolve this in a future release. Errors that occur in other Custom Fixtures may prevent the action from being applied if the failure happens before the Currents Action fixture is loaded. To ensure the action is applied in such cases, the Currents fixture should be loaded before other fixtures. See Combine Currents fixtures with existing custom fixtures

Last updated

Was this helpful?