You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, globalTimeout applies to the entire test run across all projects. However, in scenarios where multiple projects run in parallel, we may need different timeout limits for different projects.
For example, a Chromium-based project may require a longer execution time due to UI-heavy workflows, while a Firefox project may need a shorter timeout due to fewer test cases. Currently, the only workaround is to run each project separately with --global-timeout, which is not ideal for teams managing multiple projects in a single test suite.
Example
Allow globalTimeout to be set at the project level in playwright.config.js, similar to how timeout works for individual tests.
@kathiresan-r-19912 How do you imagine this feature work when one project reaches its global timeout? Does the testing continue with other projects? Does everything fail? Please be more specific on the details.
🚀 Feature Request
Currently, globalTimeout applies to the entire test run across all projects. However, in scenarios where multiple projects run in parallel, we may need different timeout limits for different projects.
For example, a Chromium-based project may require a longer execution time due to UI-heavy workflows, while a Firefox project may need a shorter timeout due to fewer test cases. Currently, the only workaround is to run each project separately with --global-timeout, which is not ideal for teams managing multiple projects in a single test suite.
Example
Allow globalTimeout to be set at the project level in playwright.config.js, similar to how timeout works for individual tests.
export default defineConfig({ projects: [ { name: 'chromium-tests', use: { ...devices['Desktop Chrome'] }, globalTimeout: 15 * 60 * 1000 // 15 minutes }, { name: 'firefox-tests', use: { ...devices['Desktop Firefox'] }, globalTimeout: 10 * 60 * 1000 // 10 minutes } ] });
Motivation
The text was updated successfully, but these errors were encountered: