playwright/tests/playwright-test
Andrey Lushnikov 4f11a4d5e7
feat(docker): use the __screenshots__ dir for snapshots by default (#17311)
This patch opts into the `__screnshots__` folder snapshot management
for docker.

With this patch, docker-originating snapshots will be stored in the
following folder:

```
{testDir}/__screenshots__/{projectName}/{testFilePath}/{snapshotName}
```

Where `{testFilePath}` is a test file path relative to `testDir`

Drive-by: introduce and document the `PLAYWRIGHT_DOCKER` environment
variable that enables docker integration.
2022-09-13 15:49:04 -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.26.0-alpha-sep-7-2022 (#17166) 2022-09-07 20:11:09 +02:00
access-data.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
babel.spec.ts feat(ct): support cra w/ .js (#14326) 2022-05-24 19:43:28 -07:00
basic.spec.ts feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -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 feat: introduce the --ignore-snapshots option (#17004) 2022-09-01 05:34:36 -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 feat: --pass-with-no-tests option (#16902) 2022-08-29 15:46:34 -07: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(assertions): support toBeVisible({ visible }) (#17207) 2022-09-09 08:33:23 -07:00
fixture-errors.spec.ts feat(test runner): show the number of fatal errors at the end (#15975) 2022-07-28 14:46:21 -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: remove TestProject.projectSetup (#16321) 2022-08-05 15:24:30 -07:00
golden.spec.ts feat: introduce the --ignore-snapshots option (#17004) 2022-09-01 05:34:36 -07:00
hooks.spec.ts core(ct): rename tests (#17216) 2022-09-12 09:27:53 -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 test: unflake "should load web server w/o esm loader in ems module" (#17269) 2022-09-12 11:42:04 -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 fix(test runner): show tests as interrupted when maxFailures stops them (#16178) 2022-08-03 15:25:25 -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): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -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: optionally connect instead of launching (#17174) 2022-09-07 15:57:20 -07:00
playwright.ct-build.spec.ts fix(ct): pass local config to preview (#16481) 2022-08-12 10:37:35 -07:00
playwright.ct-react.spec.ts fix(ct): restore public folder deployment (#15594) 2022-07-12 16:14:48 -07:00
playwright.fetch.spec.ts fix: stop har recording when APIRequestContext is disposed (#17007) 2022-08-31 21:51:38 -07:00
playwright.reuse.spec.ts fix(reuse): restore storage state (#17175) 2022-09-07 19:15:04 -07:00
playwright.spec.ts feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -07:00
playwright.trace.spec.ts feat(test runner): add --trace cli option (#16277) 2022-08-05 09:20:39 -07:00
playwright.unhandled.spec.ts feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -07: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 chore: render original exception location in error frame (#16515) 2022-08-15 09:28:55 -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 feat(docker): use the __screenshots__ dir for snapshots by default (#17311) 2022-09-13 15:49:04 -07:00
reporter-json.spec.ts chore: added starting time of test to the base json reporter (#16885) 2022-08-30 20:03:21 -07:00
reporter-junit.spec.ts fix(junit reporter): remove source location from classname attribute (#16499) 2022-08-19 16:42:21 -07:00
reporter-line.spec.ts Revert "fix(test runner): handle istty in line reporter (#15455)" (#15633) 2022-07-13 15:11:56 -07:00
reporter-list.spec.ts feat(list reporter): number test runs to see testing progress (#15693) 2022-07-25 13:22:25 -07:00
reporter-raw.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
reporter.spec.ts feat(test runner): TestProject.projectSetup (#16063) 2022-08-01 09:01:23 -07:00
resolver.spec.ts fix(test runner): do not resolve relative imports through baseUrl (#16395) 2022-08-09 21:16:27 -07:00
retry.spec.ts feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
runner.spec.ts fix(test runner): show interrupted as yellow (#16396) 2022-08-09 21:17:30 -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: support hasColors and getColorDepth in worker (#15590) 2022-07-12 14:47:14 -07:00
test-extend.spec.ts fix(fixtures): make undefined option mean "default value" (#16026) 2022-07-28 12:57:05 -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 chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
test-output-dir.spec.ts feat(testId): expose persistent test id (#16003) 2022-07-27 20:17:19 -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 fix(test runner): serial suites inside parallel suite should run in parallel (#15769) 2022-07-26 13:38:25 -07:00
test-step.spec.ts feat: return value from step (#16060) 2022-07-29 15:16:07 -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): more friendly test duration (#15476) 2022-07-08 11:45:44 -07:00
to-have-screenshot.spec.ts feat(docker): use the __screenshots__ dir for snapshots by default (#17311) 2022-09-13 15:49:04 -07:00
types-2.spec.ts feat: return value from step (#16060) 2022-07-29 15:16:07 -07:00
types.spec.ts feat(fixtures): per-fixture timeout (#12751) 2022-03-17 09:36:03 -07:00
web-server.spec.ts feat(plugins): send accept header in webServer url checking (#16251) 2022-08-10 12:48:37 -07:00
worker-index.spec.ts feat(test runner): introduce TestInfo.parallelIndex (#9762) 2021-11-01 10:37:34 -07:00