For Playwright, Cypress, WebdriverIO, Selenium, pytest, and more

Know why tests fail. Fix them only when the evidence agrees.

KwikQA finds why a test failed, cites the evidence, and proposes a small repair that it keeps only if your tests pass.

Get started Get a demo
npm i -D kwikqa

Hobby is free: 10 analyses and 3 fixes a month, with no credit card. Node.js 22, 24, 26, or later.

Example, abridged
shop-web — zsh
$ npx playwright test
  ✘ checkout.spec.ts:18:5 › applies a discount code
  1 failed · 41 passed

$ npx kwikqa analyze
Diagnosis request -> the KwikQA service, which forwards it to OpenRouter
  Evidence:  12 redacted items from report, trace, source
  Payload:   4f9c2a7e1b0d83c5... (exactly this redacted payload is sent)
Send this request? yes

#1 The spec clicks test id "apply-coupon"; the trace shows
   data-testid="apply-discount", role button "Apply discount".
   owner: test-support, evidence: strong
Result: diagnosed (test-support-owned)

$ npx kwikqa fix
-  await page.getByTestId("apply-coupon").click();
+  await page.getByRole("button", { name: "Apply discount" }).click();
Apply this patch? yes

$ npx kwikqa validate
Result: repaired (validation-passed)

Diagnoses and repairs tests in

  • Playwright
  • Cypress
  • WebdriverIO
  • Selenium Java
  • pytest
  • Cucumber-JVM

Also diagnoses reports from JUnit, TestNG, Jest, Vitest, Mocha, Cucumber, Allure, and CTRF. On macOS, Linux, and Windows, on your machine and in GitHub Actions, Azure Pipelines, GitLab, and Jenkins.

How it works

Three commands after a red run

Each one stops at a clear result, so you always know what happened and what comes next.

  1. npx kwikqa analyze

    Finds why each test failed and cites the report fields, trace events, or source lines behind it. When the evidence isn't enough, it says so.

    diagnosedinconclusive
  2. npx kwikqa fix

    When the test itself is at fault, proposes a small repair. You see the intent it keeps, the exact diff, and the checks it will run, then approve it.

    awaiting-validationabstained-from-repair
  3. npx kwikqa validate

    Reruns the failing test in a fresh process. A pass keeps the patch; anything else rolls back exactly what KwikQA changed. One retry, then it stops.

    repairedrepair-failed

Diagnosis

Evidence, not guesses

Every cause comes with the evidence behind it and an owner: your test code, the application, or the environment.

  • Cites its sources

    Report fields, trace events or the Cypress and WebdriverIO command log, the page around the failed locator, and short source excerpts.

  • Tells test bugs from app bugs

    A repair needs positive evidence that the fault is in test code. When it points at the application or the environment, you get the diagnosis and where to look, and no patch.

  • Says when it doesn't know

    When the evidence isn't enough, the result is inconclusive instead of a guess.

#1Test codeevidence: strong

The spec clicks test id "apply-coupon"; the trace shows data-testid="apply-discount", role button "Apply discount".

report
locator.click: Timeout 5000ms exceeded
trace
button "Apply discount" [data-testid=apply-discount]
source
checkout.spec.ts:21 await page.getByTestId("apply-coupon").click();

Repair policy

Repairs that can't cheat

A green build is easy to fake. KwikQA checks each proposal against these rules before you see it, and rejects the ones that break them.

Never weakens a test

Edits that skip or focus tests, add fixed waits or retries, accept broad snapshots, or swallow errors are rejected.

Keeps every assertion

A repair that removes an assertion, or uses any matcher fewer times in a file than before, is rejected. It can change how a test reaches the behavior, never what it accepts.

Edits test code only

Only the paths your reviewed kwikqa.config.json allows. Never application code, dependencies, lockfiles, or generated files.

Small by default

A proposal touches at most 3 files and 100 changed lines. Anything larger comes back as a manual recommendation instead of a truncated patch.

Nothing happens without you

Each AI request shows its model, evidence, cost cap, and payload hash before it is sent. Applying a patch always asks, even with --yes; in CI, only a policy you commit approves it, and the repair arrives as a draft pull request.

