Skip to content

Commit 6ac6ba3

Browse files
committed
reduce timeout and retries
1 parent 07d4542 commit 6ac6ba3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

playwright-tests/tests/asset-exchange/proposal-details.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ test.describe
276276
instanceAccount,
277277
daoAccount,
278278
}) => {
279-
test.setTimeout(600_000);
279+
test.setTimeout(300_000);
280280
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
281281
await mockWithFTBalance({ page, daoAccount, isSufficient: true });
282282

@@ -297,7 +297,7 @@ test.describe
297297
instanceAccount,
298298
daoAccount,
299299
}) => {
300-
test.setTimeout(600_000);
300+
test.setTimeout(300_000);
301301
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
302302
await page.goto(`/${instanceAccount}/widget/app?page=asset-exchange&id=0`);
303303
await mockWithFTBalance({ page, daoAccount, isSufficient: false });
@@ -323,7 +323,7 @@ test.describe
323323
instanceAccount,
324324
daoAccount,
325325
}) => {
326-
test.setTimeout(600_000);
326+
test.setTimeout(300_000);
327327
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
328328
await mockWithFTBalance({ page, daoAccount, isSufficient: true });
329329

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default defineConfig({
2424
fullyParallel: true /* Fail the build on CI if you accidentally left test.only in the source code. */,
2525
forbidOnly: !!process.env.CI,
2626
/* Retry on CI only */
27-
retries: process.env.CI ? 4 : 0,
27+
retries: process.env.CI ? 1 : 0,
2828
/* Opt out of parallel tests on CI. */
2929
workers: process.env.CI ? 6 : undefined, // Run tests in parallel with 6 workers
3030
/* Reporter to use. See https://playwright.dev/docs/test-reporters */

0 commit comments

Comments
 (0)