From 7e6704faaef0a4f61fd6b25c91f57bcc66373961 Mon Sep 17 00:00:00 2001 From: Mythie Date: Mon, 21 Apr 2025 16:23:50 +1000 Subject: [PATCH] chore: update tests --- .../e2e/features/include-document-certificate.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/app-tests/e2e/features/include-document-certificate.spec.ts b/packages/app-tests/e2e/features/include-document-certificate.spec.ts index de9ce08ea..de700a067 100644 --- a/packages/app-tests/e2e/features/include-document-certificate.spec.ts +++ b/packages/app-tests/e2e/features/include-document-certificate.spec.ts @@ -57,6 +57,8 @@ test.describe('Signing Certificate Tests', () => { expect(status).toBe(DocumentStatus.COMPLETED); }).toPass(); + await page.waitForTimeout(2500); + // Get the completed document const completedDocument = await prisma.document.findFirstOrThrow({ where: { id: document.id }, @@ -127,6 +129,8 @@ test.describe('Signing Certificate Tests', () => { expect(status).toBe(DocumentStatus.COMPLETED); }).toPass(); + await page.waitForTimeout(2500); + // Get the completed document const completedDocument = await prisma.document.findFirstOrThrow({ where: { id: document.id }, @@ -197,6 +201,8 @@ test.describe('Signing Certificate Tests', () => { expect(status).toBe(DocumentStatus.COMPLETED); }).toPass(); + await page.waitForTimeout(2500); + // Get the completed document const completedDocument = await prisma.document.findFirstOrThrow({ where: { id: document.id },