Pavel Feldman
a25bda6950
chore: allow storing aria snapshots in files ( #33919 )
2024-12-10 11:45:16 -08:00
Dmitry Gozman
0937d2f7b9
fix(types): update types for test.extend ( #33784 )
2024-12-09 08:59:01 -08:00
Simon Knott
4914f34a83
fix(recorder): allow clearing when recording is disabled ( #33821 )
2024-12-06 10:17:06 -08:00
Yury Semikhatsky
733f9a2926
chore: pdf generation now works in headed mode too ( #33879 )
2024-12-05 17:53:31 -08:00
Dmitry Gozman
be78e9e11f
fix: do not stall waiting for pending navigations after beforeunload dismiss ( #33834 )
2024-12-03 15:55:45 -08:00
Dmitry Gozman
b5bd543cc6
test: skip 'should not auto play audio' with frozen time ( #33799 )
2024-11-28 06:36:49 -08:00
Simon Knott
4fb6c4ed4c
fix(trace): in `indexTree` check `isVisible` before adding to result ( #33797 )
2024-11-28 14:04:34 +01:00
Dmitry Gozman
a84488edaa
fix(aria): escape even more yaml ( #33793 )
2024-11-28 03:21:52 -08:00
Segev Finer
f3ae940684
fix(ct-vue): Upgrade plugin-vue to be compatible with Vite 5 ( #33758 )
2024-11-26 17:42:36 +01:00
Pavel Feldman
0d9bcd45d5
chore: pin typescript while vue-tsc is broken ( #33746 )
2024-11-23 11:48:34 -08:00
Pavel Feldman
35dd3dd104
chore: use diff for snapshot delta ( #33739 )
2024-11-23 11:39:04 -08:00
Pavel Feldman
971b5da741
chore: introduce update-source-method ( #33738 )
2024-11-22 18:30:35 -08:00
Pavel Feldman
66d9f3acbe
chore: introduce update-snapshots=changed ( #33735 )
2024-11-22 17:41:31 -08:00
Yury Semikhatsky
66f709663e
fix(webkit): do not auto play audio without user gesture ( #33734 )
2024-11-22 14:53:29 -08:00
Dmitry Gozman
7e09aa07de
feat(trace): preserve the open state of popovers ( #33728 )
2024-11-22 09:35:19 -08:00
Dmitry Gozman
f123f7ac69
fix: isEditable/toBeEditable throw for elements that cannot be editable/readonly ( #33713 )
2024-11-22 03:40:43 -08:00
Pavel Feldman
e0f0996bbd
chore: climb file tree to git root for patches ( #33722 )
2024-11-21 17:32:07 -08:00
Max Schmitt
5da0b94357
feat(webkit): roll to r2108 ( #33710 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-11-21 14:42:21 -08:00
Max Schmitt
6a32589330
test: update 'should work for canvas' test expectation ( #33685 )
2024-11-20 17:13:07 +01:00
Simon Knott
1d3605d1fc
feat(trace viewer): add "Copy as Playwright Request" button ( #33298 )
2024-11-20 10:16:43 +01:00
Simon Knott
f1ddd379f3
fix(html): don't conflate file names ( #33600 )
2024-11-20 10:16:33 +01:00
Dmitry Gozman
50c8fbf750
fix(ui mode): do not render anonymous describe ( #33675 )
2024-11-20 00:51:31 -08:00
Pavel Feldman
b40889d1a8
chore: escape more yaml values ( #33686 )
2024-11-19 17:09:49 -08:00
Dmitry Gozman
6e19bc341f
fix(role): ignore invalid `aria-labelledby` attributes ( #33667 )
2024-11-19 03:56:16 -08:00
Yury Semikhatsky
6d71805f4a
fix: do not send favicon request to network when interception is on ( #33639 )
2024-11-18 11:01:39 -08:00
Max Schmitt
0b312248cd
test: add test for crash on label with input file ( #33654 )
2024-11-18 16:56:59 +01:00
aairiian
7f054ef8c6
feat(aria): extend toHaveAccessibleName() to accept an array of expected accessible names ( #33277 )
2024-11-18 07:46:47 -08:00
Simon Knott
5e8b469c1c
fix(test): hide response.* calls from reports ( #33620 )
2024-11-18 13:59:40 +01:00
Max Schmitt
d7d8ab62a2
chore: roll stable-test-runner to 1.49.0-beta-1731772650000 ( #33648 )
2024-11-18 10:21:48 +01:00
Rui Figueira
82c77a5e9e
fix(ui-mode): prevent websocket connection leaks on reload ( #33643 )
2024-11-18 01:03:21 -08:00
Pavel Feldman
46321e5bf2
chore: clear highlight when performing action ( #33638 )
2024-11-16 07:56:33 -08:00
Pavel Feldman
a98021499f
chore: add cm placeholder text ( #33635 )
2024-11-15 16:19:35 -08:00
Rui Figueira
c36b5a6059
fix: ensure toMatchAriaSnapshot is properly commented in javascript c… ( #33593 )
2024-11-15 14:44:27 -08:00
Pavel Feldman
44cd1d03cc
chore: highlight edited locator while recording ( #33632 )
2024-11-15 13:43:00 -08:00
Yury Semikhatsky
e24780f825
chore: unshift shortest whitespace prefix only ( #33618 )
2024-11-15 12:47:25 -08:00
Dmitry Gozman
77dee44984
fix(rebase): do not apply multiple rebaselines to the same assertion ( #33629 )
2024-11-15 09:08:31 -08:00
Dmitry Gozman
2aa9e11a7f
fix(aria): normalize whitespace in toMatchAccessible{Name,Description} ( #33619 )
2024-11-15 02:49:03 -08:00
Dmitry Gozman
eaf3536014
fix(trace): afterAll hook should not break tracing with reused context ( #33616 )
2024-11-14 13:24:02 -08:00
Max Schmitt
358fad45cd
chore: add ESRP CDN for browser downloads ( #33585 )
2024-11-14 16:19:42 +01:00
Simon Knott
25c039401d
fix(canvas snapshots): position mismatch in headless mode ( #33575 )
2024-11-14 15:27:09 +01:00
Dmitry Gozman
31a2b7bbdc
chore: update headless shell treatment ( #33603 )
2024-11-14 04:20:44 -08:00
Pavel Feldman
4817483ff2
chore: allow highlighting aria template from extension ( #33594 )
2024-11-13 21:33:38 -08:00
Yury Semikhatsky
a8af7cc435
chore: remove macOS <=12 checks ( #33591 )
2024-11-13 17:21:21 -08:00
Yury Semikhatsky
5203c780ae
feat: step timeout option ( #33560 )
2024-11-13 11:17:54 -08:00
Max Schmitt
eab6447ad9
test: add 'should show errors with causes in the error tab' ( #33577 )
2024-11-13 17:32:32 +01:00
Dmitry Gozman
f54d3f44c2
chore: download and launch chromium-headless-shell for headless chromium ( #33454 )
2024-11-13 02:52:28 -08:00
Pavel Feldman
d685763c49
chore: use diff instead of diffmatchpatch ( #33550 )
2024-11-12 14:46:29 -08:00
Max Schmitt
0aa8da8035
test: fix csharp har tests on Windows ( #33556 )
2024-11-12 14:42:07 +01:00
Dmitry Gozman
33f9c8279c
chore: more aria snapshot fixes ( #33534 )
2024-11-12 02:26:54 -08:00
Pengoose
a501232bf0
fix(expect): adjust normalization for regex values in toHaveText matcher ( #33533 )
2024-11-11 17:19:04 -08:00
Pavel Feldman
e534fba60f
chore: render recorder placeholders ( #33548 )
2024-11-11 16:38:02 -08:00
Max Schmitt
d8a98a2bf5
test: fix flaky page.pause() tests end up stalling ( #33544 )
2024-11-11 22:19:58 +01:00
Yury Semikhatsky
e691ca7fbf
fix(codegen): generate routeFromHAR for --save-har option ( #33480 )
2024-11-11 11:59:20 -08:00
Yury Semikhatsky
e3ed9fa7c3
chore: drop support for solid component testing ( #33523 )
2024-11-11 10:26:50 -08:00
Pavel Feldman
649e0e0235
chore: nicer cm widgets for aria ( #33524 )
2024-11-11 09:40:50 -08:00
Max Schmitt
d5ebe285c1
fix(transform): allow import attributes always ( #33527 )
2024-11-11 10:26:13 +01:00
Pavel Feldman
503f74da90
chore: allow editing aria template in recorder (tests) ( #33522 )
2024-11-08 17:18:51 -08:00
Dmitry Gozman
c29f573243
fix(aria snapshot): assorted fixes ( #33512 )
2024-11-08 10:25:05 -08:00
Pavel Feldman
b021b58379
chore: allow editing aria template in recorder ( #33482 )
2024-11-08 07:43:01 -08:00
Dmitry Gozman
d561ba7b86
fix(chromium-headless-shell): fallback to chromium when running headed ( #33490 )
2024-11-08 07:04:41 -08:00
Dmitry Gozman
43e4ba9f2f
fix(click): better compensate for integer click coordinates in firefox ( #33467 )
2024-11-07 00:01:00 -08:00
Yury Semikhatsky
50775698ae
fix: parent step for API calls inside waitForEvent callback ( #33409 )
2024-11-06 17:35:16 -08:00
Yury Semikhatsky
523e50088a
test: do not rely on http://localhost2 dns resolution failure ( #33479 )
2024-11-06 14:20:38 -08:00
Pavel Feldman
2f8a14c6e2
test: cover more aria escaping edge cases ( #33463 )
2024-11-06 08:31:32 -08:00
Simon Knott
f554f42b82
feat(trace viewer): link from attach action to attachment tab ( #33265 )
2024-11-06 10:22:15 +01:00
Pavel Feldman
d4ad520a9b
chore: fix more aria escaping edge cases ( #33460 )
2024-11-05 16:22:02 -08:00
Pavel Feldman
9d94ad152e
chore: dedupe tags in base reporter title ( #33461 )
2024-11-05 16:18:10 -08:00
Pavel Feldman
a655b0bfb3
chrome: aria api review ( #33458 )
2024-11-05 15:23:38 -08:00
Dmitry Gozman
697d7a40b1
fix(routeWebSocket): make it work with http(s) baseURL ( #33457 )
2024-11-05 11:46:05 -08:00
Dmitry Gozman
9b2ca93a50
chore: followup to tracing.group ( #33450 )
2024-11-05 04:45:54 -08:00
René
fa10bcd5a3
feat(tracing) Adding groups to trace via pw-api ( #33081 )
...
Signed-off-by: René <snooz@posteo.de>
Signed-off-by: René <41592183+Snooz82@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-11-05 03:45:37 -08:00
Max Schmitt
9a668aeab3
fix(websocket): pass through underlying WebSocket protocol ( #33446 )
2024-11-05 11:13:33 +01:00
Simon Knott
8e140a4873
fix(global setup): simplify ordering ( #33444 )
2024-11-05 10:36:29 +01:00
Simon Knott
26a7dd4dd4
chore(reporter): add another surrogate pair test case ( #33428 )
2024-11-05 07:55:17 +01:00
Pavel Feldman
f138c30915
chore: improve aria template error reporting ( #33438 )
2024-11-04 15:33:09 -08:00
Pavel Feldman
8b49d568de
docs: start adding the aria snapshot documentation ( #33407 )
2024-11-04 10:53:46 -08:00
Max Schmitt
4560686427
test: re-add headless-new fixme's ( #33426 )
2024-11-04 16:18:36 +01:00
Simon Knott
b148ce1ad1
fix(debug controller): highlight selectors in iframe ( #33273 )
2024-11-04 14:41:06 +01:00
Dmitry Gozman
82f6c15e6a
feat(chromium): switch to headless=new by default ( #33262 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-11-04 12:56:00 +01:00
Pavel Feldman
1d4650cea2
chore(snapshot): support aria-owns ( #33404 )
2024-11-01 15:25:38 -07:00
Pavel Feldman
c76f004ec3
chore: move compress call log to server ( #33399 )
2024-11-01 13:38:01 -07:00
Pavel Feldman
fc0ce7046b
chore: perform e2e rebase test ( #33390 )
2024-11-01 12:25:05 -07:00
Playwright Service
18453f3889
feat(webkit): roll to r2100 ( #33395 )
2024-11-01 17:45:58 +01:00
Yury Semikhatsky
c95feccce4
chore: support reverse in ansi2html, drop ansi-to-html ( #33389 )
2024-10-31 21:42:06 -07:00
Pavel Feldman
26c2049d5a
chore: treat input value as text in templates ( #33388 )
2024-10-31 20:41:52 -07:00
Pavel Feldman
135ed28740
chore: more yaml escaping tests ( #33387 )
2024-10-31 17:14:11 -07:00
Pavel Feldman
c462e29e73
chore(aria): generate single patch for all baselines ( #33384 )
2024-10-31 15:34:17 -07:00
Pavel Feldman
a2e901e080
chore: generate aria name regex when possible ( #33373 )
2024-10-31 11:25:38 -07:00
Pavel Feldman
676f014b5f
chore: use objects for string aria template notes ( #33371 )
2024-10-30 17:25:51 -07:00
Pavel Feldman
a43b99368e
chore: support aria snapshots in tsx ( #33369 )
2024-10-30 17:25:30 -07:00
Max Schmitt
512645463e
test: rebase headless-shell/--headless=new/Edge tests ( #33350 )
2024-10-30 15:12:05 +01:00
Simon Knott
64802fc284
fix(line reporter): wrap chinese characters correctly ( #33322 )
2024-10-30 13:29:31 +01:00
Pavel Feldman
9ce401d44a
chore: suggest aria snapshots w/ regex ( #33334 )
2024-10-29 16:19:08 -07:00
Max Schmitt
9eb4fe5546
feat(pwt): serialize and expose Error.cause from Worker process ( #32833 )
2024-10-29 00:01:59 +01:00
Max Schmitt
5c0fdfed50
chore: throw when using headless-shell with headed mode ( #33292 )
2024-10-28 22:33:21 +01:00
Max Schmitt
19e863191c
test: use 'chrome' for UI mode tests ( #33329 )
2024-10-28 21:56:46 +01:00
Max Schmitt
c9a93486a1
test: update macOS-15 WebKit cookie tests expectations ( #33332 )
2024-10-28 20:34:08 +01:00
Pavel Feldman
4b7c8d8a20
chore: use stable library along with the test runner in ttest ( #33312 )
2024-10-25 23:15:10 -07:00
Yury Semikhatsky
0ace47e7cf
chore: revert exposed expect error details on TestError ( #33310 )
2024-10-25 16:20:18 -07:00
Pavel Feldman
74e5e5560f
chore: update missing snapshots by default ( #33311 )
2024-10-25 16:13:38 -07:00
Yury Semikhatsky
87b896e597
chore: remove playwright-ct-vue2 ( #33302 )
2024-10-25 13:31:55 -07:00
Yury Semikhatsky
1e8884621a
chore: unify toHaveScreenshot error formatting ( #33300 )
2024-10-25 12:36:39 -07:00
Yury Semikhatsky
f98531baee
chore: remove check for node < 16 ( #33301 )
2024-10-25 10:33:43 -07:00
Pavel Feldman
9707e97867
chore: revert #33228 - it needs a proper review ( #33284 )
2024-10-25 09:36:03 +02:00
Pavel Feldman
ff5f1628dc
chore: allow aria snapshot rebaselines ( #33256 )
2024-10-24 16:49:10 -07:00
Max Schmitt
adc38cfd8b
test: rebaseline test expectations ( #33270 )
2024-10-24 16:49:35 +02:00
Dmitry Gozman
67471cb3c5
test: make a few tests headed/headless agnostic ( #33268 )
2024-10-24 06:03:36 -07:00
Simon Knott
3641e5984f
chore: HMR for Trace Viewer ( #33228 )
2024-10-24 14:34:59 +02:00
Dmitry Gozman
2e01154bb5
feat: screenshot:on-first-failure ( #33266 )
2024-10-24 04:41:35 -07:00
Dmitry Gozman
1950bbdc6e
test: unflake "should not leak recorders" ( #33264 )
2024-10-24 02:47:34 -07:00
Max Schmitt
487134fbaf
devops: add chromium-headless-shell bots ( #33242 )
2024-10-24 11:34:41 +02:00
Simon Knott
69f56b9f63
fix(locator generator): handle `frameLocator()` and `locator().contentFrame()` ( #33208 )
2024-10-24 10:52:54 +02:00
Pavel Feldman
9a0a6cec10
chore: remove the leaf node notion ( #33249 )
2024-10-23 17:34:21 -07:00
Pavel Feldman
24cafbc8cb
chore: use diff_match_patch with types ( #33254 )
2024-10-23 16:04:37 -07:00
Dmitry Gozman
993a6b2a2a
fix(recorder): do not leak when instantiated in snapshots ( #33240 )
2024-10-23 10:24:53 -07:00
Max Schmitt
0d12fbe002
fix: have more friendly playwright-report error when opening TV via file:// ( #33239 )
2024-10-23 12:19:29 +02:00
Simon Knott
3322a7f3bb
chore(trace): remove screenshot instead of snapshot code ( #33225 )
2024-10-23 12:17:02 +02:00
Pavel Feldman
6bfdad068c
chore: introduce accessibility tab in recorder ( #33235 )
2024-10-22 16:36:03 -07:00
Max Schmitt
6800fd45a2
feat(webkit): roll to r2095 ( #33229 )
2024-10-22 22:30:54 +02:00
Simon Knott
ef84051c91
feat(tracing): clip `canvas` contents from screenshots ( #33119 )
2024-10-22 14:12:25 +02:00
Rui Figueira
b194d6a1e9
fix(recorder): fix recorder injected icons ( #33198 )
2024-10-22 12:44:18 +02:00
Pavel Feldman
2a3d67195d
chore: use aria snapshots in some ui mode tests ( #33212 )
2024-10-21 21:54:06 -07:00
Yury Semikhatsky
aebceb345e
chore: expose expect error details on TestError ( #33183 )
2024-10-21 11:15:55 -07:00
Simon Knott
40d5a1cb4a
fix(ff): resource type for image sets should be `image` ( #33195 )
2024-10-21 11:14:48 +02:00
Pavel Feldman
97d26e8166
chore: add aria attribute tests ( #33184 )
2024-10-19 14:23:08 -07:00
Pavel Feldman
64bf1bc107
chore: support basic aria attributes ( #33182 )
2024-10-18 20:18:18 -07:00
Max Schmitt
b1fb4f16a7
chore: hide 'markdown' reporter ( #33140 )
2024-10-18 23:00:05 +02:00
Pavel Feldman
2e8e7a66cd
chore: implement tree w/o list ( #33169 )
2024-10-18 13:50:43 -07:00
Simon Knott
0d63df4875
feat(test runner): allow multiple global setups ( #32955 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-18 11:03:00 +02:00
Pavel Feldman
29c84a33c3
chore: compute aria text consistently with the role accumulated text ( #33157 )
2024-10-17 17:06:18 -07:00
Pavel Feldman
623a8916f9
chore: implement tree w/o list ( #33167 )
2024-10-17 16:57:45 -07:00
Dmitry Gozman
aa952c1b03
fix(html report): generate test snippets when test dir is non-root ( #33162 )
2024-10-17 08:33:15 -07:00
Pengoose
d10a5e5693
feat(testType): add support for test.fail.only method ( #33001 )
2024-10-16 06:47:23 -07: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
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
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
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
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