playwright/tests/playwright-test
Ross Wollman 981f5ab8c1
fix(test-runner): apply fixme v. skip annotations (#15277)
Currently, if `text.fixme()` or `test.skip()` is used within a test, we
add a `fixme` or `skip` annotation. However, if the wrapper style is
used:

```
test.fixme('should work', () => {…})
```

the annotations were missing. This change adds annotations for the
above.

These annotations are important for reporting purposes and knowing
exactly what flavor of "skipped" was used.

Fixes #15239.
2022-07-05 10:46:30 -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 feat(test-runner): introduce attachments (#7685) 2021-07-16 13:48:37 -07:00
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 chore: don't throw on no testDir (#11950) 2022-02-08 15:27:05 -08:00
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(test runner): update timeout error messages (#15117) 2022-06-30 17:05:08 -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 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 feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08: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 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 test: add missing request tests (#9343) 2021-10-06 10:15:13 -07:00
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 fix: do not mute route handler exceptions (#11555) 2022-01-22 22:19:32 +01:00
repeat-each.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
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 feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
reporter-github.spec.ts feat(test-runner): support expect.soft (#11800) 2022-02-02 18:33:51 -08:00
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 feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
runner.spec.ts chore: respect sigint in global setup (#14805) 2022-06-12 13:06:00 -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 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 chore: revert "fix(test-runner): escape backslashes in win cli (#11763)" (#12004) 2022-02-10 07:02:37 -08:00
test-info.spec.ts feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
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 fix(test runner): improve error message for unexpected calls (#12240) 2022-02-18 18:25:18 -08:00
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 feat(test runner): introduce TestInfo.parallelIndex (#9762) 2021-11-01 10:37:34 -07:00