Skip to Content
E2E test frameworksCypressUsage

Usage

This example shows how to use UserWay App Cypress to run static page analysis on a webpage:

it('Google basic example', () => { // Visit a target page cy.visit( 'we need to deploy some demo page (Google demo: https://www.google.com/)', ) // Run static analysis cy.userwayAnalysis() })

By default, UserWay App Cypress scans the page for AA violations and asserts on the number of issues, but you can easily customize it’s behavior.

Last updated on