From 9e16007c05d44abdddc2b76afad973897c6fc5ce Mon Sep 17 00:00:00 2001 From: Alex Johansson Date: Wed, 20 Oct 2021 16:18:50 +0200 Subject: [PATCH] add e2e test retries (#1011) --- playwright/booking-pages.test.ts | 1 + playwright/event-types.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/playwright/booking-pages.test.ts b/playwright/booking-pages.test.ts index 45feb3bf..f61c52b8 100644 --- a/playwright/booking-pages.test.ts +++ b/playwright/booking-pages.test.ts @@ -3,6 +3,7 @@ import { kont } from "kont"; import { pageProvider } from "./lib/pageProvider"; jest.setTimeout(60e3); +jest.retryTimes(3); describe("free user", () => { const ctx = kont() diff --git a/playwright/event-types.test.ts b/playwright/event-types.test.ts index 83f7944c..0eb0be8b 100644 --- a/playwright/event-types.test.ts +++ b/playwright/event-types.test.ts @@ -4,6 +4,7 @@ import { loginProvider } from "./lib/loginProvider"; import { randomString } from "./lib/testUtils"; jest.setTimeout(60e3); +jest.retryTimes(3); describe("pro user", () => { const ctx = kont()