Closed
Description
Playwright assertions (https://playwright.dev/docs/test-assertions) are split into auto-retrying assertions and non-retrying assertions.
A new rule can be created perhaps with the name no-useless-await-expect
that would disallow unnecessary awaits for Playwright expects.
Example of incorrect code:
await expect(true).toBeTruthy()
Example of correct code:
expect(true).toBeTruthy()