Skip to content

Commit 1452d30

Browse files
committed
fix ci timeout
1 parent b675015 commit 1452d30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-setup/utils/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const test = base.extend<
9797
{
9898
scope: 'worker',
9999
auto: true,
100-
timeout: 60 * 1000,
100+
timeout: process.env.CI ? 180 * 1000 : 60 * 1000,
101101
},
102102
],
103103
baseURL: async ({ skipPrepare, server, baseURL }, use) => {
@@ -120,7 +120,7 @@ export const test = base.extend<
120120
}
121121
await use(page)
122122
},
123-
{ scope: 'test', timeout: 60 * 1000 },
123+
{ scope: 'test', timeout: process.env.CI ? 180 * 1000 : 60 * 1000 },
124124
],
125125
})
126126

0 commit comments

Comments
 (0)