From 0adba80e6fef9e2a08a911c7131fb4cdeca0ea2d Mon Sep 17 00:00:00 2001 From: jamesmaa Date: Tue, 29 Oct 2024 11:31:39 -0700 Subject: [PATCH] Change timeout --- test/playwright/integration.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/playwright/integration.spec.js b/test/playwright/integration.spec.js index b9f5170002..ca4ef694df 100644 --- a/test/playwright/integration.spec.js +++ b/test/playwright/integration.spec.js @@ -73,7 +73,7 @@ test('anki add', async ({context, page, extensionId}) => { mimeType: 'application/x-zip', buffer: Buffer.from(dictionary), }); - await expect(page.locator('id=dictionaries')).toHaveText('Dictionaries (1 installed, 1 enabled)', {timeout: 5 * 60 * 1000}); + await expect(page.locator('id=dictionaries')).toHaveText('Dictionaries (1 installed, 1 enabled)', {timeout: 1 * 60 * 1000}); // Connect to anki await page.locator('.toggle', {has: page.locator('[data-setting="anki.enable"]')}).click();