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
Make it possible to set up 'maxFailures' within the project in the config file
Here is an example: { name: 'setup', testMatch: /.*\.setup\.ts/, testDir: './tests', maxFailures: 2 },
Example
This setting will allow us to avoid running, for example, all the authorization tests in the setup file used as a dependency for the main project tests.
When this can be useful:
For instance, before testing, we perform 20 authorizations for different user types in a single application. The authorization goes through the UI, and there’s a bug in the UI. If the very first authorization test fails, the main project tests won’t be executed, but the remaining 19 authorization tests will still run, which, considering retries, will take a significant amount of time.
Motivation
It would be much more efficient to stop the execution after the first failure and analyze it as quickly as possible. This is especially important on the CI.
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
Make it possible to set up 'maxFailures' within the project in the config file
Here is an example:
{ name: 'setup', testMatch: /.*\.setup\.ts/, testDir: './tests', maxFailures: 2 },
Example
This setting will allow us to avoid running, for example, all the authorization tests in the setup file used as a dependency for the main project tests.
When this can be useful:
For instance, before testing, we perform 20 authorizations for different user types in a single application. The authorization goes through the UI, and there’s a bug in the UI. If the very first authorization test fails, the main project tests won’t be executed, but the remaining 19 authorization tests will still run, which, considering retries, will take a significant amount of time.
Motivation
It would be much more efficient to stop the execution after the first failure and analyze it as quickly as possible. This is especially important on the CI.
The text was updated successfully, but these errors were encountered: