Yury Semikhatsky
e9fe663e89
cherry-pick( #21104 ): chore: consolidate http/https fetching ( #21284 )
...
Fixes #21227
Fixes https://github.com/microsoft/playwright/issues/20784 Supersedes
https://github.com/microsoft/playwright/pull/21076
2023-03-01 12:55:49 -08:00
Pavel Feldman
249825f1ac
cherry-pick( #21311 ): chore: point to pwt cli, a direct dependency
2023-03-01 12:18:52 -08:00
Yury Semikhatsky
db82ae0179
cherry-pick( #21238 ): fix(runner): finish dispatching if remaining tes… ( #21239 )
...
…ts were skipped
Fixes #21226
2023-02-27 18:41:53 -08:00
Pavel Feldman
4b3932de9a
cherry-pick( #21169 ): fix(trace): update snapshot on keyboard selection
2023-02-23 14:40:45 -08:00
Andrey Lushnikov
81d23946e8
chore: mark 1.31.1 ( #21123 )
2023-02-22 19:01:42 -08:00
Andrey Lushnikov
a4a3f722ba
fix: use fixed Chromium on windows ( #21111 )
...
Fixes #21093
2023-02-22 16:05:28 -08:00
Nowell Strite
53ecdf7db6
cherry-pick( #21106 ): fix(loader): experimentalLoader with node@18
...
There is currently a bug when running `node@18.14.2` when running with
experimentalLoader
```
TypeError: The URL must be of scheme file
at new NodeError (node:internal/errors:399:5)
at Object.fileURLToPath (node:internal/url:1492:11)
at resolve (./node_modules/@playwright/test/lib/experimentalLoader.js:39:48)
at nextResolve (node:internal/modules/esm/loader:163:22)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:24)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:21)
```
This came from my test `vrt.spec.ts` which had a non package import
inside of it
```ts
import fs from "node:fs/promises"
```
The test run failed due to node imports not returning fileUrls when
resolved.
---------
Co-authored-by: Nowell Strite <nstrite@nvidia.com>
2023-02-22 15:02:39 -08:00
Playwright Service
725dd8b4b1
cherry-pick( #21010 ): chore: align js routing logic with other langs ( #21036 )
...
This PR cherry-picks the following commits:
- ae05808f4b
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-20 16:29:43 +01:00
Dmitry Gozman
bb3b96e433
cherry-pick( #20933 ): chore: 1.31 release notes for js
2023-02-17 17:52:09 -08:00
Andrey Lushnikov
d32d466f2f
cherry-pick( #20998 ): fix: stricter condition for Firefox codegen tests workaround
...
This patch fixes the following tests on WebKit @ Darwin:
- library/inspector/cli-codegen-2.spec.ts:197:7 › cli codegen › should
download files
- library/inspector/cli-codegen-2.spec.ts:428:7 › cli codegen › should
update hover model on action
2023-02-17 23:20:51 +03:00
Pavel Feldman
31ace756d8
cherry-pick( #20973 ): chore: fix cli executable bits
2023-02-16 19:51:45 -08:00
Dmitry Gozman
07af3c1439
cherry-pick( #20962 ): chore: fix docs for python and java ( #20964 )
2023-02-16 13:49:53 -08:00
Andrey Lushnikov
a8542d86cf
cherry-pick( #20960 ): fix: simplify protocol for toBeInViewport
2023-02-17 01:02:55 +06:00
Pavel Feldman
8d3481ea22
cherry-pick( #20937 ): chore: minor trace viewer UI tweaks
2023-02-16 08:18:29 -08:00
Pavel Feldman
24be5c2881
cherry-pick( #20927 ): chore(junit): render project as an agent name / hostname
2023-02-16 08:18:05 -08:00
Dmitry Gozman
6d152e9b2f
chore: mark v1.31.0 ( #20931 )
2023-02-15 17:20:09 -08:00
Yury Semikhatsky
90c4e6f9b2
chore: revert sharded html report ( #20923 )
...
We've decided not to ship it in the current form.
#10437
2023-02-15 12:38:03 -08:00
Andrey Lushnikov
4feb7c9e3b
fix: best-effort support for KDE Neon ( #20920 )
...
This is a yet-another linux distribution based on Ubuntu.
Fixes #20838
2023-02-15 09:13:14 -08:00
Andrey Lushnikov
5f9e2f3db9
chore: fix inspector cli firefox tests flakiness ( #20919 )
2023-02-15 09:12:37 -08:00
Pavel Feldman
08be39a80e
fix(watch): fix the tests on win ( #20844 )
2023-02-14 14:55:49 -08:00
Playwright Service
550fefaa6f
feat(firefox-beta): roll to r1380 ( #20894 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-14 14:17:47 -08:00
Playwright Service
6546f1d082
feat(firefox): roll to r1378 ( #20891 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-14 14:16:38 -08:00
Pavel Feldman
7f0763d789
chore: hide watch mode, it is not ready ( #20905 )
2023-02-14 13:22:44 -08:00
Pavel Feldman
798696a18a
chore: fix context reuse disposal ( #20876 )
...
Fixes: https://github.com/microsoft/playwright/issues/20409
2023-02-14 12:56:47 -08:00
Andrey Lushnikov
72942e81d5
chore: fixes to toBeInViewport ( #20870 )
2023-02-13 15:21:40 -08:00
Andrey Lushnikov
94b859f471
feat: roll Firefox and Firefox Beta ( #20878 )
...
Fixes #20791
2023-02-13 15:21:05 -08:00
Sander
ec17a1ac75
chore(ct): bump packages ( #20724 )
2023-02-13 13:19:59 -08:00
Andrey Lushnikov
3a685ecae4
fix: hide highlight in recorder before toHaveScreenshot command ( #20874 )
...
Fixes #20866
2023-02-13 13:15:55 -08:00
Dmitry Gozman
6d03211439
fix(test runner): --list should ignore '.only' annotations ( #20868 )
2023-02-13 11:13:30 -08:00
Andrey Lushnikov
fdcd7b549d
chore: mark comparator option back as experimental ( #20816 )
...
This reverts commit 303c5998f8 .
Reason for revert: I tried enabling `ssim-cie94` by default on
ionic-framework test suite, and it proves to be overly strict for their
usecase.
2023-02-13 11:11:44 -08:00
Joel Einbinder
997dfa9274
fix(reporter): properly indent multiline attachments ( #20847 )
...
Text attachments were only indented on the first line.
2023-02-13 10:28:34 -08:00
Pavel Feldman
e9ca483666
chore: dim watch separator ( #20836 )
2023-02-12 10:00:40 -08:00
Dmitry Gozman
6b69d23f44
fix(actions): ignore indeterminate for isChecked api ( #20834 )
...
Fixes #20190 .
2023-02-10 18:56:45 -08:00
Dmitry Gozman
789b1c75e6
fix(expect): report received when timedOut during oneShot ( #20806 )
2023-02-10 14:59:21 -08:00
Dmitry Gozman
8a1612ceec
fix(reporters): preserve the order between deferred errors and stdio ( #20830 )
2023-02-10 14:58:44 -08:00
Pavel Feldman
1ba768bf60
chore: make watch + ct happy ( #20804 )
2023-02-10 08:33:25 -08:00
Playwright Service
e03f0ea309
feat(chromium): roll to r1048 ( #20815 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-10 17:27:55 +01:00
Andrey Lushnikov
68e170ef89
feat: implement expect(locator).toBeInViewport() ( #20668 )
...
The method accepts a `ratio` option to assert the ratio
of the element in viewport. `ratio` defaults to `Number.MIN_VALUE`.
NOTE: this reverts commit d950f5b6ee and
adds `ratio` option support + does the rename.
Fixes #8740
2023-02-10 04:33:22 -08:00
Dmitry Gozman
778dd20403
chore(docs): beautify generated types, put options always last ( #20805 )
2023-02-09 20:46:33 -08:00
Dmitry Gozman
ab4cd83e44
chore: move testInfo and timeoutManager to worker/ ( #20803 )
2023-02-09 19:22:17 -08:00
Pavel Feldman
4469e57695
chore: always grow component bundle ( #20799 )
...
Fixes https://github.com/microsoft/playwright/issues/20581
2023-02-09 18:39:20 -08:00
Pavel Feldman
e1f287f255
chore: more watch tests ( #20797 )
2023-02-09 16:03:54 -08:00
Dmitry Gozman
8002baf44f
chore: move option overrides logic to FixturePool ( #20795 )
2023-02-09 14:50:40 -08:00
Andrey Lushnikov
bcb2d67c5d
chore: remove experimental dockerfile.remote ( #20790 )
...
We didn't find a compelling-enough use case to release this.
2023-02-09 12:18:02 -08:00
Dmitry Gozman
4d37491e9b
chore: split FixtureRunner from fixtures ( #20787 )
...
It is only used in worker process.
2023-02-09 11:31:54 -08:00
Sander
4a3d79f291
chore(ct): improve internal hook types ( #20722 )
2023-02-09 08:58:15 -08:00
Max Schmitt
86fa74396f
chore: add missing bin entry for CT packages ( #20669 )
...
https://github.com/microsoft/playwright/issues/20639
PNPM does not include nested dependencies into its .bin directory. See
here: https://github.com/pnpm/pnpm/issues/96
2023-02-09 17:50:50 +01:00
Pavel Feldman
5112abc1d2
chore: fix a racy time-based test ( #20783 )
2023-02-09 08:49:51 -08:00
Dmitry Gozman
190c121e66
chore: bundle chokidar, leave fsevents as an optional dependency ( #20762 )
2023-02-09 08:40:27 -08:00
Pavel Feldman
b247bfe153
test(watch): start adding tests ( #20764 )
2023-02-09 08:31:02 -08:00