From f105409c6772579c665ddb881e41d9cb141c0d45 Mon Sep 17 00:00:00 2001 From: Alex Taing Date: Wed, 25 Oct 2023 09:52:07 -0400 Subject: [PATCH] readd playwright tests --- e2e-tests/playwright.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e-tests/playwright.config.ts b/e2e-tests/playwright.config.ts index 4f09ce889..457223261 100644 --- a/e2e-tests/playwright.config.ts +++ b/e2e-tests/playwright.config.ts @@ -1,5 +1,6 @@ import { PlaywrightTestConfig, expect } from "@playwright/test"; import fs from "node:fs"; +import os from "node:os"; expect.extend({ async toHaveContents(filepath: string, expectedContents: string) { @@ -51,7 +52,7 @@ const config: PlaywrightTestConfig = { video: "on", }, workers: 1, - ignoreSnapshots: true, + ignoreSnapshots: os.platform() !== "darwin", }; export default config;