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
Actual
Only one test in the report (should pass test). And it marked as failed with error message: Expected to fail, but passed (Image is attached).
[Describe actual behavior]
The text was updated successfully, but these errors were encountered:
elena-golovkova
changed the title
[BUG] test.fail() skips test that should be failed anf expects other test to fail
[BUG] test.fail() skips test that should be failed and expects other test to fail
Jan 22, 2024
yury-s
added a commit
to yury-s/playwright
that referenced
this issue
Jan 23, 2024
System info
Source code
Steps
Precondition: test.describe with 2 tests. One should pass, other should fail.
Expected
1 test pass, 1 test marked as fail
Actual
Only one test in the report (should pass test). And it marked as failed with error message: Expected to fail, but passed (Image is attached).
[Describe actual behavior]
The text was updated successfully, but these errors were encountered: