System info
- Playwright Version: 1.38.0-alpha-aug-11-2023
- Operating System: Ubuntu 20
- Browser: All
- Other info:
Source code
Link to the GitHub repository with the repro
https://github.com/lukaw3d/playwright-skip-tests-bug
Main parts:
Expected
$ playwright test --workers 1 --reporter list
✓ 1 tests/test1.spec.ts:3:5 › test1 (145ms)
✘ 2 tests/test2.spec.ts:3:5 › test2 (expect fail) (59ms)
✓ 3 tests/test3.spec.ts:3:5 › test3 (60ms)
✓ 4 tests/test4.spec.ts:3:5 › test4 (74ms)
✓ 5 tests/test5.spec.ts:3:5 › test5 (65ms)
or
any kind of a warning or error that something went wrong
Actual
$ playwright test --workers 1 --reporter list
✓ 1 tests/test1.spec.ts:3:5 › test1 (145ms)
✘ 2 tests/test2.spec.ts:3:5 › test2 (expect fail) (59ms)
- 3 tests/test3.spec.ts:3:5 › test3
- 4 tests/test4.spec.ts:3:5 › test4
- 5 tests/test5.spec.ts:3:5 › test5
and command exists as success!
System info
Source code
Link to the GitHub repository with the repro
https://github.com/lukaw3d/playwright-skip-tests-bug
Main parts:
--workers 1Expected
$ playwright test --workers 1 --reporter list ✓ 1 tests/test1.spec.ts:3:5 › test1 (145ms) ✘ 2 tests/test2.spec.ts:3:5 › test2 (expect fail) (59ms) ✓ 3 tests/test3.spec.ts:3:5 › test3 (60ms) ✓ 4 tests/test4.spec.ts:3:5 › test4 (74ms) ✓ 5 tests/test5.spec.ts:3:5 › test5 (65ms)or
any kind of a warning or error that something went wrong
Actual
$ playwright test --workers 1 --reporter list ✓ 1 tests/test1.spec.ts:3:5 › test1 (145ms) ✘ 2 tests/test2.spec.ts:3:5 › test2 (expect fail) (59ms) - 3 tests/test3.spec.ts:3:5 › test3 - 4 tests/test4.spec.ts:3:5 › test4 - 5 tests/test5.spec.ts:3:5 › test5and command exists as success!