From 4e77741d22778bd09b772fc53f1cbd64107e3d24 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 16 Feb 2024 19:37:01 -0500 Subject: Even more eslint rules (#696) * capitalized-comments * Turn rules on * Add miscellaneous rules * More rules --- test/playwright/integration.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/playwright/integration.spec.js') diff --git a/test/playwright/integration.spec.js b/test/playwright/integration.spec.js index 170714a1..06af3fd2 100644 --- a/test/playwright/integration.spec.js +++ b/test/playwright/integration.spec.js @@ -31,13 +31,13 @@ import { test.beforeEach(async ({context}) => { // Wait for the on-install welcome.html tab to load, which becomes the foreground tab const welcome = await context.waitForEvent('page'); - await welcome.close(); // close the welcome tab so our main tab becomes the foreground tab -- otherwise, the screenshot can hang + await welcome.close(); // Close the welcome tab so our main tab becomes the foreground tab -- otherwise, the screenshot can hang }); test('search clipboard', async ({page, extensionId}) => { await page.goto(`chrome-extension://${extensionId}/search.html`); await page.locator('#search-option-clipboard-monitor-container > label').click(); - await page.waitForTimeout(200); // race + await page.waitForTimeout(200); // Race await writeToClipboardFromPage(page, 'あ'); await expect(page.locator('#search-textbox')).toHaveValue('あ'); -- cgit v1.2.3