mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Tests temps d'attente
This commit is contained in:
parent
2e01794fff
commit
fba94dd476
@ -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 () => {
|
||||
|
Loading…
Reference in New Issue
Block a user