Monitoring Tests

Learn about monitoring tests with example.

We'll cover the following

Description

There are some kinds of checks that we like to perform continually that are not related to user flows. These include back-end cache management, robots.txt, and sitemap.xml checks, assets compression, etc. Tests that check these features are called “Monitoring Tests” because they are small and quick tests that can launch once a minute. These kinds of tests are usually generic, or related to something that broke in the past.

Example

For example, the next test checks that the main.js file of the https://react-redux.realworld.io website is served with the correct content-encoding header.

Note: You can see the Cypress UI better by opening the link next to Your app can be found at:

Get hands-on with 1400+ tech skills courses.