chore: update tests

This commit is contained in:
Mythie
2025-04-21 16:23:50 +10:00
parent cf17fc61bc
commit 7e6704faae

View File

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