Skip to content

The Open Source DocuSign Alternative.

chore: update tests

Mythie7e6704faaef0
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 },