Pavel Feldman
09ff7eaaf2
chore: throw on context.close() if it was closed externally ( #21347 )
2023-03-02 13:46:54 -08:00
Pavel Feldman
57624bc01b
chore: ui mode ui improvements ( #21325 )
2023-03-02 13:45:15 -08:00
Sander
2cbde9b8ef
chore(ct): vue2 import h from vue ( #21035 )
2023-03-02 13:43:08 -08:00
Sander
d58d833daf
fix(ct): solid and react JS as child ( #20125 )
2023-03-02 13:40:51 -08:00
Dmitry Gozman
0b300f455c
fix(test runner): empty dependency should not skip other projects ( #21354 )
...
References #21270 .
2023-03-02 13:32:23 -08:00
Playwright Service
b7dd226edd
feat(chromium): roll to r1052 ( #21353 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 22:07:20 +01:00
Playwright Service
0ce5651975
feat(webkit): roll to r1805 ( #21349 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 22:07:05 +01:00
Max Schmitt
e1e69cbbcc
fix(cli): pdf/screenshot did not save artifacts ( #21352 )
...
As of today we support CLI argument wise `--save-storage` and
`--save-har` in pdf/screenshot CLI command. But they are not working,
since we just close the browser rather than the context where we take
care of saving the artifacts.
`launchContext` has 4 usages:
- open/codegen there closing the browser / `SIGINT` will close it
gracefully
- pdf/screenshot there we will now close the page which will then
[here](b00579edb7/packages/playwright-core/src/cli/cli.ts (L503)
)
close the browser.
I did not find any tests except the [installation
test](3e84ab4701/tests/installation/playwright-cli-screenshot-should-work.spec.ts
),
I'm happy to add one for both command if requested.
Fixes https://github.com/microsoft/playwright/issues/20718
2023-03-02 22:05:39 +01:00
Yury Semikhatsky
b00579edb7
fix(trace): do not show duration tooltip for events ( #21342 )
...
Fixes https://github.com/microsoft/playwright/issues/21255
2023-03-02 11:31:10 -08:00
Debbie O'Brien
744739a3d0
docs: improve config for test parallel ( #21333 )
2023-03-02 18:49:41 +01:00
Debbie O'Brien
e10199fd5a
docs: retries update to add configuration ( #21338 )
2023-03-02 08:33:30 -08:00
Andrey Lushnikov
bfc895787f
fix(firefox): fix reload with hash URLs ( #21322 )
...
Fixes #21145
2023-03-01 18:56:30 -08:00
Pavel Feldman
e64d0ae556
chore: update trace every time it is loaded ( #21323 )
2023-03-01 17:42:50 -08:00
Yury Semikhatsky
3b800344b0
fix(oopif): get response body from adopting frame ( #21324 )
...
Fixes https://github.com/microsoft/playwright/issues/20809
2023-03-01 17:18:58 -08:00
Dmitry Gozman
a1ba6757e0
feat(typescript): allow declare
for class properties ( #21281 )
...
This enables `allowDeclareFields` flag that allows code like:
```ts
class Foo {
declare prop: string;
}
```
Declaring is a workaround for inheritance vs property initialization
issues.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier
For `allowDeclareFields` to work, we have to run
plugin-transform-typescript before plugin-proposal-class-properties and
few others, so this change migrates from preset-typescript that always
runs last to individual plugin-transform-typescript, and reorders some
plugins.
References #21119 .
2023-03-01 16:43:17 -08:00
Max Schmitt
6a7347f134
chore: have pretty error if CT config has no defineConfig ( #21318 )
...
Fixes https://github.com/microsoft/playwright/issues/21312
2023-03-02 00:47:05 +01:00
Dmitry Gozman
d9b0c58b96
fix(trace viewer): force https requests from https snapshots ( #21317 )
...
Set 'Content-Security-Policy: upgrade-insecure-requests' header for
snapshots to force all `http` subresources into `https` and avoid
blocked resources because of mixed-content.
References #21263 .
2023-03-01 15:32:39 -08:00
Pavel Feldman
e222874445
chore: ui mode first cut ( #21291 )
2023-03-01 15:27:23 -08:00
Pavel Feldman
c42a1205b1
chore: do not generate history entries on snapshot switch ( #21283 )
2023-03-01 13:44:58 -08:00
Pavel Feldman
2cbafd7adf
chore: mark waitForNavigation as deprecated consistently ( #21309 )
2023-03-01 12:40:50 -08:00
Pavel Feldman
54dfe5378d
chore: point to pwt cli, a direct dependency ( #21311 )
2023-03-01 12:17:43 -08:00
Andrey Lushnikov
4d3b056f27
test: add more tests for reload ( #21296 )
...
Make sure `page.reload()` doesn't reload a related popup and
only reloads target page.
2023-03-01 10:52:55 -08:00
Yury Semikhatsky
f8100bbb25
fix: expect unquoted npde.exe path ( #21307 )
...
* It is more common to set env variable value without quotes on Windows
(see the bug)
* Use defined to check for string presence, it will work nicely with
strings that contain whitespaces
https://github.com/microsoft/playwright-java/issues/1213
2023-03-01 09:16:23 -08:00
Yury Semikhatsky
60e5a93832
fix(store): support text and binary values ( #21006 )
2023-03-01 08:49:31 -08:00
Playwright Service
d12d35f124
feat(firefox): roll to r1384 ( #21271 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-01 10:25:43 +01:00
Playwright Service
c7df9e6bcb
feat(firefox-beta): roll to r1386 ( #21276 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-01 00:40:22 -08:00
Dmitry Gozman
b343d453bc
fix(trace viewer): allow http/https mismatch when deployed as https ( #21289 )
...
References #21263 .
2023-02-28 17:08:46 -08:00
Pavel Feldman
933332ad97
chore: fix trace modernizer ( #21286 )
2023-02-28 16:49:14 -08:00
Andrey Lushnikov
b607c92651
test: add a regression test for reload bug in firefox ( #21282 )
...
References https://github.com/microsoft/playwright/issues/20791
2023-02-28 16:05:12 -08:00
Pavel Feldman
de3a5e2a91
chore(trace): include expect steps in a trace ( #21199 )
2023-02-28 13:26:23 -08:00
Dmitry Gozman
27027658dc
chore: fix all Proxy() to account for symbol properties ( #21272 )
...
Fixes #20940 .
2023-02-28 12:45:14 -08:00
Debbie O'Brien
9b78b7151e
docs: improve running tests ( #21266 )
2023-02-28 20:58:24 +01:00
Debbie O'Brien
d0d1d144f1
docs: Browsers page rework ( #21051 )
2023-02-28 18:09:44 +01:00
Pavel Feldman
0961c48313
Update bug.md
...
Strong-require repro steps.
Signed-off-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-02-28 08:57:46 -08:00
Playwright Service
274939eaf8
feat(chromium-tip-of-tree): roll to r1090 ( #21257 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-28 14:08:41 +01:00
Playwright Service
c5c6d7afad
feat(firefox-beta): roll to r1385 ( #21258 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-28 14:05:31 +01:00
Playwright Service
f11febd232
feat(firefox): roll to r1383 ( #21254 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-28 14:05:21 +01:00
Playwright Service
daf914b398
feat(webkit): roll to r1803 ( #21241 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-28 08:53:08 +01:00
Pavel Feldman
81bd637d94
chore: merge traces into a single zip file ( #21242 )
2023-02-27 22:31:47 -08:00
Everton Eckert Schneider
cb5a4845b3
docs: delete the URI /wd/hub Selenium Grid addresses. ( #20971 )
...
Selenium 4 does not use `/wd/hub` as part of the Hub URI.
As seen in the example
https://www.selenium.dev/documentation/grid/getting_started/#metadata-in-tests ,
it registers the Selenium Grid URL simply as `http://gridUrl:4444 ` (no
`/wd/hub`).
When trying to access the URL ending with `/wd/hub`, it returns the
message 'Unable to find handler for (GET) \u002fwd\u002fhub'.
Signed-off-by: Everton Eckert Schneider <everton.schneider@gmail.com>
2023-02-27 19:47:19 -08:00
Dmitry Gozman
b4bfbb20f6
chore: update selenium 4 tests to not use /wd/hub ( #21240 )
2023-02-27 19:43:49 -08:00
Yury Semikhatsky
cfdddcf9ba
fix(runner): finish dispatching if remaining tests were skipped ( #21238 )
...
Fixes #21226
2023-02-27 17:20:30 -08:00
Dmitry Gozman
cabeb42c8c
chore: update selenium tests from 4.0.0-rc1 to 4.4.0 ( #21235 )
2023-02-27 16:58:08 -08:00
Pavel Feldman
22d82b6e1b
chore: flatten metadata in trace events ( #21214 )
2023-02-27 15:29:20 -08:00
NoamGaash
e17e0e40f8
feat(routeFromHAR): add arguments ( #21223 )
2023-02-27 15:27:38 -08:00
Tarnay Kálmán
e28801f6ef
fix(snapshot): render srcdoc iframe snapshots ( #21003 )
2023-02-27 13:34:39 -08:00
Sander
0cd39cf002
test(ct): vue cli slot tests ( #21028 )
2023-02-27 12:53:44 -08:00
Joel Einbinder
eba86fcc53
fix(doc): electron evaluate evaluates in electron not worker ( #20892 )
2023-02-27 12:49:25 -08:00
Max Schmitt
960c7ebb7e
test: fix webview2 globalSetup ( #21220 )
2023-02-27 17:39:07 +01:00
Leo Sklyut
6c3d35fa58
fix(junit): use the JUnit schema's specified ISO format for timestamp ( #21062 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-02-27 11:04:22 +01:00