Skip to content

Commit

Permalink
docs: additional test replay content (#5447)
Browse files Browse the repository at this point in the history
* add TR cost faq

* add centos troubleshooting
  • Loading branch information
jaffrepaul committed Aug 28, 2023
1 parent 6e0e27c commit 4b850a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/faq/questions/cloud-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ There is an important distinction between _session_ replay services (LogRocket,

Cypress Test Replay captures every detail of your test runs as they happen in CI. Remember, these tests are running in a headless manner on a virtual machine with no UI being rendered. Sometimes tests will error or fail indicating an issue in your application. Since Cypress Cloud is monitoring the health of your CI test suite, each Test Replay offers a chance to step back in time to analyze and leverage [time travel debugging](/guides/core-concepts/cypress-app#Time-traveling), network requests, console logs, JavaScript errors, and element rendering to address problems directly. This is incredibly valuable for developer and team productivity. No more hours wasted recreating CI issues on your local machine!

### <Icon name="angle-right" /> How much does Test Replay cost?

Nothing. It's free and included in all Cypress Cloud plans.

<CloudFreePlan />

### <Icon name="angle-right" /> Does the replay reflect the real time it took for the test to run?

Yes! The test is captured in Cypress Cloud as it executed in your CI run. That means the replay will show things like [slow typing](/api/cypress-api/keyboard-api#Slow-down-typing-by-increasing-the-keystroke-delay) or any [`cy.wait()`](/api/commands/wait) included in your test.
Expand Down
4 changes: 4 additions & 0 deletions docs/guides/cloud/debugging/test-replay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ If you do not want to capture test data for replay and debugging purposes, simpl
3. Check that Test Replay is enabled in Cypress Cloud project settings.
4. Review the standard output of the test run to ensure there was not an error capturing Test Replay. If you encounter an error capturing Test Replay, please open an issue so that we can investigate.

**CentOS users may see errors when using Test Replay**

CentOS Linux 7 has an [end of life in 2024](https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/). We have had these users report issues when accessing Test Replay in Cypress Cloud. This could be due to GCC version compatibility with better-sqlite3. We recommend using CentOS 8 rather than 7, or try following the steps noted in this [installing better-sqlite3 on Centos 7 github issue](https://github.com/WiseLibs/better-sqlite3/issues/648#issuecomment-1000361827).

## Command Log Notes

Cypress uses a powerful [command log](/guides/core-concepts/cypress-app#Command-Log) locally to display every command executed in your spec. The Cypress command log is visible during `cypress open` mode, but is also rendered ([headless](/guides/guides/command-line#Options)-ly) during `cypress run` so that it displays within captured screenshots or videos, to assist in debugging CI failures.
Expand Down

0 comments on commit 4b850a4

Please sign in to comment.