Run a Test Scenario
You can run any test scenario from the Features page using a unified Run button. This supports running tests locally, with AI Recovery, or generating a command for CI/CD pipelines.
Navigate to the Features page and select the test scenario you want to run.
Click the Run button and choose one of the following options:
- Execute all steps: Executes the scenario locally in the browser using the BlinqIO Editor.
- Execute Scenario with AI Recovery: Runs locally with AI-based fallback in case of failures.
- Execute via CI/CD: Generates the command to run this scenario from a terminal or integrate it into your CI/CD pipeline.
Execute All Steps (Local Execution)
Runs the test scenario directly in your browser using the BlinqIO Editor.
Select Execute all steps from the Run menu.
In the confirmation popup, choose where you want to run the scenario (Cloud or Local), then click Execute Scenario.
A new browser window opens along with a terminal, and the test begins running.
At the end of the test run, you will see the message Command finished, you can exit this window...
in the BlinqIO Editor console.
Execute Scenario with AI Recovery
Runs the scenario locally with automatic error recovery powered by AI.
- If a step fails, the system will attempt intelligent retries or fallback locators.
- Root Cause Analysis (RCA) will be triggered automatically for failed steps.
Note
Learn more about Root Cause Analysis here.
Execute via CI/CD
Use this to copy the command needed to run the scenario from a terminal or pipeline.
Select Execute via CI/CD from the Run menu.
A modal appears with the command pre-filled with environment, tags, and scenario details.
Copy and use the commands in your CI/CD pipelines or paste them into a terminal to run the tests.
Note
Make sure you have Node.js (version 18 or greater) installed on the server. Verify the installation with:
bash
node -v
npm -v
Customize Run Commands
When running from CI/CD or terminal, you can modify the command using the following options:
Set Custom Run Report Name
bash
--run-name="My Regression Run"
Change Browser
By default, tests run on Chromium. Use the BROWSER
option to change this:
bash
BROWSER=firefox # or webkit
Headless Mode
If you're running tests on a server without a GUI, add HEADLESS=true
to run the tests without opening a browser window.
bash
HEADLESS=true
Run a Specific Scenario by Name
You can use the --name
flag in the command to run a particular scenario based on its title.
bash
npx cross-env BLINQ_ENV=staging TOKEN=your_token --name="User checkout process" cucumber-js
This runs only the scenario with the name User checkout process.
Combine Options
You can combine multiple configuration options. For example, running a test on Firefox in headless mode:
bash
npx cross-env BROWSER=firefox BLINQ_ENV=... TOKEN=... BVT_FORMATTER="ANALYSIS" cucumber-js --format bvt