Fallback baselines
Compare a new screenshot against an existing one so variants and A/B tests show real changes instead of appearing as brand new screenshots.
The problem
home.png # variant A, the page you already ship
home-variant-b.png # variant B, the one being testedSet fallback baselines
await argosScreenshot(page, "home-variant-b", {
baseName: ["home-variant-b", "home"],
});cy.argosScreenshot("home-variant-b", {
baseName: ["home-variant-b", "home"],
});await argosScreenshot(page, "home-variant-b", {
baseName: ["home-variant-b", "home"],
});await argosScreenshot("home-variant-b", {
baseName: ["home-variant-b", "home"],
});Other uses
How the comparison is reported
Single-name override
Without an SDK
Last updated
Was this helpful?