QadetDocs
Connect · Exports

Getting started

Set up

Test

Connect

Reference

Connect

Exports

Take tests and results with you: Playwright code, Excel workbooks, CSV, PDF reports and demo GIFs.

ExportFromContains
Playwright projectExport → Playwright tests (.zip) on a project's Tests tab, a QA task or a test run, or Playwright with tests tickedThe saved tests as a Playwright project you can run in CI, signing in once per account, with helpers for saved values and email links and the files tests upload. Checks are soft, so a run lists every failed check, sample.env names each value to fill in, and envs/ holds one file per environment with its address, so the same tests run on staging or production. The tests' data reads from the environment too: other sites' addresses (such as QADET_ADMIN_URL), values the tests type (such as FIRST_NAME) and the records they open that the test names (such as CAMPAIGN or PROJECT). Each defaults to the value Qadet used, so nothing needs setting to run as Qadet did; set one to run on another campaign, user or site. Passwords are never written as defaults: they stay secrets you set.
QA task workbookA QA task, Export, Excel workbookRequirements with coverage, scenarios, results and evidence.
Test run reportA test run, Export → Report (Excel) or Report (CSV)Each test's result and attempts.
Bug report (PDF)A failed run, See what failed, Bug report PDFWhat was expected and what happened, steps to reproduce, and screenshots of the failure and the step before it, ready to attach to a ticket.
QA task report (PDF)A QA task, Export, PDF reportThe summary, requirements with coverage, every scenario's result, and a bug report for each failed scenario.
Test run report (PDF)A test run, Export → Report with bugs (PDF)Why tests failed, each test's result, and a bug report for each failed test (the first 20).
Demo GIFA QA task, Export, Demo GIFAn animated walk-through of the passed scenarios with step captions, for UAT review.
Test planA project's Tests tab, Export → Test plan (Excel) or Test plan (CSV)Every listed test case and its steps, with how each went on its latest run.

PDF reports open in a new tab. Choose Save as PDF at the top, then Save as PDF as the printer. Your browser makes the PDF and the demo GIF from what runs already saved, so nothing runs again.

Plain Playwright, no Qadet needed: the export uses only @playwright/test, laid out as Playwright recommends, so a team can keep and run it without Qadet. Each saved step is a test.step named by what it does, which the report and trace show.

Each Export menu gives the Playwright tests of what you're looking at: a QA task's tests, a test run's, the tests you ticked, or the filtered list. A test that uses what another test of its QA task made, such as a new participant, comes with that test, so the export makes it first. A test with no saved steps yet isn't exported; the export's README.md lists it under Not exported.

  • Signing in once: tests/auth.setup.ts signs in once per account and keeps the browser's session in .auth/. Tests that start by signing in as that account start from the session instead. A test that signs out, or signs in as someone a test made during the run, signs in itself.
  • QA tasks that pass values on: the tests that make something later tests use, such as a new participant, run first as <task>.setup.ts and keep what they made in .values/. The tests using it are ordinary specs that run after. If a setup test fails, the tests depending on it are skipped.
  • Playwright's test agents: the export follows their layout. Each folder of tests has its plan in specs/<folder>.md, in the format Playwright's planner writes, and every test starts with // spec: and // seed: lines naming its plan and the setup it starts from. Run npx playwright init-agents --loop=claude in the export to add Playwright's planner, generator and healer.
  • Cleaning up: a test's cleanup steps run after it in finally, whether it passed or failed. What a QA task's setup made is removed by <task>.teardown.ts, a teardown project that runs once every test using it has finished.
  • Helpers and files: fixtures/index.ts holds the helpers (a unique value per run, saved values from the environment, email links), and fixtures/files/ the files tests upload.
  • A team's layout: under the project's settings, Playwright export layout can lay the export out as many teams' repositories are: helpers in support/utils/, uploaded files in support/files/, and test data per environment in support/data/<environment>/test-data.json. Each file in envs/ sets TEST_ENV, which picks the data; an environment variable of the same name still overrides a value. Test files are named by ticket, such as tests/billing/PROJ-12_pay-an-invoice.spec.ts.
  • Order: the config runs the auth project first. Each QA task's setup is a project of its own, and only that task's tests wait for it, so a setup that fails blocks its own tests and no others. A test exported on its own reads a value an earlier test would have made from an environment variable of the same name, such as PARTICIPANT_EMAIL.
  • Pages as Qadet sees them: each test adds, before the page loads, the roles Qadet's runner gives clickable elements that have none, such as a <div> showing 0.00, because steps were saved against them. The config uses the language and time zone Qadet's runner last showed the app in, since saved dates and day names are written in them. A click on a locator that matches several elements picks the one shown, or the one on top, as Qadet does, and a drawn step moves the mouse through its saved points.
  • Only if shown: a step taken only when the page shows something exports as a plain if, such as if (await page.getByText('Completed').isVisible()) { ... }.
  • Spoken answers: the audio of a test's spoken answers comes in the export, and the useSpokenAnswers helper plays it to the page's microphone, as Qadet's runner does.
  • Sessions: auth.setup.ts keeps the session once the app has moved on from the sign-in page, and includes IndexedDB, where some apps keep their sign-in.

Exported tests and email: tests that follow an email link read the test inbox. Set QADET_INBOX_URL to it when running them outside Qadet.