Leaves your work alone

Files you have already modified are off limits, and rollback restores only the bytes KwikQA wrote.

rejectedAdds a fixed wait and drops an assertion

-  await expect(page.getByText("Discount applied")).toBeVisible();
+  await page.waitForTimeout(3000);

keptReaches the same button by its role; every assertion stays

-  await page.getByTestId("apply-coupon").click();
+  await page.getByRole("button", { name: "Apply discount" }).click();

Changes you didn't write

Check the test changes your agents make

Coding agents and Playwright's healer change tests too. npx kwikqa check holds their changes to the same gates as KwikQA's own repairs, so a test can't be made green by weakening it.

  • Scope and policy

    Only the test paths your kwikqa.config.json allows, under the same repair rules: no skips, fixed waits, added retries, or removed or loosened assertions.

  • Ownership

    Each failing test the change touches must have been diagnosed as the test's own fault. A change to a test that caught an application bug fails the check.

  • Validation

    The failing tests the change touches run again after you approve: a changed test three times in a row with retries off, and a change to shared test code reruns every test that uses it.

It runs on your machine or runner, sends nothing to KwikQA, and counts nothing toward your plan. As a required pull request check, a failed or incomplete verdict fails the job. Validate test repairs

shop-web — zsh
$ npx kwikqa check --base origin/main --yes
Checking the changes since this branch left origin/main (3e1c9a2).

Changed files:
  modified  tests/checkout.spec.ts  spec, 2 lines

1. Scope and policy: failed
   tests/checkout.spec.ts:21: arbitrary fixed waits are forbidden

2. Ownership: passed

Result: failed. Nothing was changed; the findings above name each problem.

In CI

From a red build to a reviewed fix

Run npx kwikqa ci, or the KwikQA Action on GitHub, after your tests.

  • A summary on the pull request

    On GitHub Actions, Azure Pipelines, GitLab CI/CD, and Jenkins, next to the failure report it writes for the run.

  • A draft repair for a person to merge

    With a policy you commit, kwikqa fix repairs a failing test in the job, validates the repair, and opens a draft pull request.

  • Alerts where your team works

    Slack or Microsoft Teams, from any CI system, and one diagnosis per failure even when the run is sharded.

Hosted CI, draft pull requests, alerts, and shard-aware deduplication depend on your plan. Running in CI

  1. npx playwright test1 failed
  2. npx kwikqa cidiagnosedSummary posted on the pull request
  3. npx kwikqa fixvalidation-passedDraft pull request opened for review

What leaves your machine

Your code stays yours

KwikQA builds a small, redacted evidence packet on your machine and shows it to you before anything is sent.

Hobby, Pro, Teams, and Enterprise

  1. Your machine
  2. KwikQA service
  3. OpenRouter
  4. Model, with zero data retention

BYOK, BYOK Teams, and BYOK Enterprise

  1. Your machine
  2. Your model endpoint, with your own key
  • Redacted before you see it

    Secrets, password fields, and sensitive values are removed before the preview.

  • Zero data retention

    Hosted requests run on Google Cloud Vertex AI or Microsoft Azure with zero data retention, so the AI provider doesn't keep them either.

  • Never your pixels or your repository

    Screenshots and videos are described by size only. Full files and your repository are never sent.

  • Only metadata and counts

    The service keeps account, usage, and cost records, a hash of each request, and from kwikqa 0.6.0 result counts. Never the evidence, your source, or the model's answer.

How KwikQA handles your data

For teams

Built for the whole organization

One subscription for the company, with the controls an admin expects.

  • One shared pool, no seats

    Everyone's pull requests are covered. A plan is priced for the organization, and a top-up pack adds more when a month needs it.

  • Single sign-on and SCIM

    SAML and OIDC with Okta, Entra ID, and Google Workspace, through SSOJet: on Enterprise, and as an add-on to a yearly Teams plan.

  • Team caps and CI tokens

    Admins cap each team's share of the pool. CI tokens belong to the company or a team, so they keep working when people leave.

  • Audit log

    On Enterprise, a record of who changed people, teams, tokens, single sign-on, and billing, and when.

  • A service level agreement

    Enterprise comes with an SLA for availability and support response times.

  • Yearly contracts, invoiced

    Enterprise is a yearly contract, invoiced, and set up with you by KwikQA.

