Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

✅ Remove flaky test (#1320)

Luke Vella8156dfd0a347
diff --git a/apps/web/tests/timezone-change.spec.ts b/apps/web/tests/timezone-change.spec.ts
index 55c565f94..d25759403 100644
--- a/apps/web/tests/timezone-change.spec.ts
+++ b/apps/web/tests/timezone-change.spec.ts
@@ -16,21 +16,6 @@ test.describe("Timezone Change", () => {
await expect(modal).toBeHidden();
});
- test("does not show modal if stored timezone matches current timezone", async ({
- page,
- }) => {
- const currentTimeZone = await page.evaluate(
- () => Intl.DateTimeFormat().resolvedOptions().timeZone,
- );
- await page.evaluate(
- (tz) => localStorage.setItem("previousTimeZone", tz),
- currentTimeZone,
- );
- await page.reload();
- const modal = page.locator("text=Timezone Change Detected");
- await expect(modal).toBeHidden();
- });
-
test("shows modal if stored timezone is different from current timezone", async ({
page,
}) => {