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
Create a rule that throws an error when an await is not provided on a promise returned from the testController.
Problem & Goal
If the t: TestController provided in the test case is not awaited properly the test will resolve with no errors before the promise has been resolved. This can cause issues with any actions taken on the webpage or with assertions.
Ensure all tests use the TestController object and methods effectively for TestCafe tests.
Expected behavior
The text was updated successfully, but these errors were encountered:
Feature Request
Create a rule that throws an error when an
await
is not provided on a promise returned from the testController.Problem & Goal
If the
t: TestController
provided in the test case is not awaited properly the test will resolve with no errors before the promise has been resolved. This can cause issues with any actions taken on the webpage or with assertions.Ensure all tests use the TestController object and methods effectively for TestCafe tests.
Expected behavior
The text was updated successfully, but these errors were encountered: