Ori Livni
655d788c8e
docs(ci): fix wrong CircleCI environment vars ( #19887 )
2023-01-05 11:10:28 +01:00
Dmitry Gozman
388a3e1f37
fix(test runner): make sure to run afterAll after skipped tests ( #19878 )
...
Fixes #19745 .
2023-01-04 14:13:49 -08:00
Oren
59e1437d7f
fix(serviceworker): network inspection works without options.serviceWorkers set ( #19870 )
2023-01-04 13:20:47 -08:00
Dmitry Gozman
6193e6d8ea
fix(reuse): reset tracing ( #19876 )
...
References #19059 .
2023-01-04 13:19:05 -08:00
Anders Kaseorg
afc1774a2b
devops: spell “cherry-pick” correctly in commit messages ( #19850 )
2023-01-04 19:00:53 +01:00
Dmitry Gozman
711a1aadbf
chore: update tracing tests helper ( #19848 )
...
To be reused in future tests.
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2023-01-03 17:30:36 -08:00
Dmitry Gozman
f58015281a
test: attempt to unflake inspector tests ( #19845 )
...
On headed bots, we might get `locator('body')` from initial mouse
position.
2023-01-03 16:26:21 -08:00
Dmitry Gozman
599ae30313
chore: update .net generator with deprecated/discouraged ( #19843 )
2023-01-03 23:03:38 +01:00
Yury Semikhatsky
54c90576c6
docs: clarify what core features are ( #19842 )
2023-01-03 11:30:38 -08:00
Yusuke Iwaki
b2820fccda
docs(python): fix example code of Route.fetch ( #19840 )
2023-01-03 11:05:09 -08:00
Tim Deschryver
9f27b300f4
docs(test-runners): update test runners for .NET ( #19830 )
2023-01-03 10:14:00 +01:00
Hylke Postma
b695478840
fix(driver): AttributeError error when CWD contains space ( #19801 )
2023-01-02 14:36:07 +01:00
Playwright Service
2714e728d0
feat(chromium): roll to r1042 ( #19799 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-02 14:11:44 +01:00
Grant Colestock
a30aac5668
fix: make sure jsx fragments are transformed ( #19755 )
...
Fixes : #19142
2022-12-31 11:08:36 -08:00
Michael Glass
13c5019ac9
fix(playwright-test): _removeOutputDirs called without await always returns truthy ( #19771 )
2022-12-31 11:05:10 -08:00
Andrey Lushnikov
caec93ef42
test: enable ssim-cie94 image comparison algorithm for our tests ( #19313 )
2022-12-29 23:48:28 -08:00
Max Schmitt
fc56afb990
chore: bump json5 to 2.2.2 ( #19783 )
...
We run `npm audit` on our CI and this breaks our builds since ~8 hours,
see
[here](https://github.com/microsoft/playwright/actions/runs/3799667426/jobs/6462399107#step:11:8 ).
This patch runs `npm audit fix` to bump it to 2.2.2 so it will be green
again.
2022-12-29 12:20:28 -08:00
Ross Wollman
359d176ff6
fix(driver): avoid polluting stdout ( #19759 )
...
Relates microsoft/playwright-python#1699 .
2022-12-28 17:09:11 -08:00
Gosha Krikun
166a729386
feat(trace-viewer): add parameters copy to clip ( #19662 )
2022-12-28 17:05:52 -08:00
Sander
b363902e1b
feat(ct): https ( #19697 )
2022-12-28 17:04:23 -08:00
Dmitry Gozman
5cdf118a42
fix(reuse): disable trace/video when reusing the context ( #19764 )
...
Previously, we disabled reuse when trace/video was on. Component testing
keeps this behavior.
References #19059 .
2022-12-28 16:58:34 -08:00
Yury Semikhatsky
137070d889
Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… ( #19756 )
...
…eName (#19442 )"
This reverts commit 92dd734e04
.
2022-12-28 15:39:31 -08:00
Yury Semikhatsky
d912cbf115
docs: add instructions on msedge & chrome installation ( #19753 )
...
Fixes #18511
2022-12-28 15:13:45 -08:00
Yury Semikhatsky
b8f96a9411
fix(generator): FilterOptions in java ( #19741 )
...
Fixes #19448
2022-12-28 09:13:06 -08:00
Dmitry Gozman
0fba4d5611
chore: migrate waitForFunction to not use rerunnable task ( #19730 )
2022-12-27 17:22:44 -08:00
Dmitry Gozman
0b223b9036
fix(hit target): account for iframes with padding ( #19732 )
...
Padding on iframes moves the `documentElement` inside the iframe, so we
should account for it when converting coordinates between frames.
Fixes #19613 .
2022-12-27 16:59:34 -08:00
Dmitry Gozman
3334d89ad7
fix(socks): support ipv6 ( #19727 )
...
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2022-12-27 14:45:35 -08:00
Sander
ba393f51a8
feat(ct): before mount hook wrapper ( #18616 )
2022-12-27 14:26:17 -08:00
Dmitry Gozman
c1b9a56079
chore: migrate waitForSelector to not use rerunnable task ( #19715 )
2022-12-27 13:39:35 -08:00
Dmitry Gozman
24f2ccb4ca
feat(getByLabel): support aria-label ( #19726 )
...
References #19284 .
2022-12-27 12:43:55 -08:00
Dmitry Gozman
3ad65e7ce8
fix(launchServer): disable socks by default ( #19723 )
...
Socks does not support ipV6 yet.
References #19661 .
2022-12-27 10:43:36 -08:00
Dmitry Gozman
1bb019ac81
chore: migrate most of rerunnable tasks to element callback ( #19713 )
2022-12-27 09:22:22 -08:00
Jonah
3bfea1bc02
docs: Update system requirements URL in README ( #19675 )
2022-12-27 09:14:57 -08:00
Sander
c5d9b8d0fb
chore: update to vite 4 ( #19690 )
2022-12-27 09:14:39 -08:00
Sang Nguyen
f88b22d0c0
docs: fix wrong waitForResponse example in Node.js ( #19701 )
2022-12-27 09:12:43 -08:00
Dave Guarino
cb0688bb52
docs(showcase.md): add links to Ruby port ( #19712 )
2022-12-27 09:11:08 -08:00
Dmitry Gozman
0087bfac23
fix(role): update allowsNameFromContent to closer align with blink/gecko ( #19692 )
2022-12-27 09:06:46 -08:00
Pavel Feldman
7f5cd0aa8b
test(events): ensure events are dispatched in individual tasks ( #19687 )
...
Test for https://github.com/microsoft/playwright/issues/19685
2022-12-27 08:59:03 -08:00
Dmitry Gozman
cce29215f9
chore: make input actions not use rerunnable task ( #19638 )
2022-12-24 10:40:36 -08:00
Max Schmitt
d5881b8d48
docs: test runner first inside Node.js docs ( #19659 )
2022-12-23 10:57:29 +01:00
Pavel Feldman
e61a8c6592
fix(generator): penalize for the selector length ( #19672 )
2022-12-22 20:54:04 -08:00
Pavel Feldman
233664bd30
chore: report more fatal errors via reporter ( #19640 )
2022-12-22 17:31:02 -08:00
Pavel Feldman
8b80e22a03
fix(har): recalculate receive time after response ended ( #19646 )
...
Fixes https://github.com/microsoft/playwright/issues/19327
2022-12-22 17:30:32 -08:00
Pavel Feldman
fe989d95eb
chore(electron): move loader to be preload ( #19650 )
...
Fixes https://github.com/microsoft/playwright/issues/19648
2022-12-22 17:28:08 -08:00
Dmitry Gozman
83418aa8ab
fix(socks): cleanup event listeners upon disconnect ( #19671 )
...
References #19661 .
2022-12-22 17:15:51 -08:00
Ross Wollman
06c7f1fb6c
fix(html): test and fix reporter timing display ( #19670 )
...
#19576 introduced a regression where the CLI reporters displayed some
times with way too many decimals. e.g. 7.123456789ms.
Prior to #19576 , there were two monotonicTime implementations; that PR
updated the reporters to use the common definition that had existed in
utils.ts. However, that introduced a regression in the base.ts reporters
which used the ms duration humanizing package which did not account for
the more precise decimals used by the shared monotonicTime function.
This fix removes the dependency on the third-party ms package and now
consistently uses Pavel's humanize function which the HTML reporter had
been using and proved to have better defaults for decimals.
Additionally, we add more test coverage to limit future regressions
since this was caught in passing.
Closes #19556 .
Relates #19576 .
2022-12-22 15:57:55 -08:00
Pavel Feldman
a248be86ce
docs: http auth via config ( #19643 )
...
Fixes https://github.com/microsoft/playwright/issues/19630
2022-12-21 18:19:02 -08:00
Yury Semikhatsky
2922eec8e9
chore: since for classes in api.json ( #19639 )
2022-12-21 16:30:01 -08:00
Dmitry Gozman
e12cf19012
chore: refactor frame.expect to not use rerunnable task ( #19626 )
2022-12-21 15:31:08 -08:00
Dmitry Gozman
b8848fb499
fix(test runner): make sure undefined options in config result in default values ( #19632 )
...
Note: this keeps existing behavior of `undefined` in `test.use()`
reverting to the config value and not to the original default value.
References #19615 .
2022-12-21 14:34:43 -08:00