Your Playwright tests, checked by Delta-QA. One line per page to check.
Add one line to your Playwright tests: Delta-QA compares each page as the human eye would and names what changed.
In early access: contact us to use it on your tests.
Three steps in your tests
- Create an API key in your Delta-QA workspace and store it in a CI secret. The SDK reads it from
DELTAQA_API_KEY; the workspace is the key's. - Add a check where your test must verify the page:
checkout.check("Payment"). Its name, unique in the test, matches it with its baseline. - Push. On the first run, every test is "New": its first screenshot becomes the baseline. On the second, with the site unchanged, no difference is reported.
import { test } from "@delta-qa/vision/fixture";
test("Checkout", async ({ page, vision }) => {
const checkout = await vision.open(page, { id: "checkout", name: "Checkout" });
await page.goto("https://shop.example.com/checkout");
await checkout.check("Payment");
}); // closed by the fixture: fails the test on a difference to judgeThe SDK exposes only settings Delta-QA applies: none is accepted without effect. The branch, the base branch and the commit tested are optional, and the SDK never guesses them: your test gives them.
A comparison that simulates the human eye, not pixels
For each check, Delta-QA compares the page with its baseline the way a human eye would, like a scenario step: the report says which element changed — the "Pay" button, blue then green — not a pixel area.
A difference to judge fails the Playwright test, and the error message gives its link in Delta-QA. You open the step, read the report and decide: "Intended" or "Bug".
From the second run on, your runs stay fast.
One baseline per branch, no automatic merge
- Your test gives the branch, its base branch and the commit:
open(page, { branch, baseBranch, commit }), from the variables of your CI. The SDK reads neither git nor the CI. A suite migrated from Applitools keepsAPPLITOOLS_BRANCH,APPLITOOLS_PARENT_BRANCHandAPPLITOOLS_BATCH_ID. A new branch is compared with the baseline of its base branch from its first run. - "Intended" applies to the branches you tick, "this branch" by default: other branches see nothing change.
- A test's history filters by environment and by branch; any run can be set as the baseline, for the branches you tick.
- The tests run on one commit form a version, shared by machines running in parallel that give the same commit; the list of versions reads like your CI.
Questions about the Vision SDK
Which frameworks does the Vision SDK cover?
Do I have to rewrite my Playwright tests?
What data does the SDK send?
Do my no-code scenarios change?
Can I use it from another language?
Have Delta-QA check your Playwright tests
To use Vision, contact us: it is first available in early access. Tell us which tests you want checked, and we open your access.