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
What do you think about the rule which should warn about missing custom error messages? I'm not very familiar with rule creation and what rules are ok/not ok so just putting it as a suggestion now.
What do you think about the rule which should warn about missing custom error messages? I'm not very familiar with rule creation and what rules are ok/not ok so just putting it as a suggestion now.
Docs: https://playwright.dev/docs/test-assertions#custom-expect-message
+ Good await expect(page.locator('text=Name'), 'should be logged in').toBeVisible()
- Bad await expect(page.locator('text=Name')).toBeVisible()
+ Good await expect.soft(page.locator('text=Name'), 'should be logged in').toBeVisible()
- Bad await expect.soft(page.locator('text=Name')).toBeVisible()
The text was updated successfully, but these errors were encountered: