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
The new eslint plugin for playwright advocates for navigation waits on 'domcontendloaded' over 'networkidle' for good reasons: mostly to prevent laziness and flakiness.
In our case, we have network tests which explicit need to catch the number of returned network responses/requests and the only deterministic way to do that is through 'networkidle'.
Keep linting rule in place
Override per network test
Introduce @network annotation to tests which involve real network requests
The text was updated successfully, but these errors were encountered:
Summary
The new eslint plugin for playwright advocates for navigation waits on 'domcontendloaded' over 'networkidle' for good reasons: mostly to prevent laziness and flakiness.
In our case, we have network tests which explicit need to catch the number of returned network responses/requests and the only deterministic way to do that is through 'networkidle'.
The text was updated successfully, but these errors were encountered: