Mathias Leppich
16b39b8118
fix --last-run-file parameter
2024-09-11 18:59:24 +02:00
Mathias Leppich
eb25f3cfe4
validate config.shardingMode
2024-09-11 18:58:39 +02:00
Mathias Leppich
4f758a1e9e
Merge branch 'main' into sharding-algorithm
2024-09-10 08:43:12 +02:00
Yury Semikhatsky
c8a72d63ad
chore: run bidi firefox tests on ci ( #32527 )
2024-09-09 17:22:19 -07:00
Pavel Feldman
6d5889a52c
chore: revert the matcherResult in API ( #32524 )
2024-09-09 16:44:32 -07:00
Dmitry Gozman
ae118674b8
fix(test runner): allow directory imports with path mapping ( #32491 )
...
We now hopefully align with `moduleResolution: bundler` tsconfig option,
allowing directory imports in every scenario, and allowing proper module
imports when not going through the type mapping.
This regressed in #32078 . Fixes #32480 , fixes #31811 .
2024-09-09 14:01:20 -07:00
Dmitry Gozman
6bb005db85
fix(test runner): improve error message when not able to parse tsconfig ( #32526 )
2024-09-09 14:01:02 -07:00
Dmitry Gozman
e6c5b6054d
test: fix project filter test ( #32525 )
...
It was erroneously passing projects separate by comma, which never
worked.
2024-09-09 14:00:51 -07:00
Mathias Leppich
5e3fa62c13
Merge branch 'main' into sharding-algorithm
2024-09-09 22:36:10 +02:00
Max Schmitt
e5d6ee5bd8
chore: merge fetch params on server side ( #32518 )
...
https://github.com/microsoft/playwright-python/pull/2546#discussion_r1750090592
2024-09-09 22:28:08 +02:00
Pavel Feldman
9a313eecc9
chore: roll expect and move it to third party ( #32458 )
2024-09-09 13:12:20 -07:00
Max Schmitt
4b5422a3c7
fix(ui-mode): use server side path separator ( #32523 )
...
Fixes https://github.com/microsoft/playwright/issues/32323
2024-09-09 22:07:28 +02:00
Playwright Service
363e79ee87
feat(webkit): roll to r2071 ( #32521 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-09 20:07:37 +02:00
Yury Semikhatsky
d030965688
chore: addInitScript and auth (unsuccessful) in bidi ( #32500 )
2024-09-09 10:13:26 -07:00
Mathias Leppich
b0e57454f2
use lastRunFile from config when defined
2024-09-09 18:32:03 +02:00
Mathias Leppich
7dab70c660
fix .last-run.json location in reporter-lastrun spec
2024-09-09 17:37:53 +02:00
Mathias Leppich
89458dbc67
fix .last-run.json location
2024-09-09 17:08:41 +02:00
Mathias Leppich
4b3d75467a
export type ShardingMode
2024-09-09 16:20:44 +02:00
Max Schmitt
728083b435
chore: allow query as string in Python/.NET ( #32516 )
...
https://github.com/microsoft/playwright-python/issues/2497
2024-09-09 15:49:59 +02:00
Mathias Leppich
0503672cfb
validate --sharding-mode CLI parameter
2024-09-09 15:48:07 +02:00
Mathias Leppich
1eb11ffc0b
always use lastrun reporter and keep em internal
2024-09-09 15:31:27 +02:00
Mathias Leppich
e7273de4dd
feedback - remove redundant tests
2024-09-09 15:30:03 +02:00
Mathias Leppich
8d485f58b9
feedback
2024-09-09 15:29:43 +02:00
Sander
4a53973fd0
docs(ct): vue + jsx and general improvements ( #32212 )
...
partial fix for:
https://github.com/microsoft/playwright/issues/31927#issuecomment-2267065378
---------
Signed-off-by: Sander <info@mesander.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-09-09 05:09:18 -07:00
Simon Knott
cc9c4cdd9a
chore: fix flaky screenshot test ( #32517 )
...
In this test, the trace recording goes super fast. Sometimes, this means
that the recording is finished before the screen recorder got a chance
to take a screenshot. If that happens, the tests fail because we never
show a screenshot.
This PR fixes the flakiness by delaying the trace recording so that
there's always a screenshot taken.
2024-09-09 14:00:38 +02:00
Simon Knott
31e269ad06
feat(trace-viewer): show screenshot pointer ( #32514 )
...
Follow-up to https://github.com/microsoft/playwright/pull/32248 . Adds a
glowing red circle that shows the click position. I made it glowing to
show that its position is inaccurate.
<img width="964" alt="Screenshot 2024-09-09 at 11 33 45"
src="https://github.com/user-attachments/assets/1903071d-6dc0-46c7-9951-844e49a51f35 ">
2024-09-09 14:00:22 +02:00
Max Schmitt
ae02331d00
test: fix stress tests bots ( #32513 )
2024-09-09 12:52:40 +02:00
Mathias Leppich
7ea1506799
Merge branch 'main' into sharding-algorithm
2024-09-09 12:29:15 +02:00
Max Schmitt
718bd9b35f
devops: run BiDi tests ( #32493 )
2024-09-07 09:16:42 +02:00
Yury Semikhatsky
f3ada9c654
chore: wheel input in bidi ( #32499 )
2024-09-06 17:10:14 -07:00
Yury Semikhatsky
37bc485827
chore: remove browser-specific bidi hacks ( #32498 )
...
Those were just workarounds for browser-specific bugs, they should be
fixed upstream.
* individual mouse down/up/down/up events don't trigger dblclick event
in Firefox
* setContent throws when document.open/write is called in the utility
context in Firefox
2024-09-06 16:40:24 -07:00
Yury Semikhatsky
a113553f14
test: allow running oopif test without newBrowserCDPSession ( #32496 )
2024-09-06 13:49:37 -07:00
Yury Semikhatsky
df2bc2d0dc
test: worker interception for existing workers ( #32494 )
...
Failing test for https://github.com/microsoft/playwright/issues/32355
2024-09-06 13:17:49 -07:00
Yury Semikhatsky
11441c0fe1
fix: add missing await in adoptIfNeeded ( #32497 )
...
Otherwise it throws in Bidi.
2024-09-06 13:17:32 -07:00
Yury Semikhatsky
d85527e9f6
test: some tests for expected API behavior ( #32495 )
...
Adding some tests discussed in
https://github.com/microsoft/playwright/pull/32434
2024-09-06 13:13:44 -07:00
Dmitry Gozman
1402dee9e6
Revert "fix(test runner): align with typescript behaviour for resolving index.js and package.json through path mapping ( #32078 )" ( #32492 )
...
This reverts commit effb1ae234 .
This broke path mapping into directories in ESM mode. References #32480 .
2024-09-06 12:08:10 -07:00
Simon Knott
3fe1263643
feat(trace viewer): show Screenshot instead of Snapshot ( #32248 )
...
Closes https://github.com/microsoft/playwright/issues/23964 .
Trace snapshots are a best-effort snapshots of the browser DOM, but we
can't guarantee them to be exactly what the browser showed. One example
of this is `canvas` elements, where you just can't see their contents.
That makes snapshots useful, but not perfect.
For those cases where the snapshot doesn't show everything, this PR
introduces a new setting to show a screenshot instead. You won't be able
to scroll or inspect the DOM or select a locator anymore. But if the
snapshot was missing something, or displaying something wrong, you can
now check the screenshot instead.
2024-09-06 16:24:33 +02:00
Max Schmitt
ed303208b3
test: update to android-35 SDK (Android 15) ( #32430 )
2024-09-06 14:27:56 +02:00
Simon Knott
0e3f4736cc
fix(test runner): always show all projects in selection ( #32450 )
...
Follow-up to
https://github.com/microsoft/playwright/pull/32156#discussion_r1741628770 ,
alternative solution to
https://github.com/microsoft/playwright/pull/32425 .
Ensures we always show all projects in the watch mode project selector
by performing the initial `listTests` without any filters, and using its
result for the project selector.
2024-09-06 11:35:20 +02:00
Max Schmitt
a8f67a42b8
docs(dotnet): fix wrong snippets ( #32484 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2994
2024-09-06 11:27:35 +02:00
Simon Knott
5d4a65b318
docs: update release notes for 1.47 to our changes from yesterday ( #32482 )
...
I'll also cherry-pick this into the release branch and update
playwright.dev.
2024-09-06 10:28:17 +02:00
Pavel Feldman
a52eb0c9a0
chore: expose matcherResult on TestError ( #32455 )
2024-09-05 21:36:51 -07:00
Pavel Feldman
16cef9901d
chrome: cache tsconfig for folder ( #32477 )
...
Fixes https://github.com/microsoft/playwright/issues/32459
2024-09-05 21:36:13 -07:00
Yury Semikhatsky
f0e13164d7
chore: split firefox and chromium bidi implementations ( #32478 )
2024-09-05 18:31:56 -07:00
Yury Semikhatsky
752b171a13
chore: support bidi connection to chromium ( #32474 )
2024-09-05 14:56:07 -07:00
Yury Semikhatsky
1989589edd
docs: update browsers version in release notes ( #32475 )
2024-09-05 13:59:54 -07:00
Dmitry Gozman
1ba3db6864
chore: implement clear-cache through plugins ( #32471 )
...
Also switches it to task runner.
2024-09-05 13:50:16 -07:00
Dmitry Gozman
d4c77ce260
chore: make find-related-test-files work through plugins ( #32465 )
...
Also switches it to the task runner.
2024-09-05 06:52:11 -07:00
Playwright Service
5127efdc2a
feat(chromium): roll to r1134 ( #32470 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-05 14:57:20 +02:00
Simon Knott
895d017fb8
chore: update browser patches as of July, 25th, 2024 ( #32468 )
2024-09-05 13:44:58 +02:00