Skip to content

Commit f847d43

Browse files
committed
test(server): fix extension e2e test error from serviceworker timeout
1 parent 67a3bd9 commit f847d43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/extension/features/steps/fixtures.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const test = base.extend<Fixtures>({
1212
context: async ({ }, use) => {
1313
const context = await chromium.launchPersistentContext("", {
1414
headless: true,
15-
timeout: 30000,
15+
timeout: 60000,
1616
args: [
1717
`--disable-extensions-except=${pathToExtension}`,
1818
`--load-extension=${pathToExtension}`,
@@ -24,7 +24,7 @@ export const test = base.extend<Fixtures>({
2424
extensionId: async ({ context }, use) => {
2525
let background: { url(): string };
2626
if (pathToExtension.endsWith("-mv3")) {
27-
const swPromise = context.waitForEvent("serviceworker", { timeout: 60000 });
27+
const swPromise = context.waitForEvent("serviceworker", { timeout: 120000 });
2828
const serviceWorkers = context.serviceWorkers();
2929
if (serviceWorkers.length > 0) {
3030
background = serviceWorkers[0];

0 commit comments

Comments
 (0)