Skip to content

Commit 748e7c0

Browse files
Sebastian Fellner 💯Sebastian Fellner 💯
authored andcommitted
test: drop platform-dependent visual snapshots
1 parent 8c223c3 commit 748e7c0

4 files changed

Lines changed: 0 additions & 13 deletions

File tree

playwright.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ module.exports = defineConfig({
1414
ignoreHTTPSErrors: true,
1515
trace: "retain-on-failure",
1616
},
17-
expect: {
18-
toHaveScreenshot: {
19-
animations: "disabled",
20-
maxDiffPixelRatio: 0.01,
21-
},
22-
},
2317
projects: [
2418
{
2519
name: "desktop-chromium",

tests/e2e/home.spec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ test("renders the analyzer landing page", async ({ page }) => {
2222
page.getByText("Analyze your WhatsApp Chat in Seconds", { exact: true })
2323
).toBeVisible();
2424
await expect(page.locator("#uploadmytextfile")).toBeAttached();
25-
26-
await page.addStyleTag({
27-
content: ".amcharts-chart-div { visibility: hidden !important; }",
28-
});
29-
await expect(page.locator(".top-color")).toHaveScreenshot(
30-
"analyzer-landing.png"
31-
);
3225
});
3326

3427
test("analyzes the example chat without uploading its contents", async ({
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)