Skip to content

Commit b263883

Browse files
committed
increase workers
1 parent 74c3223 commit b263883

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/playwright_asset_exchange.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
project:
2727
- treasury-dashboard
2828
- infinex
29-
- treasury-testing
3029

3130
steps:
3231
- name: Checkout repository

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ async function approveProposal({
208208
});
209209
});
210210
if (showInsufficientBalanceModal) {
211-
await expect(page.getByText("Insufficient Balance")).toBeVisible();
211+
await expect(page.getByText("Insufficient Balance")).toBeVisible({
212+
timeout: 10_000,
213+
});
212214
await page.getByRole("button", { name: "Proceed Anyway" }).click();
213215
}
214216
const transactionResult = await sandbox.account.functionCall({
@@ -273,7 +275,7 @@ test.describe("Should vote on exchange proposal using sandbox RPC and show updat
273275
instanceAccount,
274276
daoAccount,
275277
}) => {
276-
test.setTimeout(300_000);
278+
test.setTimeout(400_000);
277279
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
278280
await mockWithFTBalance({ page, daoAccount, isSufficient: true });
279281

@@ -294,7 +296,7 @@ test.describe("Should vote on exchange proposal using sandbox RPC and show updat
294296
instanceAccount,
295297
daoAccount,
296298
}) => {
297-
test.setTimeout(300_000);
299+
test.setTimeout(400_000);
298300
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
299301
await page.goto(`/${instanceAccount}/widget/app?page=asset-exchange&id=0`);
300302
await mockWithFTBalance({ page, daoAccount, isSufficient: false });
@@ -320,7 +322,7 @@ test.describe("Should vote on exchange proposal using sandbox RPC and show updat
320322
instanceAccount,
321323
daoAccount,
322324
}) => {
323-
test.setTimeout(300_000);
325+
test.setTimeout(400_000);
324326
const sandbox = await setupSandboxAndCreateProposal({ daoAccount, page });
325327
await mockWithFTBalance({ page, daoAccount, isSufficient: true });
326328

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
/* Retry on CI only */
2727
retries: process.env.CI ? 4 : 0,
2828
/* Opt out of parallel tests on CI. */
29-
workers: process.env.CI ? 4 : undefined, // Run tests in parallel with 4 workers
29+
workers: process.env.CI ? 6 : undefined, // Run tests in parallel with 6 workers
3030
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
3131
reporter: "line",
3232
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */

0 commit comments

Comments
 (0)