Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

A way to conditionally record tests #90

Open
a-tokyo opened this issue Jan 25, 2022 · 0 comments
Open

A way to conditionally record tests #90

a-tokyo opened this issue Jan 25, 2022 · 0 comments

Comments

@a-tokyo
Copy link

a-tokyo commented Jan 25, 2022

At the moment there's no way to conditionally record the tests.

The only way to trigger recording is by hardcoding the record: true in the Orb declaration.

In our case, we want to record tests on staging branch only.

Is there any way to achieve this?

I noticed multiple people have the same issue eg: https://discuss.circleci.com/t/cast-an-environment-variable-to-a-boolean/37867/2https://github.com/cypress-io/cypress-example-circleci-orb/issues/2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant