From 88695be3979f580eb76b886bb9be46660174ac90 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 23 Jun 2022 09:36:33 +0200 Subject: [PATCH] test: unflake launcher CR extensions test (#15064) chore: unflake launcher CR extensions test --- tests/library/chromium/launcher.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/library/chromium/launcher.spec.ts b/tests/library/chromium/launcher.spec.ts index 9bcf51b092..81893c69f5 100644 --- a/tests/library/chromium/launcher.spec.ts +++ b/tests/library/chromium/launcher.spec.ts @@ -118,6 +118,7 @@ it('should support request/response events when using backgroundPage()', async ( const backgroundPage = backgroundPages.length ? backgroundPages[0] : await context.waitForEvent('backgroundpage'); + await backgroundPage.waitForURL(/chrome-extension\:\/\/.*/); const [, request, response, contextRequest, contextResponse] = await Promise.all([ backgroundPage.evaluate(url => fetch(url, { method: 'POST',