Yury Semikhatsky
896190edbb
Revert feat(addInitScript): support cjs modules ( #32364 )
...
Reverting https://github.com/microsoft/playwright/pull/32282 and
https://github.com/microsoft/playwright/pull/32240 .
2024-08-28 15:39:48 -07:00
Yury Semikhatsky
d8137f228f
docs: update snippets to fix typescript errors ( #32363 )
...
Reference: https://github.com/microsoft/playwright/issues/9468
2024-08-28 14:24:01 -07:00
Yury Semikhatsky
22fe985c54
docs: add SUPPORT.md ( #32362 )
2024-08-28 11:01:34 -07:00
Yury Semikhatsky
5271fe1f26
chore: remove unused request param from route.continue ( #32307 )
2024-08-28 08:24:44 -07:00
Playwright Service
d61b207ce3
feat(webkit): roll to r2066 ( #32343 )
...
Fixes https://github.com/microsoft/playwright/issues/30305
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-08-28 08:23:39 -07:00
Pavel Feldman
ec681ca78c
chore: pass explicit recorder app factory ( #32349 )
2024-08-27 20:24:19 -07:00
Pavel Feldman
0b5456d00b
chore: perform action based on frame path ( #32347 )
2024-08-27 17:17:57 -07:00
Yury Semikhatsky
acd2a4ddad
docs: global beforeEach/beforeAll hooks ( #32348 )
...
Fixes https://github.com/microsoft/playwright/issues/9468
2024-08-27 17:04:53 -07:00
Yury Semikhatsky
0fd97cb9ed
tests: delete flaky COOP test ( #32346 )
...
The scenario that the test covers is inherently racy and has been flaky
in all browsers.
Fixes https://github.com/microsoft/playwright/issues/32107
2024-08-27 14:53:27 -07:00
Pavel Feldman
a1df11011c
chore: split recorder into files ( #32345 )
2024-08-27 14:10:21 -07:00
Pavel Feldman
bc87467b25
chore: generate simple dom descriptions in codegen ( #32333 )
2024-08-27 11:52:14 -07:00
Yury Semikhatsky
3f085d5689
chore: remove same-site expectations for old browsers ( #32334 )
2024-08-26 18:41:58 -07:00
Pavel Feldman
177576a51b
chore: add simple dom util ( #32332 )
2024-08-26 16:28:40 -07:00
Pavel Feldman
6f55b57e5a
chore: move codegen into its own folder ( #32330 )
2024-08-26 15:24:02 -07:00
Yury Semikhatsky
888a5b53e7
docs: avoid confustion with incognito mode ( #32327 )
...
Fixes https://github.com/microsoft/playwright/issues/32321
2024-08-26 11:02:41 -07:00
Pavel Feldman
4340d153df
chore: deprecate locator.frameLocator() ( #32306 )
2024-08-26 10:28:54 -07:00
Pavel Feldman
3d9342aa77
chore: update removeAllListeners docs ( #32305 )
...
Closes https://github.com/microsoft/playwright/issues/31474
2024-08-26 09:29:02 -07:00
Max Schmitt
67d3d5f203
fix(clock): don't throw for |null| or |undefined| callbacks ( #32309 )
...
Fixes https://github.com/microsoft/playwright/issues/32293
This aligns it how Chromium and other browsers are doing it.
2024-08-26 09:26:38 -07:00
Max Schmitt
54709880c2
test: update Modernizir expectations ( #32308 )
...
Looks like `hiddenscroll` was different when an external monitor was
connected.
2024-08-26 08:32:22 -07:00
Max Schmitt
596f497633
fix: don't throw error on about:blank when blocking ServiceWorker ( #32310 )
...
Fixes https://github.com/microsoft/playwright/issues/32292
2024-08-26 08:27:21 -07:00
Playwright Service
5acd2dbf48
feat(webkit): roll to r2065 ( #32322 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-26 10:25:59 +02:00
Simon Knott
1511d8643e
fix(test runner): expect.poll error reporting should handle non-expect errors ( #32257 )
...
Closes https://github.com/microsoft/playwright/issues/32256
We were expecting all errors to be of type `ExpectError`, but apparently
`expect` propagates rejections in the polling functions right through.
So we also need to handle that case.
I wonder if we have more cases of this. Would it make sense to enable
`useUnknownInCatchVariables` in TypeScript?
2024-08-26 09:39:25 +02:00
Playwright Service
9c81eab329
feat(webkit): roll to r2064 ( #32319 )
2024-08-26 06:56:08 +02:00
Max Schmitt
54c487c939
test: unskip 'should use ipv6 proxy' for Docker
2024-08-24 11:49:18 +02:00
Dmitry Gozman
abe6c04a54
chore: remove noWaitAfter
from selectOption ( #32283 )
...
This follows removing this option from other methods in v1.46. The two
methods still supporting `noWaitAfter` are `click` and `press`.
2024-08-23 14:50:43 -07:00
Pavel Feldman
9d86bc5336
fix(dupe): render dupe test error indicator ( #32303 )
...
Fixes https://github.com/microsoft/playwright/issues/32093
2024-08-23 14:33:37 -07:00
Pavel Feldman
37eb66df10
chore: extract performAction in recorder ( #32279 )
2024-08-23 10:19:44 -07:00
Pavel Feldman
4edc076935
chore: load env from playwright.env when running codegen ( #32280 )
2024-08-23 10:19:36 -07:00
Playwright Service
8703dd4f06
feat(webkit): roll to r2063 ( #32295 )
2024-08-23 17:57:18 +02:00
Max Schmitt
0d4d5758c4
test: update Modernizer tests to Safari 18 ( #32290 )
...
Fixes https://github.com/microsoft/playwright/issues/32288
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-08-23 16:59:55 +02:00
Max Schmitt
787f20c920
chore: fix doclint ( #32294 )
2024-08-23 16:26:39 +02:00
Max Schmitt
1b220c5289
chore: remove Chromium Windows proxy hacks ( #31724 )
...
Fixes https://github.com/microsoft/playwright/issues/17252
2024-08-23 15:17:00 +02:00
Dmitry Gozman
9a5b72d02a
chore: remove TestInfoImpl._stages
( #32285 )
...
This is a preparation to a bigger stages cleanup.
2024-08-23 06:16:18 -07:00
Simon Knott
3fb33e7144
chore(ui): decouple TestServerConnection from websocket transport ( #32274 )
...
Preparation for https://github.com/microsoft/playwright/issues/32076 .
2024-08-23 14:58:34 +02:00
Dmitry Gozman
785ca19e51
fix(webserver): prefix each line of webserver output ( #32286 )
...
This unflakes various `web-server.spec.ts` tests and makes the output
more consistent.
2024-08-23 03:52:27 -07:00
Max Schmitt
8c0e173d6c
test: rebase modernizer Linux tests ( #32268 )
2024-08-23 12:51:49 +02:00
Dmitry Gozman
3a75f23ea1
fix(addInitScript): require non-undefined arg to trigger commonjs module ( #32282 )
2024-08-23 02:48:56 -07:00
Simon Knott
0b9c036505
chore(ui): add test for font preview ( #32225 )
...
Adds a test for the font preview feature.
2024-08-22 17:56:07 +02:00
Playwright Service
947fbc8590
feat(chromium-tip-of-tree): roll to r1253 ( #32266 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-22 17:43:39 +02:00
Simon Knott
850436c656
chore(ui): move TeleSuiteUpdater into testIsomorphic ( #32273 )
...
Preparation for https://github.com/microsoft/playwright/issues/32076 .
2024-08-22 17:29:10 +02:00
Max Schmitt
16e76cb71a
fix(client-certificates): errors during http2 TLS handshake ( #32258 )
2024-08-22 15:13:54 +02:00
Simon Knott
5368fd7ca7
fix(only-changed): exit successfully if there were no changes ( #32197 )
...
Closes https://github.com/microsoft/playwright/issues/32180
I was briefly wondering if we should output a log line a la "no tests
found", but my understanding is that that's the reporters job - so I
didn't change anything in that regard.
2024-08-22 14:53:00 +02:00
Dmitry Gozman
7758b330b1
fix(ui mode): make sure that reload does correctly restart the webserver ( #32263 )
...
Fixes #32103 .
2024-08-22 05:48:31 -07:00
Dmitry Gozman
dc4a8e48eb
docs(fixtures): explain an option array value edge case ( #32261 )
...
Closes #32033 .
2024-08-22 05:47:19 -07:00
Playwright Service
f74c6d77db
chore(driver): roll driver to recent Node.js LTS version ( #32264 )
2024-08-22 12:07:44 +02:00
Max Schmitt
666a8f22cf
chore: fix api.json serializer for language ports ( #32260 )
...
Fixes https://github.com/microsoft/playwright/issues/32241
2024-08-22 10:15:47 +02:00
Max Schmitt
e3480d1886
test: add test for TLS renegotiation and client-certificates ( #32252 )
2024-08-22 08:42:09 +02:00
Dmitry Gozman
571f25a7d3
fix(role): hidden pseudos should not contribute to accessible name ( #32251 )
2024-08-21 11:14:41 -07:00
Dmitry Gozman
d5a7495041
feat(addInitScript): support cjs modules when passing both path
and arg
( #32240 )
...
This works with scripts bundled by:
- `esbuild entrypoint.ts --bundle --format=cjs --outfile=injected.js`
- webpack with a typical config
```js
module.exports = {
entry: { 'injected': './entrypoint.js', },
output: {
path: require('path').resolve(__dirname),
filename: '[name].js',
libraryTarget: 'commonjs2',
},
};
```
2024-08-21 09:46:38 -07:00
Guillaume M
837e2a883b
docs(browsers): fix typo ( #32250 )
2024-08-21 17:35:47 +02:00