Skip to content

Commit 61d1cb7

Browse files
committed
test(e2e): wait for Vue app to load before running tests
Signed-off-by: Vitor Mattos <[email protected]>
1 parent f651778 commit 61d1cb7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

playwright/e2e/sign-herself-with-click-to-sign.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ test('sign herself with click to sign', async ({ page }) => {
3232
]),
3333
)
3434

35-
await page.goto('./apps/libresign');
35+
await page.goto('./apps/libresign')
36+
await page.waitForLoadState('networkidle')
3637
await page.getByRole('button', { name: 'Upload from URL' }).click();
3738
await page.getByRole('textbox', { name: 'URL of a PDF file' }).fill('https://raw.githubusercontent.com/LibreSign/libresign/main/tests/php/fixtures/pdfs/small_valid.pdf');
3839
await page.getByRole('button', { name: 'Send' }).click();

0 commit comments

Comments
 (0)