Skip to content

Documentation

How to use each part of QAIA, step by step: running analyses, reading the results, tests, audits and your account.

Categories

Tutorial: from a journey to a check in your CI

Run a journey, check its proof, save it as a reusable test, put it in a collection, run it from GitHub Actions and read the JUnit report.

Updated December 2, 2026

This walkthrough connects four parts of QAIA: Flow Analysis, the proof, Test Suites and CI. At the end, every push to your repository runs the journey in QAIA and the build fails when it breaks. You need Pro or Enterprise, a GitHub repository where you can add a secret and a workflow file, and about 20 minutes. We use SauceDemo, a public practice shop, and its practice account.

1. Run the journey

  1. Open Flow Analysis and select User Journey.
  2. In Start URL, type https://www.saucedemo.com.
  3. Under What should QAIA do?, write the sign-in as the first step: Log in with username "standard_user" and password "secret_sauce". Add "Sauce Labs Backpack" to the cart. Open the cart. Verify the cart shows "Sauce Labs Backpack". The test you save in step 3 then signs in before anything else. (These are the shop's public practice details; the password is sealed once the run is saved.)
  4. Select Run analysis. The live view shows the browser, and the results open when the run finishes.

2. Check the proof

At the top of the results, the verdict should say Verified, and in the Proof timeline the last step shows the cart with the backpack, marked Verified. Anything else? Read Reading the proof: what each status means, fix the words and select Run again before you go on: a journey that does not pass here will not pass in CI.

3. Save it as a reusable test

  1. At the top of the results, select Save as a reusable test.
  2. In the message that confirms it, select Open Test Suites.
  3. In the collections list, select Uncategorized: the scenario is there, tagged saved-journey. Its password stays sealed and still works.

4. Put it in a collection

  1. Select New collection, type Checkout smoke as the Collection Name and select Create Collection.
  2. Back in Uncategorized, open the scenario's menu, select Edit, choose Checkout smoke under Collection (Optional), and select Update Scenario.
  3. Open Checkout smoke and select Run all (1) once, to see it pass in QAIA.

5. Run it from GitHub Actions

  1. In Checkout smoke, select Run from CI.
  2. Type GitHub Actions as the Key name, select Create key, then Copy key. QAIA shows the key only once.
  3. On GitHub, open your repository's Settings, then Secrets and variables, then Actions, and add a secret named QAIA_API_KEY with the key as its value.
  4. Back in QAIA, choose GitHub Actions and select Copy. Add the copied text to your repository as .github/workflows/qaia.yml, commit and push.

6. Read the result

  • On GitHub, open Actions: the QAIA tests workflow prints the QAIA run id, waits for the run, and prints its status and counts. A green job means every scenario passed.
  • Download the qaia-junit artifact: qaia-junit.xml holds one test case per scenario, and a failed scenario carries its reason.
  • In QAIA, the History tab of Test Suites shows the same run, named Checkout smoke (CI), with its proof.

When you are done

Keep the key while the workflow uses it. To stop, select Revoke beside the key under CI API Keys in the account menu, and delete the workflow file. All the details: Run a test suite from CI. To see it done, watch "Run your tests from CI on every push" on Tutorials.