Morpht developed an open source javascript library, Cypress JSON Tests, that allows a quick start with running Cypress tests. The rules are described in a yaml config and allows a quick start without knowing Cypress well.
This presentation below was given ad DrupalSouth 2026 Wellington. It illustrates how the above library can be used to create automated tests using the Cypress framework and configured to handle the complex checks which need to take place. This includes handing logged in user sessions, progressing content through a flow and validating access levels across a number of different user roles.
The most valuable part is the ready-to-be-used implementation of Drupal Content Moderation tests.
The above moderation workflow can be tested with minimal effort.
Watch the presentation: