Browse Source

test(playwright): increase timeout

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
620af08872
  1. 2
      tests/playwright/pages/Base.ts
  2. 2
      tests/playwright/playwright.config.ts

2
tests/playwright/pages/Base.ts

@ -46,7 +46,7 @@ export default abstract class BasePage {
);
},
{
timeout: 60000,
timeout: 120000,
}
);

2
tests/playwright/playwright.config.ts

@ -34,7 +34,7 @@ export default defineConfig({
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 10000,
actionTimeout: 60000,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http://localhost:3000',

Loading…
Cancel
Save