playwright/tests/playwright-test
Dmitry Gozman 5e3ad63b42
fix(test runner): do not write missing snapshot until the last retry (#9246)
This prevents future retries from passing because of the actual
snapshot being written.

In theory, we can avoid running the retry since it should fail anyway.
However, this brings problems, for example in the `describe.serial` mode
where running a test also has some side effects and so it should not be
skipped. Since running a test without a snapshot is rare, it should be
fine to retry it.
2021-09-30 16:44:52 -07:00
..
assets feat(test-runner): add webServer (#7368) 2021-07-07 20:19:42 +02:00
entry fix(test): make use in config accept option values only (#8828) 2021-09-13 17:50:31 -07:00
stable-test-runner test: use ToT test runner for non-test-runner tests (#8671) 2021-09-03 11:22:25 -07:00
access-data.spec.ts feat(test-runner): introduce attachments (#7685) 2021-07-16 13:48:37 -07:00
attachment-reporter.spec.ts feat(report): render attachment as a part of failure (#8903) 2021-09-13 18:07:40 -07:00
base-reporter.spec.ts fix(test runner): account for errors with inconsistent stack/message (#8950) 2021-09-15 21:28:36 -07:00
basic.spec.ts fix(test runner): report unhandled rejections during worker teardown (#8592) 2021-08-31 10:50:30 -07:00
config.spec.ts feat(runner): support multiple names in project filter (#8600) 2021-09-02 09:29:55 -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 chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
expect.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
fixture-errors.spec.ts feat(test runner): collect test error from worker teardown (#9190) 2021-09-28 10:56:50 -07:00
fixtures.spec.ts feat(test runner): collect test error from worker teardown (#9190) 2021-09-28 10:56:50 -07:00
gitignore.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
global-setup.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
golden.spec.ts fix(test runner): do not write missing snapshot until the last retry (#9246) 2021-09-30 16:44:52 -07:00
hooks.spec.ts fix(test runner): report beforeAll timeout instead of hanging (#8529) 2021-08-28 07:19:45 -07:00
html-reporter.spec.ts feat(html): restore trace, video, screenshot (#8925) 2021-09-14 16:26:31 -07:00
json-reporter.spec.ts feat(reporters): Add error position to JSON Report (#9151) 2021-09-30 14:18:36 -07:00
junit-reporter.spec.ts fix(junit): produce a single system-out entry (#9091) 2021-09-22 15:28:57 -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 fix(runner): avoid line wrapping in list reporter (#8705) 2021-09-07 17:42:17 -07:00
loader.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02: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 test: introduce some common test fixtures (#9060) 2021-09-21 16:24:48 -07:00
playwright-test.config.ts test: use ToT test runner for non-test-runner tests (#8671) 2021-09-03 11:22:25 -07:00
playwright.artifacts.spec.ts chore: remove stale html experiments (#8905) 2021-09-13 20:34:46 -07:00
playwright.expect.misc.spec.ts chore: add a test for the log scale polling (#9136) 2021-09-24 12:54:33 -07:00
playwright.expect.text.spec.ts feat(expect): toContainText(array) (#9160) 2021-09-27 11:14:35 -07:00
playwright.expect.true.spec.ts fix(toBeHidden): return true to missing elements (#9205) 2021-09-28 17:11:04 -07:00
playwright.spec.ts feat(test runner): collect test error from worker teardown (#9190) 2021-09-28 10:56:50 -07:00
raw-reporter.spec.ts test: improve child process utilities in tests (#9036) 2021-09-20 17:17:12 -07:00
repeat-each.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
reporter.spec.ts chore: render expect in trace viewer (#9141) 2021-09-27 09:19:59 -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 chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02: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 test: improve child process utilities in tests (#9036) 2021-09-20 17:17:12 -07:00
test-info.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-modifiers.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
test-output-dir.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
test-parallel.spec.ts feat(test runner): describe.parallel (#8662) 2021-09-02 15:42:07 -07:00
test-serial.spec.ts fix(test runner): proper serial mode with beforeAll/afterAll failures (#9183) 2021-09-27 15:58:26 -07:00
test-step.spec.ts fix(test runner): after hooks step should not be nested (#8969) 2021-09-16 15:51:27 -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 chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
types.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
web-server.spec.ts chore(test-runner): launch -> webServer (#9167) 2021-09-27 11:32:57 +02:00
worker-index.spec.ts fix(test runner): do not special case test.fail (#8447) 2021-08-25 12:19:50 -07:00