LeoTM
65983b4bf8
chore(docs): remove dead link to install config ( #33160 )
...
Signed-off-by: LeoTM <1881059+leotm@users.noreply.github.com>
2024-10-17 06:08:14 -07:00
Dmitry Gozman
2d150eec25
fix: correct types for things like test.describe.only
( #33142 )
2024-10-17 03:34:05 -07:00
Amaechi Hope
7af9e93304
docs(api): fix code snippets for locator ele ( #33153 )
2024-10-17 09:11:53 +02:00
Debbie O'Brien
9848ebec5a
docs: add video to release notes ( #33147 )
2024-10-16 18:36:46 +02:00
Pengoose
d10a5e5693
feat(testType): add support for test.fail.only method ( #33001 )
2024-10-16 06:47:23 -07:00
Lars Hanisch
183720b56a
fix(docker): correct Ubuntu Noble name in name template ( #33133 )
2024-10-16 10:15:40 +02:00
Pavel Feldman
94321fef1c
chore: implement locator.ariaSnapshot ( #33125 )
2024-10-15 18:47:26 -07:00
Pavel Feldman
b92b855638
test: unflake ff debugger test ( #33124 )
2024-10-15 16:21:55 -07:00
Pavel Feldman
b421bd8b0d
chore: add a basic snapshot generator test ( #33123 )
2024-10-15 15:21:45 -07:00
Pavel Feldman
4b1fbde2ad
chore: generate match snapshot ( #33105 )
2024-10-15 13:38:55 -07:00
Pavel Feldman
23b1012c70
chore: fix ff test for codegen ( #33122 )
2024-10-15 13:34:08 -07:00
Anand M Cherian
d40425ea58
docs: update to "Matching one of the two alternative locators" section ( #33079 )
...
Signed-off-by: Anand M Cherian <63868951+Anand-M-Cherian@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-15 12:45:03 -07:00
Playwright Service
615f1dbd63
feat(chromium-tip-of-tree): roll to r1269 ( #33117 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-15 17:51:57 +02:00
Dmitry Gozman
59a50cf596
fix(chromium): disable PlzDedicatedWorker again ( #33110 )
2024-10-15 02:13:19 -07:00
Dmitry Gozman
17837e564d
fix(routeWebSocket): make sure ws url without trailing slash is supported ( #33095 )
2024-10-15 02:08:27 -07:00
Dmitry Gozman
8a275e5a5b
docs: improve docs for WebSocketRoute ( #33097 )
2024-10-15 02:07:03 -07:00
Pavel Feldman
2c05d294a8
chore: fix webkit visibility check in aria matcher ( #33102 )
2024-10-14 15:55:21 -07:00
Pavel Feldman
a38ff6e0d8
chore: experimental toMatchAriaSnapshot ( #33014 )
2024-10-14 14:07:19 -07:00
Pavel Feldman
6cfcbe0d6d
chore: fix codegen selector while debugging ( #33099 )
...
Fixes #33052
2024-10-14 14:04:24 -07:00
Dmitry Gozman
ecd147ce43
fix(test runner): when sharding with beforeAll, use shards total instead of workers ( #33083 )
...
Otherwise, we might split the `beforeAll`-grouped test group into
`workers` parts instead of `shard.total` parts as the user would expect.
Fixes #33077 .
2024-10-14 13:46:06 -07:00
Yury Semikhatsky
f8806d253d
chore(bidi): remove assertion from response dispatch ( #33100 )
...
After the context has been disposed we can't route any callbacks to it
because
it is not in the map, so the assertion doesn't make sense as it always
ends up in
the top level session.
Fixes the following error:
```
pw:browser <closing ws> Closing websocket due to failed onmessage callback. eventData={"type":"success","id":32,"result":{}} e=Assertion error Error: Assertion error
pw:browser at assert (/home/yurys/playwright/packages/playwright-core/src/utils/debug.ts:21:11)
pw:browser at BidiSession.dispatchMessage (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:229:13)
pw:browser at BidiConnection.call [as _dispatchMessage] (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:93:25)
```
2024-10-14 13:25:30 -07:00
Playwright Service
c7fbeddaf4
feat(webkit): roll to r2092 ( #33078 )
2024-10-14 22:21:49 +02:00
Simon Knott
a8df750a48
fix(har): account for reused sockets ( #33087 )
...
Closes https://github.com/microsoft/playwright/issues/32960
If the socket is reused, the connect and DNS timings are set to -1,
because that timing doesn't apply to the current request. The time
between request start and the socket being free is counted as `blocked`.
2024-10-14 17:22:29 +02:00
Max Schmitt
9fcf60464d
chore: various v1.48.0 roll fixes for .NET ( #33096 )
2024-10-14 16:32:11 +02:00
Remigiusz Dudek
4c2d62a881
feat(html-reporter): recognize video attachment by the contentType ( #33074 )
...
Closes https://github.com/microsoft/playwright/issues/33073 .
---------
Signed-off-by: Remigiusz Dudek <remigiusz_dudek@tlen.pl>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-14 05:16:19 -07:00
Fumiaki MATSUSHIMA
0a63427c77
fix(codegen): fix unselect issue ( #33076 )
2024-10-13 13:16:01 +02:00
Playwright Service
699f51b227
feat(webkit): roll to r2091 ( #33070 )
2024-10-11 17:18:06 -07:00
Playwright Service
e4b0d5e6dd
feat(chromium): roll to r1142 ( #33062 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-11 16:33:59 +02:00
Max Schmitt
87624c5434
Revert "fix(codegen): fix unselect issue ( #32127 )" ( #33065 )
...
This reverts commit 5121b19ac6
.
The tree is red and fixing seems non-trivial.
Closes https://github.com/microsoft/playwright/issues/33064
Closes https://github.com/microsoft/playwright/pull/33060
2024-10-11 16:33:17 +02:00
Yury Semikhatsky
b9cce598dd
fix(screenshot): show image diff inline in errors list ( #32997 )
...
The diff is now shown inline in the errors list.
There are 2 possible failures of toHaveScreenshot
* Previous and actual snapshot mismatch. In this case html report will
show diff between Actual/Previous and have Expected as a separate
screenshot.
* Actual/Previous are equal but they differ from the expected. In this
case html report only contains Actual/Expected images and the diff.
Reference: https://github.com/microsoft/playwright/issues/32341
<img width="1039" alt="image"
src="https://github.com/user-attachments/assets/b458f986-cc25-4721-862c-0cc2c1b01a42 ">
2024-10-10 16:49:17 -07:00
Playwright Service
10a9e1c730
feat(webkit): roll to r2090 ( #33050 )
2024-10-11 00:08:03 +02:00
Yury Semikhatsky
82fe882004
fix(webkit): scroll mobile page with background-attachment: fixed ( #33048 )
...
Fixes #31551
Fixes #23573
2024-10-10 14:32:27 -07:00
Playwright Service
7de084b6dc
feat(chromium-tip-of-tree): roll to r1268 ( #33042 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-10 16:32:00 +02:00
Playwright Service
217b57df4c
feat(webkit): roll to r2089 ( #33039 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-10 13:10:54 +02:00
Dmitry Gozman
25dd9b5cd4
feat: config.build.tsconfig ( #33026 )
...
Allows to specify `tsconfig` in the configuration file, which applies to
test files but not the config file itself.
Fixes #32808 .
2024-10-10 01:37:46 -07:00
Pavel Feldman
8f3353865d
fix(ui): bring back the headed param ( #33030 )
...
Fixes https://github.com/microsoft/playwright/issues/33023
2024-10-09 17:46:54 -07:00
Playwright Service
bc30cc795e
feat(chromium): roll to r1141 ( #33027 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-09 14:55:37 +02:00
Dmitry Gozman
c2cbf26497
docs: refresh timeouts doc ( #33025 )
...
After changes a few releases ago, specify that `afterEach` hooks are
included in a separate timeout.
Fixes #32851 .
2024-10-09 05:10:10 -07:00
Max Schmitt
6210fef681
test: fix android tests ( #33021 )
2024-10-09 11:22:27 +02:00
Yury Semikhatsky
bcf4ff1e47
chore(bidi): update setContent expectations for ff ( #32992 )
2024-10-08 11:58:01 -07:00
Simon Knott
892d67ffef
feat(test runner): allow stopping testrun with escape ( #32584 )
...
Closes https://github.com/microsoft/playwright/issues/32579
2024-10-08 11:39:54 -07:00
Fumiaki MATSUSHIMA
5121b19ac6
fix(codegen): fix unselect issue ( #32127 )
...
Fixes https://github.com/microsoft/playwright/issues/31290
2024-10-08 11:38:52 -07:00
Pavel Feldman
dbe881cfdc
docs: add a section on balancing shards ( #33011 )
...
Closes https://github.com/microsoft/playwright/issues/32922
2024-10-08 08:35:02 -07:00
Pavel Feldman
6c9823eeaf
chore: allow minimal height for trace attachments ( #32996 )
2024-10-08 08:33:45 -07:00
Max Schmitt
d0f2170e21
Revert "fix(test): do not allow mixing tests from different types ( #29284 )" ( #33002 )
...
This reverts commit 4784139bb0
.
Closes https://github.com/microsoft/playwright/issues/29734
2024-10-08 16:00:40 +02:00
Simon Knott
042161e1ce
Reapply "fix(har timing): record connect timing for proxied connections" ( #32855 ) ( #33003 )
...
This reapplies what we reverted in
https://github.com/microsoft/playwright/pull/32989 .
Max and me debugged this, and found that the test failures come from
SOCKS proxy now preferring IPv6 over IPv4. We've updated the tests and
made sure that this doesn't mask any breaking change.
I'm enabling CQ1 to make sure we don't oversee any other CI failures.
2024-10-08 14:17:50 +02:00
Playwright Service
992994f036
feat(chromium-tip-of-tree): roll to r1267 ( #33007 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-08 14:13:45 +02:00
Max Schmitt
47a889ac48
chore: roll stable-test-runner to 1.48.0-beta-1728384960000 ( #33008 )
2024-10-08 14:01:45 +02:00
Dmitry Gozman
814f7eb556
test: fix/fixme/update a few tests ( #33006 )
2024-10-08 03:59:35 -07:00
Playwright Service
5b29ead6f0
chore(driver): roll driver to recent Node.js LTS version ( #33005 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-08 12:53:38 +02:00