Dmitry Gozman
|
19cfd0cc5e
|
chore: roll stable-test-runner to 1.40.0-beta-1700102862000 (#28192)
|
2023-11-16 10:14:56 -08:00 |
|
Yury Semikhatsky
|
85438edb97
|
test: Intl.ListFormat is working in playwright all browsers (#28178)
Fixes https://github.com/microsoft/playwright/issues/23978
|
2023-11-15 18:47:42 -08:00 |
|
Pavel Feldman
|
25b9c4eb4a
|
chore: do not lose error name for js errors (#28177)
|
2023-11-15 18:27:32 -08:00 |
|
Max Schmitt
|
7ffcb42551
|
test: fix 'exposeFunction should not leak' in video mode (#28169)
This is like how we do it with the other channel tests. In video mode we
produce artifacts so we need to add them to our expectation.
|
2023-11-15 21:48:47 +01:00 |
|
Max Schmitt
|
b66839b039
|
fix(exposeFunction): exposeFunction should not leak client side BindingCalls (#28163)
This should already make it a bit better. There is more going on tho.
https://github.com/microsoft/playwright/issues/28146
|
2023-11-15 17:15:25 +01:00 |
|
Dmitry Gozman
|
bf4c315b09
|
fix(types): explicit ExpectMatcherState type, optional Expect arg (#28119)
Fixes #28035.
|
2023-11-13 18:37:50 -08:00 |
|
Dmitry Gozman
|
16aee8b5d0
|
fix(codegen): comment-out generated expects for library scripts (#28118)
- reverts "fix(codegen): generate expect import for library
(https://github.com/microsoft/playwright/pull/28107)";
- comments-out generated expects.
|
2023-11-13 16:56:27 -08:00 |
|
Max Schmitt
|
8b1c637c16
|
fix(codegen): generate expect import for library (#28107)
|
2023-11-13 21:54:30 +01:00 |
|
Dmitry Gozman
|
120f0228c5
|
feat(selector generator): try improving text candidate with heuristics (#28074)
- Drop number-like prefixes and/or suffixes.
- Trim long texts to a word boundary around 15-25 character.
|
2023-11-13 11:30:16 -08:00 |
|
Mattias Wallander
|
c6d154f9c4
|
feat: Add support for dispatching device motion events (#28067)
References #27887.
|
2023-11-13 08:58:46 -08:00 |
|
Max Schmitt
|
1aee48f2d0
|
test: COEP/COOP/CORP isolated iframe should work (#28083)
https://github.com/microsoft/playwright/issues/28082
|
2023-11-10 16:44:02 +01:00 |
|
Max Schmitt
|
2954e1263e
|
test: skip dispatchEvent(deviceOrientation) tests on Android (#28077)
Its [only available to
SecureContexts](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/device_orientation/device_orientation_event.idl;l=34?q=device_orientation_event.idl&ss=chromium%2Fchromium%2Fsrc)
which our loopback in Android is not treated as a SecureContext.
We could either move it into the library tests, but then loose page test
coverage or just skip it. I decided for the latter.
Relates https://github.com/microsoft/playwright/pull/27960.
|
2023-11-10 16:28:45 +01:00 |
|
Dmitry Gozman
|
62b6af3a7f
|
fix(android): respect recordHar option (#28046)
Fixes #28015.
|
2023-11-09 08:36:05 -08:00 |
|
Dmitry Gozman
|
7f10fe935a
|
test: add a test for concurrent hover (#28042)
References #27969.
|
2023-11-09 08:27:34 -08:00 |
|
Max Schmitt
|
5f527fedb1
|
fix: JSHandle preview text for non-ascii attributes/children (#28038)
This surfaced in .NET that the string in the driver got incorrectly cut,
then transferred to .NET as an invalid UTF8 character
[`\ud835`](https://charbase.com/d835-unicode-invalid-character) which
.NET wasn't able to parse and threw an error.
Drive-by: Move similar function from
`packages/playwright-core/src/client/page.ts` into isomorphic
`stringUtils`.
https://github.com/microsoft/playwright-dotnet/issues/2748
|
2023-11-09 00:11:01 +01:00 |
|
Mattias Wallander
|
5a9fa69c6d
|
feat: Add support for dispatching device orientation events (#27960)
Fixes #27887
|
2023-11-08 09:50:25 -08:00 |
|
Max Schmitt
|
07d5093583
|
test: test gardening (#28001)
|
2023-11-07 08:47:15 -08:00 |
|
Pavel Feldman
|
87787dcc7d
|
chore: allow click close the page w/o errors (#27994)
|
2023-11-06 15:13:41 -08:00 |
|
Yury Semikhatsky
|
53a78a315e
|
fix(merge): preserve original "rootDir" by default (#27963)
Fixes https://github.com/microsoft/playwright/issues/27877
|
2023-11-03 13:49:47 -07:00 |
|
Dmitry Gozman
|
f401a482d2
|
fix(codegen): consume pointer events alongside mouse events (#27949)
Fixes #27926.
|
2023-11-03 13:41:51 -07:00 |
|
Pavel Feldman
|
e84dd4d708
|
fix(ui): do not fail on clashing groups (#27943)
Fixes https://github.com/microsoft/playwright/issues/27929
|
2023-11-02 20:50:08 -07:00 |
|
Ben Scott
|
c59483c5fb
|
fix(tsconfig): handle tsconfig paths without a baseUrl (#27846)
|
2023-11-02 11:27:49 -07:00 |
|
Pavel Feldman
|
817a130cdc
|
chore: dispose-based callback termination (#27911)
|
2023-11-01 16:36:39 -07:00 |
|
Max Schmitt
|
d983941447
|
test: locale/timeZone should affect Intl.DateTimeFormat() (#27898)
https://github.com/microsoft/playwright/issues/27802
|
2023-11-01 17:29:57 +01:00 |
|
Yury Semikhatsky
|
36c4c24f8a
|
fix: only convert input files for browser collocated with server (#27873)
Reference #27452
Fixes #27792
|
2023-11-01 08:40:12 -07:00 |
|
Max Schmitt
|
cff9ac04e4
|
fix: cross-origin Page.goto referer (#27859)
Fixes https://github.com/microsoft/playwright/issues/27765
|
2023-10-31 11:10:15 +01:00 |
|
Max Schmitt
|
08685a654a
|
test: using ServiceWorker on localhost over HTTPS (#27863)
|
2023-10-31 10:28:57 +01:00 |
|
Yury Semikhatsky
|
c7b6a76437
|
fix(fetch): throw when methods are called on disposed context (#27868)
Fixes #27822
|
2023-10-30 15:23:12 -07:00 |
|
Max Schmitt
|
59b8cf008e
|
fix(codegen): don't generate page.frame() calls anymore (#27820)
Fixes https://github.com/microsoft/playwright/issues/27650
|
2023-10-30 21:56:45 +01:00 |
|
Dmitry Gozman
|
f620828818
|
chore: allow PW_VERSION_OVERRIDE in tests (#27861)
|
2023-10-30 11:04:35 -07:00 |
|
Sander
|
1a34b6d211
|
fix(ct): solid render array as child (#27849)
closes:
https://github.com/microsoft/playwright/issues/27587#issuecomment-1762133376
related: https://github.com/microsoft/playwright/pull/27692
CC @dgozman
Co-authored-by: sand4rt <mbr@mbrs-MacBook-Air.local>
|
2023-10-28 11:22:10 -07:00 |
|
Sander
|
96787d2626
|
fix(ct): vue render array as slot (#27851)
partial fix for:
https://github.com/microsoft/playwright/issues/27587#issuecomment-1762133376
related: https://github.com/microsoft/playwright/pull/27692
CC @dgozman
Co-authored-by: sand4rt <mbr@mbrs-MacBook-Air.local>
|
2023-10-28 11:21:37 -07:00 |
|
Sander
|
3313381040
|
fix(ct): react render array as child (#27692)
Signed-off-by: Sander <info@mesander.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: mbr <mbr@mbrs-MacBook-Air.local>
|
2023-10-28 10:36:48 -07:00 |
|
Pavel Feldman
|
4d82d6801f
|
chore: render full pathname in network panel (#27843)
Fixes #27618
|
2023-10-27 14:14:24 -07:00 |
|
Dmitry Gozman
|
100d3b2601
|
fix(css parser): support nested builtin functions (#27841)
Things like `:nth-child(1 of :has(span:nth-last-child(3)))`.
Fixes #27743.
|
2023-10-27 13:16:12 -07:00 |
|
Dmitry Gozman
|
88f30d1ce2
|
feat: support firefoxUserPrefs in launchPersistentContext (#27840)
Fixes #27773.
|
2023-10-27 09:24:41 -07:00 |
|
Pavel Feldman
|
ff206bd9c1
|
chore: render time in the trace viewer log (#27825)
|
2023-10-26 14:45:15 -07:00 |
|
Pavel Feldman
|
778047facc
|
chore: stream trace viewer logs (#27807)
|
2023-10-26 11:15:43 -07:00 |
|
Max Schmitt
|
5f366088be
|
chore: get rid of rimraf package (#27790)
This seems more reliable nowadays as rimraf.
https://github.com/microsoft/playwright/issues/27712
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
|
2023-10-26 19:41:00 +02:00 |
|
Yury Semikhatsky
|
86c78c1e0f
|
fix(html): do not update total time when filtering tests (#27808)
![image](https://github.com/microsoft/playwright/assets/9798949/491ef34d-6674-4242-a6f4-dcef048a18f5)
Fixes #27758
|
2023-10-26 08:20:14 -07:00 |
|
Yury Semikhatsky
|
0ade5aa9ad
|
fix: ignoreCase in toHaveAttribute (#27809)
Fixes #27795
|
2023-10-25 19:22:13 -07:00 |
|
Pavel Feldman
|
47733b04fb
|
chore: do not select after hooks automatically (#27805)
|
2023-10-25 17:05:06 -07:00 |
|
Max Schmitt
|
5f0d91a42c
|
test: add test for multipart keeping order (#27787)
Test for https://github.com/microsoft/playwright/issues/27720
|
2023-10-25 19:33:00 +02:00 |
|
Pavel Feldman
|
7de0ccd36e
|
chore: support await using for close() and dispose() (#27766)
This change assumes that the user has Node 18 with Symbol.dispose
available.
Fixes https://github.com/microsoft/playwright/issues/27141
|
2023-10-24 12:25:53 -07:00 |
|
Dmitry Gozman
|
c8134bca5d
|
feat(html): show top-level errors (#27763)
Drive-by:
- extract `TestErrorView`;
- replace `data-test-id` with `data-testid` and `getByTestId()`.
---
<img width="1001" alt="top-level errors in html report"
src="https://github.com/microsoft/playwright/assets/9881434/2d6c0c52-8df1-46a9-b3fd-06ddc6f16796">
|
2023-10-24 09:35:07 -07:00 |
|
Dmitry Gozman
|
210168e36d
|
chore(test runner): remove fake skipped test results (#27762)
Fixes #27455.
|
2023-10-24 09:31:30 -07:00 |
|
Max Schmitt
|
fe7847b126
|
fix: require JSX inside PWT with pnpm (#27744)
Fixes https://github.com/microsoft/playwright/issues/27285
|
2023-10-23 22:48:12 +02:00 |
|
Yury Semikhatsky
|
5e51a734e7
|
fix: interrupt request.allHeaders()/response() on page.close() (#27695)
Reference https://github.com/microsoft/playwright/issues/27227
|
2023-10-23 12:45:35 -07:00 |
|
Pavel Feldman
|
5752a28f87
|
chore: make tests strict (1) (#27731)
|
2023-10-23 09:31:30 -07:00 |
|
Max Schmitt
|
f48861ddee
|
fix(inspector): highlight xpath/css locators without engine prefix (#27742)
Motivation: As of today when a user inspects a Locator which is a xpath,
it won't work if the user has not prefixed it with `xpath=` because we
internally compare the given with the generated locator.
Works: `locator('xpath=//div[contains(@class, "foo")]')`
Does not work: `locator('//div[contains(@class, "foo")]')`
Relates
https://github.com/microsoft/playwright/issues/27707#issue-1952360264
Fixes
https://github.com/microsoft/playwright-dotnet/issues/2718#issuecomment-1771073816
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
|
2023-10-23 18:23:28 +02:00 |
|