-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Clear and concise description of the problem
Running test suites in CI is quite different from running them on a local machine. CI is quite often slower and locators take more than the default 1000ms to locate elements or to perform actions (click, hover, etc).
It's possible to define a specific timeout for an expect or a locator.click for example but it would be nice to be able to set larger timeouts at a config level for when the tests run in CI.
Suggested solution
add new properties in the browser config for the following:
- actionTimeout - optional and number
- expectTimeout - optional and number
This would under the hood configure the correct provider configurations if possible.
Here's doc ref to Playwright test configuration
Alternative
Allow full customisation of test configuration.
Right now we're allowed to extend launch options and browser context options on playwright for example but we could extend this configuration to Test Options
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.