logo
Depending on what problem youโ€™re trying to solve, there are two primary ways of using replay.
Record failures on PRs
This is useful for debugging failing tests in pull requests. It only records failing tests so thereโ€™s minimal overhead, and those replays will be available for debugging immediately after tests finish.
Run your tests and pass the mode record-on-retry .
bash
npx @replayio/cypress run --mode record-on-retry
Record all on merge to master
This is useful for busting flakes. It only records failing tests so thereโ€™s minimal overhead, and those replays will be available for debugging immediately after tests finish.
Run your tests as usual, but set the trigger to only run on merge to master.
Share