Commit Graph

12482 Commits

Author SHA1 Message Date
Playwright Service
50769b4e23
cherry-pick(#30964): docs: add release video (#30975)
This PR cherry-picks the following commits:

- 7ead708902

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-23 10:33:51 +02:00
Max Schmitt
afacb84a52
chore: mark v1.44.1 (#30942) 2024-05-23 09:29:52 +02:00
Dmitry Gozman
be133650f6
cherry-pick(#30853): chore: print friendly localhost address from http server (#30881) 2024-05-21 08:40:49 -07:00
Max Schmitt
67b85e6ace
docs: cherry-pick dotnet docs enhancements + release-notes (#30927)
Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
2024-05-21 12:04:31 +02:00
Pavel Feldman
32bde52512 cherry-pick(#30832): chore(testServer): accept video parameter when running tests 2024-05-15 12:47:58 -07:00
Pavel Feldman
5d2623030d cherry-pick(#30807): chore: do not close the reused context when video is on 2024-05-15 12:47:16 -07:00
Playwright Service
3867d5581b
cherry-pick(#30820): fix(electron): allow launching with spaces in path (#30830)
This PR cherry-picks the following commits:

- 90765a226f

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-15 18:46:48 +02:00
Playwright Service
01bf93cda4
cherry-pick(#30800): Revert "fix(highlight): highlight Top Layer elements (#30001)" (#30801)
This PR cherry-picks the following commits:

- b06c1dfff1

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-14 18:00:51 +01:00
Playwright Service
1b2de3f7a7
cherry-pick(#30708): docs(python): roll fixes (#30709)
This PR cherry-picks the following commits:

- 5babb37f19

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-08 18:24:51 +01:00
Yury Semikhatsky
a6aa50b0c7
chore: set version to 1.44.0 (#30680) 2024-05-06 11:26:54 -07:00
Yury Semikhatsky
54c157dec5
cherry-pick(#30677): chore: print resolved host in the http server te… (#30679)
…rminal
2024-05-06 11:07:45 -07:00
Playwright Service
2d437e86e2
cherry-pick(#30646): feat(chromium): roll to r1117 (#30652)
This PR cherry-picks the following commits:

- ce69236510

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 16:16:44 +00:00
Dmitry Gozman
7637399834
cherry-pick(#30636): fix(role): extract tagName safely (#30639)
Fixes #30616.
2024-05-02 11:19:58 -07:00
Yury Semikhatsky
9e091e74bd
cherry-pick(#30611): chore: add common env vars for junit and json re… (#30624)
…porters
2024-05-01 11:22:08 -07:00
Yury Semikhatsky
154694b2a5
chore: update playwright-browsers to Mar 19 (#30599)
Upstream commit 5a76c58a3d8e61d581e593882532346961863354
2024-04-29 17:03:40 -07:00
Yury Semikhatsky
fa7d4e5143
docs: releae notes 1.44 for js (#30596) 2024-04-29 16:48:40 -07:00
Yury Semikhatsky
b9f70f4ac4
docs(junit): document existing options and env (#30595) 2024-04-29 11:29:15 -07:00
Pavel Feldman
fb90797d73
fix(last-run): remove globalOutputDir (#30571) 2024-04-29 09:02:54 -07:00
Pavel Feldman
96f3d19819
feat(ctrl_or_meta): add a universal ctrl-meta modifier (#30572)
Fixes https://github.com/microsoft/playwright/issues/12168
2024-04-29 08:15:12 -07:00
Harsh Gupta
ebafb95054
docs(python): fix CDPSession documentation example (#30584) 2024-04-29 10:58:59 +00:00
Yury Semikhatsky
1f63cbff08
docs: toHaveUrl.ignoreCase in languages (#30573) 2024-04-26 15:02:51 -07:00
Pavel Feldman
b5dee9ecb7
feat(html): allow ctrl+clicking status (#30556) 2024-04-26 10:50:20 -07:00
Dmitry Gozman
ab3df111c9
chore: remove TeleTestCase._resultsMap (#30567) 2024-04-26 10:11:01 -07:00
Tan Li Hau
194479d90e
fix: pass key attribute from jsx to component test (#30426)
When using the `key` attribute in jsx inside the test modules, it is not
serialised and passed to the browser in component test
2024-04-26 09:49:44 -07:00
Yury Semikhatsky
3643fd456b
feat: outputFile option and PLAYWRIGHT_BLOB_OUTPUT_FILE env for blob (#30559)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-26 09:33:53 -07:00
Yury Semikhatsky
b5aca9fca8
test: relax "should print if globalTimeout is reached" expectation (#30558) 2024-04-25 18:40:58 -07:00
Yury Semikhatsky
ae9345d0bd
docs: add FormData to the examples (#30557) 2024-04-25 16:31:27 -07:00
Dmitry Gozman
6d20da568e
feat: expect(locator).toHaveRole(role) (#30555)
References #13517. Fixes #18332.
2024-04-25 15:26:10 -07:00
Yury Semikhatsky
9a1b34a4b0
Revert "fix: shut down workers before reporter.onEnd (#30329)" (#30551)
This reverts commit 3cea17abb6.

Reference https://github.com/microsoft/playwright/issues/30550

The test is preserved but marked as fixme.
2024-04-25 14:21:54 -07:00
Dmitry Gozman
086ea79c25
chore: remove checkCoverage script (#30552)
We do not benefit from it for many years already.
2024-04-25 14:00:14 -07:00
Dmitry Gozman
9bd2aea130
feat(locator handler): address api review feedback (#30554)
- Remove `handler` argument from `removeLocatorHandler`.
- Rename `allowStayingVisible` into `noWaitAfter`.
- Improve logging related to locator handler.
- Remove experimental badges.
2024-04-25 14:00:02 -07:00
Dmitry Gozman
dc0665210f
fix(reporters): properly determine flaky status for serial mode (#30529)
There are plenty of edge cases in this area:
- interrupted test run;
- did not run because of serial mode failure;
- failed before `test.skip()` call (e.g. in `beforeEach`) in one of the
retries;
- and more...

Related issues: #28322, #28321, #27455, #17652.
Prior changes: #27762, #26385, #28360, probably more.

There is still some duplication between `outcome()` and similar logic in
`base.ts`, which might be deduped in a follow-up.

Fixes #28322.
2024-04-25 13:39:14 -07:00
Yury Semikhatsky
5502a16e1d
fix(junit): merged report should preserve total duration (#30525)
Fixes https://github.com/microsoft/playwright/issues/30518
2024-04-25 13:34:17 -07:00
Yury Semikhatsky
714235d6c8
fix(merge): include command hash into the report name (#30528)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 13:34:00 -07:00
Pavel Feldman
4fa1030af6
chore: hide skipped tests by default (#30546)
Fixes https://github.com/microsoft/playwright/issues/30540
2024-04-25 12:48:41 -07:00
Pavel Feldman
14413148f4
chore: document --last-failed (#30544)
drive-by: undocument --browser
2024-04-25 12:29:51 -07:00
Yury Semikhatsky
d5bcc41f79
test: run File dependent test only on Node 20+ (#30549) 2024-04-25 11:53:27 -07:00
Playwright Service
dfda3003a1
feat(webkit): roll to r2003 (#30543)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 19:38:21 +02:00
Yury Semikhatsky
1cfa64343a
docs: describe report name configuration (#30547)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 10:15:25 -07:00
Yury Semikhatsky
b074932a44
feat(blob): PLAYWRIGHT_BLOB_FILE_NAME env variable (#30530)
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 09:45:38 -07:00
Pavel Feldman
a2eb43b335
feat(runner): allow running last failed tests (#30533)
Fixes: https://github.com/microsoft/playwright/issues/30506
2024-04-25 08:15:27 -07:00
Playwright Service
8e6272b1e3
feat(chromium): roll to r1116 (#30542)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 16:08:13 +02:00
Playwright Service
0f28063538
feat(chromium-tip-of-tree): roll to r1215 (#30541)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 15:26:03 +02:00
Dmitry Gozman
a6f0a89169
test: unflake "should work with custom reporter" (#30526) 2024-04-24 20:03:39 -07:00
Pavel Feldman
ff3d3ae8f2
fix(ui): print config and global setup errors (#30531)
Fixes: https://github.com/microsoft/playwright/issues/30513
2024-04-24 18:54:48 -07:00
Dmitry Gozman
59689c9c97
feat(addLocatorHandler): various improvements (#30494)
- Automatically waiting for the overlay locator to be hidden, with
`allowStayingVisible` opt-out.
- `times: 1` option.
- `removeLocatorHandler(locator, handler)` method.
- Passing `locator` as first argument to `handler`.

Fixes #30471. Fixes #30424. Fixes #29779.
2024-04-24 15:19:12 -07:00
Yury Semikhatsky
e2f7acea1e
docs: fix capitalization and alphabetic order in TestConfig (#30523) 2024-04-24 15:18:43 -07:00
Yury Semikhatsky
f1f3929a67
chore: get rid of ConfigInWorker, use FullConfig instead (#30517)
Addressing API review feedback.
2024-04-24 14:14:05 -07:00
Dmitry Gozman
6fecf52016
test: adjust headers expectations for firefox-beta (#30520)
There is a new experimental feature enabled in firefox-beta that sends a
"Priority" header.
2024-04-24 14:05:39 -07:00
Max Schmitt
1b7e097b68
docs(python): add docs for new_context fixture (#30522)
https://github.com/microsoft/playwright-internal/issues/202
2024-04-24 22:40:38 +02:00