From bd4aed86843e431ab7d799c5fbb47fc907411d37 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Tue, 27 Feb 2024 17:35:31 +0000 Subject: [PATCH] sleep --- website/src/components/ReviewPage/ReviewPage.spec.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/src/components/ReviewPage/ReviewPage.spec.tsx b/website/src/components/ReviewPage/ReviewPage.spec.tsx index 7afb31ea2..b75b27c03 100644 --- a/website/src/components/ReviewPage/ReviewPage.spec.tsx +++ b/website/src/components/ReviewPage/ReviewPage.spec.tsx @@ -130,6 +130,9 @@ describe('ReviewPage', () => { expect(getByText("Confirm")).toBeDefined(); }); getByText((text) => text.includes('Confirm')).click(); + + await new Promise((r) => setTimeout(r, 100)); + getByText((text) => text.includes('Release 1 sequences without errors')).click(); await waitFor(() => { expect(getByText("Confirm")).toBeDefined();