Dmitry Gozman
b72e3a3eba
fix(role): explicitly hidden aria-labelledby should be recursively traversed ( #30402 )
...
The accessible name computation spec has changed to explicitly mention
this case:
Step 2A. Hidden Not Referenced. If the current node is hidden and is:
- Not part of an aria-labelledby or aria-describedby traversal, where
the node directly referenced by that relation was hidden.
- Nor part of a native host language text alternative element (e.g.
label in HTML) or attribute traversal, where the root of that traversal
was hidden.
See https://w3c.github.io/accname/#computation-steps . Chromium, Firefox
and Safari all agree with the spec.
Fixes #29796 .
2024-04-17 11:22:09 -07:00
Mateusz Burzyński
82aefd24db
types: allow readonly tuples to be used as ReporterDescription
( #30387 )
...
This makes it easier to create helper functions like:
```ts
function createReporter(options: MyOptions) {
return ['my-reporter', options] as const
}
```
At the moment, such functions can't be passed to `reporters` because a
readonly array is not assignable to the expected mutable array.
Playwirght certainly doesn't require those arrays to be mutable so it
would make sense to relax this.
2024-04-16 17:39:11 -07:00
Yury Semikhatsky
cda1c945af
test: web assertion inside expect.poll ( #30391 )
...
Reference https://github.com/microsoft/playwright/issues/30322
2024-04-16 17:37:25 -07:00
Yury Semikhatsky
3bdbe4284e
fix(steps): make expect.toPass and expect.poll step containers ( #30389 )
...
Fixes https://github.com/microsoft/playwright/issues/30322
2024-04-16 16:18:37 -07:00
Yury Semikhatsky
73fce8fb98
chore: replace Zones with AsyncLocalStorage ( #30381 )
...
Reference https://github.com/microsoft/playwright/issues/30322
2024-04-16 12:51:20 -07:00
Yury Semikhatsky
3cea17abb6
fix: shut down workers before reporter.onEnd ( #30329 )
2024-04-16 09:49:11 -07:00
Peng Xiao
58187075c8
fix: running electron tests on windows for node 20.12.2 ( #30382 )
2024-04-16 17:41:19 +02:00
Playwright Service
78793e05ff
feat(chromium): roll to r1114 ( #30385 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-16 13:55:36 +02:00
Max Schmitt
563c9baf00
devops: migrate html merge upload to Azure Federate credentials
2024-04-16 13:16:40 +02:00
Playwright Service
e2c1efad9e
feat(chromium-tip-of-tree): roll to r1212 ( #30380 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-16 07:33:17 +02:00
OKURA Masafumi
af634c2e1b
Fix a grammar mistake in ui-mode doc ( #30378 )
2024-04-15 15:24:04 -07:00
Dmitry Gozman
a6a44a07a7
chore: align crServiceWorker with crPage ( #30367 )
...
Simplify network-related methods because crNetworkManager already
handles initial/non-initial calls.
2024-04-15 11:09:38 -07:00
Playwright Service
950e2af44c
feat(webkit): roll to r2000 ( #30374 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-15 18:47:31 +02:00
Christopher Dunderdale
f7e612fb4b
docs(auth): small improvement to .NET storageState example ( #30313 )
2024-04-15 10:32:12 +02:00
Yury Semikhatsky
6ad48fb594
chore: make step test expectations readable ( #30362 )
...
Reference https://github.com/microsoft/playwright/issues/30322
2024-04-13 20:07:18 -07:00
Playwright Service
80e725b5a3
feat(chromium): roll to r1113 ( #30364 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-13 14:04:30 +02:00
Yury Semikhatsky
c4418875d3
chore: do skip failing test ( #30361 )
2024-04-12 15:47:13 -07:00
Yury Semikhatsky
dc1077c5a2
test: steps inside expect.toPass ( #30359 )
...
Reference https://github.com/microsoft/playwright/issues/30322
2024-04-12 14:51:10 -07:00
Max Schmitt
a467312731
fix(snapshotter): remove noscript when javaScriptEnabled is undefined ( #30355 )
2024-04-12 20:26:52 +02:00
Max Schmitt
56a7adeb8a
test: unflake 'should not include trace resources from the previous chunks' test ( #30257 )
2024-04-12 19:48:53 +02:00
Yury Semikhatsky
1ef85015f3
fix(merge): preserve static annotations on the tests that did not run ( #30348 )
...
Fixes https://github.com/microsoft/playwright/issues/30260
2024-04-11 16:17:57 -07:00
Max Schmitt
2b5488902a
docs(mock): fix typo ( #30346 )
...
Fixes https://github.com/microsoft/playwright/issues/30326
2024-04-11 11:37:44 -07:00
Playwright Service
1ab40d8860
feat(webkit): roll to r1999 ( #30343 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 19:09:46 +02:00
Max Schmitt
96053ed0b5
Revert "fix(reuse): reset Origin Private File System API ( #29921 )" ( #30342 )
...
This reverts commit 048d6669fd
.
This change caused the crash for
https://github.com/microsoft/playwright/issues/30339#issuecomment-2049870789 .
If we don't execute this code, it does not crash.
Reverting it for now until the Chromium fix lands in Beta/Stable.
2024-04-11 19:07:15 +02:00
Playwright Service
15c29f4a91
chore(driver): roll driver to recent Node.js LTS version ( #30332 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 12:14:29 +02:00
Max Schmitt
bff9f30b6f
test: add test for 'should parse cookie with large Max-Age correctly' ( #30323 )
2024-04-10 22:13:01 +02:00
Yury Semikhatsky
01d4293803
chore: class link generation in release notes ( #30324 )
2024-04-10 10:05:54 -07:00
Max Schmitt
15b423106f
fix(ui-mode): do not loose run information after writing into testDir ( #30312 )
...
Partially reverts https://github.com/microsoft/playwright/pull/30008
that started to reset all test results upon listing tests, including the
test that did just run and triggered re-listing.
https://github.com/microsoft/playwright/issues/30300 .
2024-04-10 19:01:51 +02:00
Max Schmitt
b2ded9fed1
fix(expect): throw better received error when no element was found ( #29890 )
...
Fixes https://github.com/microsoft/playwright/issues/29873
2024-04-10 10:01:19 +02:00
Playwright Service
b5e36583f6
feat(webkit): roll to r1998 ( #30310 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 16:19:58 +02:00
Playwright Service
f9b97fa125
feat(chromium-tip-of-tree): roll to r1210 ( #30308 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 15:10:26 +02:00
Playwright Service
f67ad68bd2
chore(driver): roll driver to recent Node.js LTS version ( #30306 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 12:37:26 +02:00
Max Schmitt
47a7a3af90
devops: fix 'bump driver Node.js' workflow
2024-04-09 12:35:13 +02:00
Max Schmitt
108b250d86
fix(docker): set default shell encoding ( #30288 )
...
This seems to be common practise, as per
[here](https://github.com/search?q=org%3Amicrosoft%20%2FENV%20LANG%3DC.UTF-8%2F&type=code ).
Fixes https://github.com/microsoft/playwright/issues/30245
Fixes https://github.com/microsoft/playwright/issues/28642
2024-04-09 09:14:35 +02:00
Max Schmitt
86cc252da2
docs: add v1.43 release notes for language ports ( #30263 )
2024-04-09 09:03:58 +02:00
Playwright Service
62ae71f96a
feat(webkit): roll to r1997 ( #30295 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 19:01:49 +02:00
Playwright Service
8deb44cd37
feat(webkit): roll to r1996 ( #30291 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 14:16:01 +02:00
Sander
1a34c85886
chore(ct): bump vite to v5.2.8 ( #30264 )
2024-04-08 09:48:05 +02:00
Jean-François Greffier
aef2d3879c
docs(components): fix hooks imports in components test examples ( #30282 )
2024-04-08 09:46:01 +02:00
Dmitry Gozman
a6827772a5
fix(esmLoader): unref MessagePort in the main thread ( #30271 )
...
This prevents the process from not exiting forever due to an open port.
2024-04-06 14:25:57 -07:00
Yury Semikhatsky
3e03c800df
chore: resolve config location earlier ( #30275 )
...
Reference https://github.com/microsoft/playwright/issues/29768
2024-04-05 19:32:56 -07:00
Yury Semikhatsky
9e89f292bf
chore: remove usage of configFile from junit reporter ( #30273 )
...
Reference https://github.com/microsoft/playwright/issues/29768
2024-04-05 15:44:00 -07:00
Dmitry Gozman
adc645d3cb
docs: note that sharding only works for parallel tests ( #30272 )
...
References #30253 .
2024-04-05 11:05:20 -07:00
Pavel Feldman
3cea258a9c
chore: expose clear cache to test server ( #30268 )
2024-04-05 09:31:34 -07:00
Pavel Feldman
5043bd55dc
chore: move dev server to config-based framework extensibility ( #30234 )
2024-04-05 08:39:51 -07:00
Dmitry Gozman
e18a358bc6
test: check that ESM loader works without config with type:module ( #30258 )
2024-04-05 07:03:27 -07:00
Yury Semikhatsky
7ad255301f
docs: fix C# and python snippets ( #30232 )
2024-04-04 13:49:15 -07:00
dependabot[bot]
996b1ce390
chore(deps-dev): bump undici from 5.28.3 to 5.28.4 ( #30252 )
2024-04-04 21:09:24 +02:00
Dmitry Gozman
5d810f1e07
chore: roll stable test runner to 1.43.0-beta-1712217576000 ( #30250 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-04-04 11:26:03 -07:00
Dmitry Gozman
d5907f4b13
feat(junit): includeProjectInTestName option ( #30233 )
...
Fixes #30246 .
2024-04-04 11:04:51 -07:00