mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
chore: update tests
This commit is contained in:
@ -57,6 +57,8 @@ test.describe('Signing Certificate Tests', () => {
|
|||||||
expect(status).toBe(DocumentStatus.COMPLETED);
|
expect(status).toBe(DocumentStatus.COMPLETED);
|
||||||
}).toPass();
|
}).toPass();
|
||||||
|
|
||||||
|
await page.waitForTimeout(2500);
|
||||||
|
|
||||||
// Get the completed document
|
// Get the completed document
|
||||||
const completedDocument = await prisma.document.findFirstOrThrow({
|
const completedDocument = await prisma.document.findFirstOrThrow({
|
||||||
where: { id: document.id },
|
where: { id: document.id },
|
||||||
@ -127,6 +129,8 @@ test.describe('Signing Certificate Tests', () => {
|
|||||||
expect(status).toBe(DocumentStatus.COMPLETED);
|
expect(status).toBe(DocumentStatus.COMPLETED);
|
||||||
}).toPass();
|
}).toPass();
|
||||||
|
|
||||||
|
await page.waitForTimeout(2500);
|
||||||
|
|
||||||
// Get the completed document
|
// Get the completed document
|
||||||
const completedDocument = await prisma.document.findFirstOrThrow({
|
const completedDocument = await prisma.document.findFirstOrThrow({
|
||||||
where: { id: document.id },
|
where: { id: document.id },
|
||||||
@ -197,6 +201,8 @@ test.describe('Signing Certificate Tests', () => {
|
|||||||
expect(status).toBe(DocumentStatus.COMPLETED);
|
expect(status).toBe(DocumentStatus.COMPLETED);
|
||||||
}).toPass();
|
}).toPass();
|
||||||
|
|
||||||
|
await page.waitForTimeout(2500);
|
||||||
|
|
||||||
// Get the completed document
|
// Get the completed document
|
||||||
const completedDocument = await prisma.document.findFirstOrThrow({
|
const completedDocument = await prisma.document.findFirstOrThrow({
|
||||||
where: { id: document.id },
|
where: { id: document.id },
|
||||||
|
|||||||
Reference in New Issue
Block a user