Yury Semikhatsky
5db93e6ddf
docs: asertions.not is a property ( #12474 )
2022-03-02 15:03:33 -08:00
Pavel Feldman
34bf0d4b87
feat(test-runner): allow grepping in project ( #12469 )
2022-03-02 15:02:35 -08:00
Max Schmitt
cfcdc3e19c
chore: roll stable test-runner to ToT ( #12472 )
2022-03-02 23:47:55 +01:00
Max Schmitt
cb5b4cf06b
test: skip highlight tests on != default mode ( #12471 )
2022-03-02 23:46:33 +01:00
Max Schmitt
77db87b6f5
docs: fix empty Docker images on languages ( #12473 )
2022-03-02 23:43:22 +01:00
Max Schmitt
b2e3357613
chore: throw error if setCookies expires value is not valid ( #12470 )
2022-03-02 23:10:40 +01:00
Yury Semikhatsky
a413c0f94c
docs: restore assertions timeout option in js ( #12467 )
2022-03-02 12:43:16 -08:00
Yury Semikhatsky
608873e945
test: inputValue works for label selector ( #12447 )
2022-03-02 09:33:44 -08:00
Yury Semikhatsky
2d7ec26dc2
fix(fetch): send secure cookies for http://localhost requests ( #12450 )
2022-03-02 09:33:30 -08:00
Pavel Feldman
4b19d59ec5
feat(test): introduce fully parallel mode ( #12446 )
2022-03-01 18:12:21 -08:00
Pavel Feldman
61a6cdde70
feat(api): expose locator.highlight ( #12420 )
2022-03-01 13:56:21 -08:00
Pavel Feldman
b79bb32c82
chore: do not stall on actions when test timeout is 0 ( #12418 )
2022-03-01 13:43:38 -08:00
Pavel Feldman
a612a3526a
chore: auto-detect ts esm mode ( #12292 )
2022-03-01 12:56:26 -08:00
Andrey Lushnikov
5827fb504b
devops: fix firefox-beta compilation on windows ( #12444 )
2022-03-01 12:44:07 -08:00
Max Schmitt
5b7db90cb6
chore: hide unsupported expect methods ( #12403 )
2022-03-01 20:04:34 +01:00
Pavel Feldman
96945ab0a2
chore: do not print empty attachments in terminal ( #12419 )
2022-03-01 09:11:53 -08:00
Max Schmitt
e0e6b66cbe
chore(android): align android context options with mixin ( #12401 )
2022-03-01 18:11:38 +01:00
Pavel Feldman
6a663ef54f
chore(test-runner): revert recent changes to fix tests ( #12439 )
...
* Revert "fix(hooks): separate test timeout from beforeAll/afterAll timeouts (#12413 )"
This reverts commit 73dee69558
.
* Revert "fix(test-runner): rely on test title paths instead of ordinal (#12414 )"
This reverts commit d744a87aee
.
* Revert "chore(test runner): run hooks/modifiers as a part of the test (#12329 )"
This reverts commit 47045ba48d
.
2022-03-01 09:11:17 -08:00
Max Schmitt
d2ae6a9db2
fix: isDisabled check with option/optgroup ( #12437 )
2022-03-01 18:10:16 +01:00
Pavel Feldman
d14ecec612
chore: remove flaky-by-design test ( #12434 )
2022-03-01 08:52:52 -08:00
Andrey Lushnikov
33655ff168
devops(flakiness-dashboard): another fix to support empty metadata ( #12430 )
2022-03-01 01:50:40 -08:00
Andrey Lushnikov
1a7a3bf99d
chore: fix types for tests ( #12429 )
2022-03-01 01:32:40 -08:00
Andrey Lushnikov
4a1878e00e
devops: fix flakiness dashboard for projects with no metadata ( #12426 )
2022-03-01 01:21:00 -08:00
github-actions[bot]
5efd7fb356
feat(chromium): roll to r975608 ( #12425 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-01 09:22:47 +01:00
Andrey Lushnikov
66eda836c9
browser(ff-beta): roll Firefox-Beta to 98b10 ( #12421 )
...
Firefox reverted the third-party cookies recently:
https://bugzilla.mozilla.org/show_bug.cgi?id=1751435
Thus changes in tests.
References #12225
2022-03-01 00:17:33 -08:00
Andrey Lushnikov
a0cf33bbb0
fix: beautiful toHaveScreenshot in tracing ( #12422 )
2022-02-28 23:30:00 -08:00
Dmitry Gozman
a5f2dc0d7e
tests: bring back test runner bots as they were ( #12423 )
2022-02-28 22:19:15 -08:00
Yury Semikhatsky
a6fecb5d4b
docs: add mock API project examples ( #12244 )
2022-02-28 16:16:05 -08:00
Andrey Lushnikov
d744a87aee
fix(test-runner): rely on test title paths instead of ordinal ( #12414 )
...
Fixes #11904
2022-02-28 15:40:23 -08:00
Max Schmitt
cb41e668fe
devops: fix test runner flakiness uploads ( #12415 )
2022-03-01 00:37:37 +01:00
Dmitry Gozman
73dee69558
fix(hooks): separate test timeout from beforeAll/afterAll timeouts ( #12413 )
...
This makes it possible to have longer `beforeAll`/`afterAll` and not
affect first/last test timeout.
2022-02-28 15:09:04 -08:00
Mateusz Burzyński
eaa98ce53a
feat(keyboard): support simple copy-pasting using meta+c/v ( #10828 )
...
It's a straightforward change to support new, common, keyboard commands
Note that I've tested this locally with Chrome on my Mac but it seems that CI doesn't want to pass Chrome tests - it's running on ubuntu though. Does this mean that I should introduce per-platform editing commands? At the moment there is only a single [`macEditingCommands`](0ed33522c5/packages/playwright-core/src/server/macEditingCommands.ts
) file.
References https://github.com/microsoft/playwright/issues/12000
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2022-02-28 13:43:43 -08:00
Andrey Lushnikov
f47423d315
devops: upload test-runner test results to flakiness dashboard ( #12412 )
...
Fixes #12152
2022-02-28 13:41:30 -08:00
Andrey Lushnikov
396d920145
feat(test-runner): implement expect(pageOrLocator).toHaveScreenshot ( #12242 )
...
Fixes #9938
2022-02-28 12:25:59 -08:00
Andrey Lushnikov
8d94ed134c
fix: add snapshots for page and elementHandle screenshots ( #12411 )
...
Fixes #12280
2022-02-28 11:52:54 -08:00
Dmitry Gozman
47045ba48d
chore(test runner): run hooks/modifiers as a part of the test ( #12329 )
...
chore(test runner): run hooks/modifiers as a part of the test
This moves `beforeAll`, `afterAll` and some modifiers from running
as a separate entity into running inside a test.
Pros:
- All errors are reported as test errors.
- All artifacts are collected as test artifacts.
- Reporters support this out of the box.
Details:
- Each test computes the necessary hooks to run and runs them.
- Teardown is usually performed during the test (on test failure or worker stop).
- `skipRemaining` is added to `DonePayload` to preserve the behavior
where `beforeAll` hook failure skips subsequent tests.
This behavior can now be improved to only target tests affected by this hook.
2022-02-28 11:42:47 -08:00
Diego Pino
76dedeab15
browser(webkit): Fix build for Ubuntu 18.04 ( #12368 )
2022-02-28 09:15:39 -08:00
github-actions[bot]
90f1619812
browser(chromium): roll to r975608 ( #12395 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-28 11:16:20 +01:00
github-actions[bot]
80a38a39c2
feat(chromium): roll to r974924 ( #12377 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-26 07:52:27 +01:00
Max Schmitt
41e9b36f63
fix: install-deps did not throw on non 0 exit code ( #12375 )
2022-02-26 00:45:27 +01:00
Dmitry Gozman
3c2bca2768
fix(test loader): implement tsconfig paths through resolveFilename ( #12357 )
...
This uses `Module._resolveFilename` to intercept module resolution and
check `tsconfig.paths` similarly to pirates usage ot `Module._compile`.
Previously, we resolved during compilation that required reproducible
resolution due to caching. Now we can resolve as we go and support
all `tsconfig.paths`.
2022-02-25 15:43:58 -08:00
Max Schmitt
6438aed36c
test: skip test in electron
...
Follow-up for #12371
2022-02-26 00:17:37 +01:00
Max Schmitt
e035ed488c
test: add test for cookies with expiration ( #12304 )
2022-02-25 23:00:51 +01:00
Max Schmitt
b8728248fa
docs: merge assertions with verification doc ( #12361 )
2022-02-25 22:58:41 +01:00
Max Schmitt
a95d2320ad
test: mark failing android tests as fixme / fix them ( #12371 )
2022-02-25 22:56:51 +01:00
Max Schmitt
2f0183dd1d
docs(cli): add --width-deps to the docs ( #12362 )
2022-02-25 19:26:32 +01:00
Max Schmitt
c1a1eaec34
docs(trace-viewer): viewing remote traces on trace.playwright.dev ( #12363 )
2022-02-25 19:23:39 +01:00
Max Schmitt
8292fe8940
devops: run test-runner tests on Node 16 ( #12359 )
2022-02-25 19:13:45 +01:00
nswbmw
b47c95c20c
feat: add iPhone 12 Mini ( #11429 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-02-25 12:15:58 +01:00
github-actions[bot]
3c8222056a
browser(chromium): roll to r974924 ( #12358 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-25 11:18:52 +01:00