Pricing

Start free. Grow with your team.

Priced per account or organization, never per seat. Local-only analysis is always free.

Hobby

$0

Free, with no credit card

For trying KwikQA out on your own projects

10 analyses and 3 fixes a month

Start free

Solo

From $25 / month

Billed monthly, or yearly for less

One developer, on your own repositories

Up to 200 analyses and 50 fixes a month

See Solo

Teams

From $149 / month

Billed monthly, or yearly for less

Your organization, with one shared pool and a 14-day trial

Up to 500 analyses and 150 fixes a month

See Teams

Enterprise

From $649 / month

Billed yearly

Single sign-on, SCIM, an audit log, and an SLA

Up to 3,600 analyses and 900 fixes a month

Contact sales

Paid plans are coming soon; until then, everyone uses Hobby. "From" is the price with your own model key (BYOK); yearly billing saves up to 24%. Compare all plans

Questions

Before you install

More in the docs, or write to support@kwikqa.com.

Which projects does KwikQA support?

It repairs and validates Node-based Playwright Test, Cypress (end-to-end), and WebdriverIO (Mocha or Jasmine) projects written in TypeScript or JavaScript, in a git repository, on macOS, Linux, or Windows, with dependencies already installed through npm, pnpm, Yarn, or Bun, including packages of a monorepo. It also repairs and validates end-to-end browser tests in Java (Selenium, Selenide, Appium, or Playwright for Java, with Maven or Gradle and TestNG or JUnit 5), pytest, and Cucumber-JVM (Maven or Gradle) projects, when their own build tools are already on the machine. A test is end-to-end when its code reaches a browser library, such as Selenium or Playwright; a unit test is diagnosed but not repaired. Maven and Gradle validation isn't available on Windows.

It diagnoses the reports of other frameworks it reads, such as Jest, Vitest, and Allure, and doesn't repair them. See Supported frameworks.

What if the failure is a real bug in my app?

Then KwikQA says so. A repair needs positive evidence that the fault belongs to test code. When the evidence points at the application or the environment, you get the diagnosis and where to look, and no patch.

Can it run in CI?

Yes. npx kwikqa ci, or the KwikQA Action on GitHub, diagnoses a failed run with a token from your dashboard and writes the failure report. On GitHub Actions, Azure Pipelines, GitLab CI/CD, and Jenkins it also posts a summary on the pull request, and on any CI system it can post to Slack or Microsoft Teams. With a policy you commit, kwikqa fix also repairs a failing test in the job, validates the repair, and opens it as a draft pull request for a person to merge. Until the paid plans open, CI isn't limited by plan. Once they open, your plan sets where CI runs: Hobby analyzes CI runs locally, Pro and BYOK run hosted CI on one repository of your own a month, and the team plans run it on organization repositories. Hobby doesn't open draft pull requests. See Running in CI.

Can it check test changes my coding agent makes?

Yes. npx kwikqa check holds a change KwikQA didn't write, such as a coding agent's or Playwright's healer's, to the same gates as its own repairs: scope and policy, ownership by an earlier analysis of the failing run, and validation by rerunning the tests it touches. It sends nothing to KwikQA and counts nothing toward your plan, and in CI it can be a required pull request check. See Validate test repairs.

Which AI models does it use?

Hosted plans use models from Anthropic and OpenAI, chosen for each task and reached through OpenRouter on Google Cloud Vertex AI and Microsoft Azure, with zero data retention. Before anything is sent, each request's preview names the exact model that will answer it. On BYOK plans you choose your own.

What counts toward my monthly limits?

One analysis is one diagnosis sent to the AI. One fix is one repair attempt, validated by npx kwikqa validate, and its one retry is included. Requests you decline, local-only analysis, and requests that fail before an answer arrives don't count. Plans and usage has the details.

Run it on your next red build

Install, sign in, and analyze the failures you already have.