Yury Semikhatsky
674988c633
chore: add quotes to the path only when necessary ( #29057 )
...
This is a follow-up to c76f5294ce
Reference https://github.com/microsoft/playwright/issues/29039
2024-01-19 10:27:15 -08:00
Max Schmitt
6a15d43539
docs: rename example env var ( #29061 )
2024-01-19 17:43:37 +01:00
Playwright Service
057b0dd0ab
feat(firefox-beta): roll to r1438 ( #29063 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-19 13:27:53 +01:00
Pavel Feldman
4010940315
chore: move off babel proposals to plugins ( #29053 )
2024-01-18 17:50:52 -08:00
Dmitry Gozman
b7d22b64e8
feat(merge): prepend bot name to global errors ( #29055 )
...
This way one can figure out where does the error come from.
An example merged report that exhibits the issue:
https://mspwblobreport.z1.web.core.windows.net/run-7563628632-1-2328b83af75801ab76bb06c214fee483cf5bc07c/index.html#?q=s%3Afailed%20s%3Aflaky
2024-01-18 15:11:32 -08:00
Yury Semikhatsky
c76f5294ce
fix: quote trace file path when printing error message ( #29052 )
...
Fixes https://github.com/microsoft/playwright/issues/29039
2024-01-18 14:23:12 -08:00
Max Schmitt
4a45724633
fix: open 0.0.0.0 as localhost ( #29054 )
...
Fixes https://github.com/microsoft/playwright/issues/29047
2024-01-18 22:21:49 +01:00
Max Schmitt
b5e766e99e
chore: remove unused ncp dependency ( #29043 )
2024-01-18 21:27:45 +01:00
Playwright Service
84cf633c92
feat(chromium-tip-of-tree): roll to r1186 ( #29044 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-18 21:24:28 +01:00
Playwright Service
7d7198c055
feat(webkit): roll to r1969 ( #29050 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-18 11:36:43 -08:00
Pavel Feldman
03815b9eb1
chore: migrate to Node 18 lockFileVersion 3 ( #29051 )
2024-01-18 11:33:23 -08:00
romanimm
a217d6a08d
docs: fix typo for stylePath ( #29034 )
2024-01-18 09:59:31 +01:00
Pavel Feldman
ee3960529e
fix(ct): allow passing date, url, bigint as properties ( #29031 )
...
Closes: https://github.com/microsoft/playwright/issues/29028 ,
https://github.com/microsoft/playwright/issues/29027
2024-01-17 20:43:28 -08:00
Pavel Feldman
2328b83af7
test: add a props.children test ( #29026 )
...
Closes https://github.com/microsoft/playwright/issues/29023
2024-01-17 12:53:01 -08:00
Dmitry Gozman
300a0127de
Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin ( #28502 )" ( #29024 )
...
This reverts commit 3f3f332060
.
References #29019 .
2024-01-17 10:40:58 -08:00
Pavel Feldman
c82919859c
chore: add an image import component test ( #29016 )
...
Closes: https://github.com/microsoft/playwright/issues/22657
2024-01-17 09:06:02 -08:00
inottn
0fa85143a0
docs: add missing imports ( #29014 )
2024-01-17 08:11:55 +01:00
Pavel Feldman
1db18711a2
fix(ct): move import list into the compilation cache data ( #28986 )
2024-01-16 19:31:19 -08:00
Dmitry Gozman
e6d51cf7bd
chore: refactor actionability check to go through node-side retry ( #28982 )
...
This allows to inject a checkpoint in between the actionability checks.
Drive-by: cleanup `InjectedScriptPoll`-related code.
2024-01-16 19:11:41 -08:00
Yury Semikhatsky
a3c38bc1f9
devops: merge paginated results when downloading blobs ( #29013 )
...
* The results are paginated by default to return max 30 entries, see
[this
page](https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28 ).
We use
[octakit.paginate](https://octokit.github.io/rest.js/v20#pagination ),
wrapped into
[github-script](60a0d83039
)
to automatically load all artifacts urls.
* Also bumped github-script to v7
2024-01-16 16:14:38 -08:00
Dmitry Gozman
d023829dd5
fix(locator parser): allow escaped quotes in the digest function ( #29012 )
...
This supports mixed quotes locators in JavaScript where we are not sure
what quote is the correct one, so we normalize to unescaped single quote
when comparing with the original.
Drive-by: we were allowing single quotes in Python, Java and .NET, but
these are actually not allowed.
Regressed in #27718 .
Fixes #28630 .
2024-01-16 16:06:02 -08:00
Dmitry Gozman
9b657b54fb
fix(launcher): unregister global process handlers when all browser are closed ( #29011 )
...
Otherwise, we forever block SIGTERM and SIGHUP by registering a handler
that does not do anything (due to no browsers to close) and prevents
default handler that exits from running.
Fixes #28091 .
2024-01-16 14:41:26 -08:00
Dmitry Gozman
775ef30e43
fix(test runner): make TestCase.id not depend on the path separator ( #29010 )
...
Fixes #28991 .
2024-01-16 13:32:47 -08:00
Playwright Service
ab7d1b5e53
feat(webkit): roll to r1968 ( #29009 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-16 20:26:36 +01:00
Max Schmitt
7e6072583b
docs(docker): various enhancements ( #28994 )
...
Fixes https://github.com/microsoft/playwright-python/issues/2241
2024-01-16 19:27:17 +01:00
Max Schmitt
7721f910b2
chore: roll stable-test-runner to 1.41.0-beta-1705101589000 ( #28993 )
2024-01-16 08:59:55 -08:00
Playwright Service
25ec071277
feat(chromium-tip-of-tree): roll to r1185 ( #29003 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-16 17:35:21 +01:00
jonghoonpark
4c0a972b69
feat(expect): Make toPass's option configurable by TestConfig ( #28231 )
...
Co-authored-by: jonghoon.park <jonghoon.park@lucentblock.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-01-16 12:28:38 +01:00
Pavel Feldman
bbe26dbdbb
chore: build import registry source ( #28978 )
2024-01-14 08:41:40 -08:00
Pavel Feldman
92ad1b385c
chore: refactor import processing in ct ( #28975 )
2024-01-12 20:02:27 -08:00
Max Schmitt
f2ebc53f18
chore: mark version 1.42.0-next ( #28973 )
2024-01-13 00:20:27 +01:00
Max Schmitt
cd922d137c
chore: update browser patches to 03ca0a7 ( #28974 )
2024-01-13 00:19:49 +01:00
Max Schmitt
01af7e5d8e
docs(release-notes): add v1.41 release notes ( #28697 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-01-13 00:11:42 +01:00
Yury Semikhatsky
d4329bb6f2
docs: add example of data isolation between parallel tests ( #28958 )
2024-01-12 12:47:40 -08:00
Dmitry Gozman
48317af1cc
feat(trace): preserve noscript when javascript is disabled ( #28971 )
...
Closes #27504 , closes #27532 .
2024-01-12 12:11:39 -08:00
Max Schmitt
7670fd21e2
fix(esm): >= Node.js 21 globalPreload -> initialize ( #28526 )
...
https://github.com/microsoft/playwright/issues/28524
https://github.com/microsoft/playwright/issues/28732
https://nodejs.org/en/blog/announcements/v21-release-announce#module-customization-hook-globalpreload-removed-use-register-and-initialize-instead
2024-01-12 09:51:45 -08:00
Dmitry Gozman
37634df0c4
docs: note that opacity:0 still counts as visible element ( #28965 )
...
Closes #28954 .
2024-01-12 09:38:23 -08:00
Dmitry Gozman
90665ef056
docs: update auto-waiting doc ( #28960 )
...
- Replace action names with links to `Locator.click`.
- Remove "Attached" check in favor of "locator resolves to a single
element".
- Replace getter methods in assertion section with auto-retriying
assertions.
- Add missing actions.
---
<img width="837" alt="Screenshot 2024-01-11 at 1 02 34 PM"
src="https://github.com/microsoft/playwright/assets/9881434/1946678d-6a7e-45cf-a299-2f18cb3fb5a5 ">
2024-01-12 09:33:42 -08:00
Max Schmitt
808359ba6c
fix(driver): add external commands only for JS binding ( #28968 )
...
Motivation: Before this change if a language binding invoked the CLI
with `--help` or without any arguments (which will also show the help
text) it was suggesting that test/merge-reports/show-report is something
we support. After this change this does not get shown anymore.
2024-01-12 18:26:00 +01:00
Yury Semikhatsky
8936885a67
fix(chromium): preserve header overrides in redirects ( #28962 )
...
Reference https://github.com/microsoft/playwright/issues/28758
2024-01-12 08:55:20 -08:00
Playwright Service
69c9e985bf
feat(webkit): roll to r1967 ( #28952 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-12 15:01:47 +01:00
Yury Semikhatsky
b392c2d392
docs: add proxy example to the API testing guide ( #28959 )
...
Fixes https://github.com/microsoft/playwright/issues/28940
2024-01-11 13:39:35 -08:00
Max Schmitt
c5097a500d
docs: add java/csharp code snippets for FormData ( #28951 )
...
Fixes https://github.com/microsoft/playwright/issues/28811
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-01-11 18:36:05 +01:00
Playwright Service
229ec522ac
feat(chromium-tip-of-tree): roll to r1184 ( #28950 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-11 14:38:26 +01:00
Playwright Service
3ace946fc2
feat(chromium): roll to r1097 ( #28949 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-11 14:38:16 +01:00
Playwright Service
48517760e7
chore(driver): roll driver to recent Node.js LTS version ( #28943 )
2024-01-11 11:15:42 +01:00
Pavel Feldman
38822d1014
chore: remove manual __esModule override ( #28935 )
2024-01-10 16:28:08 -08:00
Pavel Feldman
a0750b7854
chore: network panel polish ( #28924 )
2024-01-10 15:28:33 -08:00
Dmitry Gozman
3851d9b897
test: make sure asLocator works with has+hasText at the same time ( #28937 )
2024-01-10 12:42:55 -08:00
Yury Semikhatsky
19a4f15eb6
chore: remove redundant checks from network interception ( #28922 )
...
We only intercept requests in Playwright so these fields are always
undefined.
2024-01-09 13:35:51 -08:00