playwright/tests/playwright-test
Dmitry Gozman de85d8bb83
fix(test runner): do not special case test.fail (#8447)
This makes `test.fail` tests considered as passing when they actually fail:
- Stop restarting the worker.
- Retry when it passes instead of a fail.
- Behaves similar to regular tests in a `describe.serial` suite.
2021-08-25 12:19:50 -07:00
..
assets feat(test-runner): add webServer (#7368) 2021-07-07 20:19:42 +02:00
entry fix(test-runner): work with .mjs files (#7373) 2021-06-29 15:28:41 -07:00
access-data.spec.ts feat(test-runner): introduce attachments (#7685) 2021-07-16 13:48:37 -07:00
base-reporter.spec.ts feat(test runner): show failure details for flaky test runs (#8332) 2021-08-19 18:20:53 -07:00
basic.spec.ts feat(test runner): test.skip(title, testFunction) syntax (#7922) 2021-07-29 14:33:37 -07:00
config.spec.ts chore(test-runner): remove the notion of Spec (#7661) 2021-07-15 22:02:10 -07:00
dot-reporter.spec.ts feat(test runner): show failure details for flaky test runs (#8332) 2021-08-19 18:20:53 -07:00
exit-code.spec.ts fix(test runner): do not special case test.fail (#8447) 2021-08-25 12:19:50 -07:00
expect.spec.ts fix(test-runner): set expand: false for expect. (#7722) 2021-07-19 11:59:53 -05:00
fixture-errors.spec.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
fixtures.spec.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
gitignore.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
global-setup.spec.ts feat(test-runner): use require.resolve for globalSetup and globalTeardown (#7752) 2021-07-20 15:13:40 -05:00
golden.spec.ts fix(test-runner): do not attach non-existent diff (#8297) 2021-08-20 13:40:27 -07:00
hooks.spec.ts fix(test runner): afterAll error should not mask beforeAll error (#8358) 2021-08-23 09:21:40 -07:00
json-reporter.spec.ts fix(test-runner): sharding tests does not show a lot of skips (#7708) 2021-07-27 11:04:38 -07:00
junit-reporter.spec.ts feat(junit reporter): add attachments to stdout (#8059) 2021-08-06 15:47:54 -07:00
line-reporter.spec.ts feat(test runner): show failure details for flaky test runs (#8332) 2021-08-19 18:20:53 -07:00
list-mode.spec.ts fix(test-runner): do not list tests to stdout when JSON reporter is used (#7730) 2021-07-20 01:10:43 +02:00
list-reporter.spec.ts feat(test-runner): render step titles (#8270) 2021-08-17 16:41:36 -07:00
loader.spec.ts feat(test-runner): support esm modules in more places (#7542) 2021-07-12 11:59:58 -05:00
match-grep.spec.ts test(test-runner): add tests to show that grep is case insensitive (#8091) 2021-08-09 14:05:51 -04:00
max-failures.spec.ts fix(test runner): make obtainWorker() resolve with null when stopping (#8018) 2021-08-05 15:00:00 -07:00
override-timeout.spec.ts test(test-runner): unflake override-timeout.spec.ts (#7869) 2021-07-29 13:34:46 -07:00
playwright-test-fixtures.ts feat(test runner): show stdio for failures in terminal reporters (#8150) 2021-08-11 16:44:19 -07:00
playwright-test.config.ts fix(test-runner): property handle artifacts in context of preserveOutput (#7181) 2021-06-16 16:05:30 -07:00
playwright.artifacts.spec.ts fix(test-runner): use describe name in output dir (#8282) 2021-08-24 10:33:40 -04:00
playwright.expect.misc.spec.ts fix(reporter): group fixture initialization under before hooks (#8072) 2021-08-12 07:58:00 -07:00
playwright.expect.text.spec.ts chore(expect): polish matcher names, remote arguable ones (#8060) 2021-08-06 16:58:42 -07:00
playwright.expect.true.spec.ts chore(expect): polish matcher names, remote arguable ones (#8060) 2021-08-06 16:58:42 -07:00
playwright.spec.ts fix(test runner): make sure options, trace and screenshot apply to all contexts (#8083) 2021-08-09 18:09:11 -07:00
repeat-each.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
reporter.spec.ts fix(test runner): avoid internal error for step end without begin (#8327) 2021-08-19 17:04:09 -07:00
retry.spec.ts fix(test runner): do not special case test.fail (#8447) 2021-08-25 12:19:50 -07:00
runner.spec.ts feat(test runner): file scope fixtures (#7969) 2021-08-04 21:11:02 -07:00
shard.spec.ts fix(test runner): disallow use(workerFixture) in describes (#8119) 2021-08-10 16:32:32 -07:00
stdio.spec.ts feat(test runner): show failure details for flaky test runs (#8332) 2021-08-19 18:20:53 -07:00
test-extend.spec.ts feat(test-runner): do only allow unique spec titles per suite (#7300) 2021-06-28 22:13:35 +02:00
test-ignore.spec.ts feat(test-runner): allow to focus a test in a location (#7208) 2021-06-24 10:02:34 +02:00
test-info.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-modifiers.spec.ts feat(test runner): test.skip(title, testFunction) syntax (#7922) 2021-07-29 14:33:37 -07:00
test-output-dir.spec.ts fix(test-runner): use describe name in output dir (#8282) 2021-08-24 10:33:40 -04:00
test-serial.spec.ts fix(test runner): do not special case test.fail (#8447) 2021-08-25 12:19:50 -07:00
test-use.spec.ts fix(test runner): disallow use(workerFixture) in describes (#8119) 2021-08-10 16:32:32 -07:00
timeout.spec.ts feat(test runner): support test.setTimeout for the whole block (#7387) 2021-06-29 13:33:13 -07:00
types-2.spec.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
types.spec.ts fix(types): allow specifying scope when overriding fixtures (#8139) 2021-08-11 10:44:15 -07:00
web-server.spec.ts feat(test-runner): re-enable web server (#7906) 2021-08-03 23:24:14 +02:00
worker-index.spec.ts fix(test runner): do not special case test.fail (#8447) 2021-08-25 12:19:50 -07:00