1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-04 23:12:25 +02:00

Tests temps d'attente

This commit is contained in:
Vincent LAURENT 2021-11-08 01:02:06 +01:00
parent 2e01794fff
commit fba94dd476

View file

@ -198,7 +198,7 @@ describe("Signature d'un pdf", () => {
it("Téléchargement du pdf signé", async () => {
await page._client.send('Page.setDownloadBehavior', {behavior: 'allow', downloadPath: './tests/downloads'});
await page.click("#save");
await page.waitForTimeout(500);
await page.waitForTimeout(600);
await expect(require('fs').existsSync('./tests/downloads/document_signe.pdf')).toBe(true);
});
afterAll(async () => {