playwright/tests/playwright-test
Dmitry Gozman ee82837fb5
fix(fixtures): do not run user function when required fixture has failed (#15385)
Currently, it is possible to run a function, e.g. a second `beforeEach` hook,
that will receive `null` for the fixture that has already failed before.

This PR skips running any user function that uses a fixture that has already
failed, just like if the fixture would be initialized again and failing for
the second time.
2022-07-05 17:15:28 -07:00
..
assets feat(server): consider 3XX, 400-403 responses as started server 2022-06-10 14:47:29 -07:00
stable-test-runner chore: roll stable test-runner to 1.23.0-alpha-1655778679000 (#15015) 2022-06-21 18:53:38 +02:00
access-data.spec.ts
babel.spec.ts feat(ct): support cra w/ .js (#14326) 2022-05-24 19:43:28 -07:00
basic.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
command-line-filter.spec.ts feat(test-runner): support filtering by columns (#13401) 2022-04-07 22:45:45 +02:00
config.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
esm.spec.ts fix(esm): show codeframe when errors get reported (#15262) 2022-06-30 21:17:08 +02:00
exit-code.spec.ts
expect-poll.spec.ts feat(poll): expose custom poll interval (#13776) 2022-04-26 21:32:38 -07:00
expect-soft.spec.ts chore(test-runner): rewrite poll, soft, wrap (#13335) 2022-04-05 17:47:35 -07:00
expect.spec.ts feat(expect): ensure it works in global setup (#13896) 2022-05-03 21:53:15 +01:00
fixture-errors.spec.ts fix(fixtures): do not run user function when required fixture has failed (#15385) 2022-07-05 17:15:28 -07:00
fixtures.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
gitignore.spec.ts fix(runner): ignore .gitignore if testDir is explicitly configured (#14430) 2022-05-26 14:39:51 -07:00
global-setup.spec.ts chore: fixtures-via-plugin implementation (#13950) 2022-05-05 10:14:00 -07:00
golden.spec.ts test: fix windows paths in golden.spec (#13258) 2022-04-01 13:12:29 -07:00
hooks.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
list-mode.spec.ts fix(list mode): print errors to stderr (#13016) 2022-03-24 07:33:33 -07:00
loader.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
match-grep.spec.ts
max-failures.spec.ts
override-timeout.spec.ts
playwright-test-fixtures.ts fix(test-runner): apply fixme v. skip annotations (#15277) 2022-07-05 10:46:30 -07:00
playwright.artifacts.spec.ts test: improve a few test runner tests that time out (#15287) 2022-06-30 17:03:01 -07:00
playwright.config.spec.ts fix(config): fall back to context options (#15309) 2022-07-01 10:20:13 -07:00
playwright.config.ts test: stress runners (#15078) 2022-06-23 15:55:12 -07:00
playwright.connect.spec.ts chore: hide plugins for now (#13908) 2022-05-03 14:25:56 -07:00
playwright.ct-build.spec.ts chore: update to react18, but use react17 mode (#14645) 2022-06-06 17:14:01 -07:00
playwright.ct-react.spec.ts fix(ct): respect boolean shorthands (#14798) 2022-06-10 17:34:21 -07:00
playwright.ct-reuse.spec.ts chore: simplify context/page reuse in ct (#14565) 2022-06-02 12:16:07 -07:00
playwright.expect.misc.spec.ts test: increase small timeouts to accomodate two workers (#15257) 2022-06-30 09:05:39 -07:00
playwright.expect.text.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
playwright.expect.true.spec.ts test: increase small timeouts to accomodate two workers (#15257) 2022-06-30 09:05:39 -07:00
playwright.fetch.spec.ts
playwright.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
playwright.trace.spec.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00
playwright.unhandled.spec.ts
repeat-each.spec.ts
reporter-attachment.spec.ts feat(test-runner): introduce GlobalInfo (#13083) 2022-04-08 13:22:14 -07:00
reporter-base.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
reporter-dot.spec.ts
reporter-github.spec.ts
reporter-html.spec.ts chore: warn users on clashing test output and html reporter folders (#14964) 2022-06-18 15:47:26 -07:00
reporter-json.spec.ts fix(line reporter): print currently running test (#15339) 2022-07-05 09:07:55 -07:00
reporter-junit.spec.ts feat(junit reporter): link testcases to Xray test issues and provide additional metadata for Xray Test Management (#11374) 2022-06-10 10:31:48 +02:00
reporter-line.spec.ts fix(reporter): line reporter should not swallow half-line stdout (#15114) 2022-06-27 11:25:42 -07:00
reporter-list.spec.ts test: unflake "should truncate long test names" (#15286) 2022-06-30 20:24:00 -07:00
reporter-raw.spec.ts chore: remove defunct GlobalInfo.attach test (#13895) 2022-05-03 14:18:16 +01:00
reporter.spec.ts feat(hooks): add a step per hook (#12867) 2022-03-17 19:33:01 -07:00
resolver.spec.ts fix: resolve ts compilerOptions.paths with prefixes and suffixes (#13105) 2022-04-06 14:14:03 -07:00
retry.spec.ts
runner.spec.ts chore: respect sigint in global setup (#14805) 2022-06-12 13:06:00 -07:00
shard.spec.ts
stdio.spec.ts fix(reporters): normalize usage of isTTY, env.CI and debug env variables (#12295) 2022-02-24 12:39:28 -08:00
test-extend.spec.ts fix(test runner): ignore undefined values in fixtures definitions (#15119) 2022-06-27 11:31:41 -07:00
test-grep.spec.ts feat(test-runner): allow grepping in project (#12469) 2022-03-02 15:02:35 -08:00
test-ignore.spec.ts
test-info.spec.ts
test-modifiers.spec.ts fix(test-runner): apply fixme v. skip annotations (#15277) 2022-07-05 10:46:30 -07:00
test-output-dir.spec.ts feat: use package.json directory as a default for outputDir (#12942) 2022-03-23 16:05:49 -07:00
test-parallel.spec.ts fix(parallel): minimize the number of beforeAll/afterAll hooks in parallel mode (#13138) 2022-03-28 16:10:32 -07:00
test-serial.spec.ts feat(test runner): allow serial suites inside parallel (#14530) 2022-05-31 15:24:20 -07:00
test-step.spec.ts chore(test-runner): rewrite poll, soft, wrap (#13335) 2022-04-05 17:47:35 -07:00
test-use.spec.ts
timeout.spec.ts fix(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -07:00
to-have-screenshot.spec.ts fix(test runner): toHaveScreenshot should not overwrite matching expectations (#15028) 2022-06-21 18:01:25 -07:00
types-2.spec.ts feat(test runner): descrbe.skip (#12865) 2022-03-18 16:07:11 -07:00
types.spec.ts feat(fixtures): per-fixture timeout (#12751) 2022-03-17 09:36:03 -07:00
web-server.spec.ts feat(server): consider 3XX, 400-403 responses as started server 2022-06-10 14:47:29 -07:00
worker-index.spec.ts