Executing the Script Using Cypress UI
Run algoQA-generated Cypress scripts through the Cypress UI runner or in headless mode — launch the test runner, select a browser, execute feature files, and view test results.
Run algoQA-generated Cypress scripts using the Cypress UI test runner or execute them in headless mode for faster results. This guide covers both approaches.
Executing Scripts Using Cypress UI
-
Navigate to the folder where you downloaded the scripts to open the command prompt from the same folder.
Make sure Cypress is configured on your system. For more details, refer to the Configuring Node.js Version and Cypress article.
-
Run the following command to launch the Cypress UI.
npx cypress open -
Cypress UI screen appears with Cypress configured. In this screen, select the E2E testing option.

Cypress welcome screen with E2E Testing (Configured) and Component Testing cards -
Choose a browser screen appears. In this screen, select Chrome and click the Start E2E Testing in Electron button.

Cypress Choose a browser screen with Chrome, Edge and Electron options and Start E2E Testing button -
The Feature File will be displayed. Click the Feature File to start the execution.

Cypress Specs page listing API Automation LRS TestCases feature file highlighted -
The execution screen will be displayed.

Cypress test runner showing API Automation test spec execution with 3 passing tests
Executing Scripts in Headless Mode
With headless mode, tests run quickly without displaying the browser window. This means you can get test results faster, speeding up your testing process. Additionally, you can view the generated report. Ensure that Cypress is configured on your system.
Perform the following:
- Navigate to the same folder where you saved your algoQA-generated scripts. Type
cmdon the navigation bar to open the command prompt. - Run the following command to execute the scripts:
npx cypress run --headless
Command prompt with npx cypress run --headless command highlighted and Cypress run output - The report contains details like Feature, Scenario outline, examples, pass percentage, duration.

Cypress test report showing 3 Passed banner and API Automation feature scenario outline with examples table