Max Schmitt
5701ff1e9b
chore: do not always return 200 on component testing network requests ( #23408 )
...
Fixes https://github.com/microsoft/playwright/issues/23364
See here about their AppTypes:
https://vitejs.dev/config/shared-options.html#apptype
2023-06-01 01:33:48 +02:00
Max Schmitt
92d650c317
devops: add missing workflow permission ( #23413 )
2023-06-01 01:19:23 +02:00
Max Schmitt
10ec3cfa2a
chore: generate docs versions in pw.dev ( #23412 )
...
https://github.com/microsoft/playwright/issues/23395
2023-06-01 01:14:00 +02:00
Yury Semikhatsky
90aa378e8f
chore: extract batch download action ( #23410 )
2023-05-31 16:07:29 -07:00
Max Schmitt
40581ed906
devops: post merged test results comment as GitHub Status Check ( #23409 )
2023-06-01 00:29:57 +02:00
Playwright Service
2c700b71ff
feat(webkit): roll to r1858 ( #23403 )
2023-05-31 23:28:19 +02:00
Dmitry Gozman
06318d52d6
chore: support import { type Foo }
in check deps ( #23405 )
2023-05-31 14:08:59 -07:00
Dmitry Gozman
6bb5c0a549
fix: make evaluate
not wait for scheduled navigations ( #23402 )
...
Fixes #23141 .
2023-05-31 14:08:44 -07:00
Dmitry Gozman
2505d48b32
test: skip and unflake tests ( #23399 )
...
- `should respect tracesDir and name` does not work with service mode;
- `isVisible during navigation should not throw` had a short timeout.
2023-05-31 10:52:29 -07:00
Max Schmitt
4eeb4655e9
chore: add comment about async imports in babel ( #23374 )
...
https://github.com/microsoft/playwright/issues/23255
2023-05-31 18:32:09 +02:00
Max Schmitt
2582d3984b
docs(ci): have yaml snippets for each language ( #23392 )
...
Fixes https://github.com/microsoft/playwright/issues/23134
Fixes https://github.com/microsoft/playwright/issues/23292
2023-05-31 14:29:54 +02:00
Pavel Feldman
658b1dfea3
chore: trace viewer server for vscode ( #23383 )
2023-05-30 18:31:15 -07:00
Andrey Lushnikov
5cd271a2a7
docs: add option clarifications ( #23384 )
...
Fixes https://github.com/microsoft/playwright/issues/23355
2023-05-30 17:19:48 -07:00
João Neves
7e6e5f0706
feat: Support React forwards refs and memo ( #23262 )
...
This PR fixes the react selector behavior to support components that are
wrapped by the memo or forwardRef React builtin functions.
Previously these components couldn't be selected. This PR fixes that
behavior, enabling selecting those components.
Current behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> undefined
```
Fixed behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> <div id ="foo_component" />
```
2023-05-30 17:14:47 -07:00
Yury Semikhatsky
38c89df330
chore: replace "blob download-batch" with a bash script ( #23381 )
...
`az storage blob download-batch` has been timing out over the last few
days, see upstream issue
https://github.com/Azure/azure-cli/issues/26567 . Replacing it with a
simple bash script that discovers blobs with a given prefix and then
downloads one-by-one.
2023-05-30 16:46:37 -07:00
Pavel Feldman
7ad03027fb
chore: remove output dir before each test ( #23380 )
2023-05-30 16:03:50 -07:00
retrowaver
7638b4bb76
docs: fix python example for Locator.last ( #23378 )
2023-05-31 00:52:51 +02:00
Dmitry Gozman
6db6498565
chore: replace sigint handler per browser with a single one ( #23317 )
...
Otherwise, multiple sigint handlers (one from each browser) would try to
`process.exit(130)` each.
2023-05-30 13:54:04 -07:00
Max Schmitt
13f70b6d89
chore: have type modifiers directly on file import ( #23337 )
2023-05-30 21:11:35 +02:00
Max Schmitt
2710fd8d6f
fix: should be able to upload multiple large files ( #23360 )
...
Fixes https://github.com/microsoft/playwright/issues/23258
2023-05-30 18:41:09 +02:00
Max Schmitt
1f7223eb21
chore: test on Node.js 20 ( #22651 )
...
Fixes https://github.com/microsoft/playwright/issues/22582
2023-05-30 18:16:34 +02:00
Max Schmitt
d6e24fafe8
docs: specify assertion timeout type ( #23333 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2589
2023-05-30 18:13:14 +02:00
Debbie O'Brien
0c2ec4b7f6
docs: add release video ( #23365 )
...
add missing videos to release notes
2023-05-30 18:03:33 +02:00
Max Schmitt
f819b1c72d
fix: trace viewer with global applied background-color ( #23362 )
...
Fixes https://github.com/microsoft/playwright/issues/23275
2023-05-30 17:58:29 +02:00
Max Schmitt
9e75b95153
fix: display testId as regex in trace-viewer ( #23361 )
...
Fixes https://github.com/microsoft/playwright/issues/23298
2023-05-30 17:45:48 +02:00
Playwright Service
fda57978e8
feat(webkit): roll to r1857 ( #23353 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-29 22:56:38 +02:00
Pavel Feldman
ec972fb7c1
chore: make trace viewer self-desctruct on input disconnect ( #23291 )
2023-05-26 14:54:54 -07:00
Yury Semikhatsky
962c32ae10
docs: fix since version for the methods new in 1.34 ( #23315 )
2023-05-26 11:03:31 -07:00
keita hino
f301ddfc7e
docs(class-locator.md): fix incorrect version of locator-and ( #23216 )
2023-05-26 09:47:19 -07:00
Playwright Service
4f3d4c41af
feat(webkit): roll to r1856 ( #23310 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 09:47:03 -07:00
Yury Semikhatsky
624e88e504
chore: roll stable test runner to May 26 ( #23308 )
2023-05-26 09:19:23 -07:00
Yury Semikhatsky
57e496c978
test: use platform specific path separator ( #23311 )
...
The test has been failing recently
https://devops.playwright.dev/flakiness.html#filter_spec=should+list+files×tamp=1685115453114
2023-05-26 09:18:53 -07:00
Dmitry Gozman
fa86f2aee0
chore: createHttpServer that destroys sockets upon close ( #23294 )
...
This avoids the server hanging on close.
2023-05-26 07:03:41 -07:00
Yury Semikhatsky
0ef8832f56
fix: patch project names and ids when merging reports ( #23295 )
...
Project name is used in testId calculation, so patching it in the
reporter is too late. Instead we now save project suffix to the blob
report file and patch all project and test ids as well as project names
in the report merger
2023-05-25 23:02:23 -07:00
Yury Semikhatsky
6a2d07401e
chore: roll stable test runner to May 25 ( #23289 )
2023-05-25 15:39:51 -07:00
Pavel Feldman
1e95b6d906
chore: allow sending trace URLs over stdin ( #23288 )
2023-05-25 15:38:47 -07:00
Pavel Feldman
f879ac7e44
chore: report output dir as a part of the list files ( #23283 )
2023-05-25 15:38:35 -07:00
Dmitry Gozman
00b34dddb2
chore: move TestServer under test/ ( #23287 )
2023-05-25 15:11:16 -07:00
Dmitry Gozman
4a9723df48
test: run extension tests in tests_primary ( #23245 )
2023-05-25 13:34:38 -07:00
Tomáš Hübelbauer
e550df060e
Enhance the forbidOnly mode message to guide the user towards the configuration option ( #23146 )
...
Hi, I am putting this PR out as a feeler to see if there's interested in
improving this error message, but the copy is by no means final and I am
open to improvement suggestions.
My intention here is to:
- Explain what a "focused item" is - that we're talking about a test and
it being focused is most likely down it using `only`
Are there other types of "items"? Are there other ways to make them
focused other than `only`?
- Explain why we're even in focused mode and how to control it
The default scaffolded Playwright config file includes a forbidMode
expression driven by whether `CI=1` is set.
I ran into this when trying to reproduce a CI issue locally so I had it
set and unknowingly entered focus only mode.
I wasn't aware this mode was a thing because I was using the default
configuration from `npm init` and did not familiarize myself with all
the options in it.
Is there a way to tell if we're in a TypeScript or JavaScript project in
this function? I would use that to display the configuration file name
with the right extension.
---------
Signed-off-by: Tomáš Hübelbauer <tomas@hubelbauer.net>
2023-05-25 13:32:49 -07:00
Yury Semikhatsky
1e64fa4f7c
chore: no empty dash suffix in blob report ( #23285 )
2023-05-25 13:18:57 -07:00
Playwright Service
c5c0b9a78b
feat(chromium): roll to r1065 ( #23281 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-25 13:04:36 -07:00
Playwright Service
af423d1bba
feat(chromium-tip-of-tree): roll to r1118 ( #23284 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-25 13:04:21 -07:00
Yury Semikhatsky
dce730c3be
fix: consider project suffix when computing id ( #23270 )
2023-05-25 10:36:34 -07:00
Yury Semikhatsky
e0600f4799
test: enable passing request type test ( #23273 )
...
Fixes #22812
2023-05-25 09:43:41 -07:00
Pavel Feldman
342bae6c59
chore: support esm loader on Node 20 ( #23269 )
2023-05-24 20:17:44 -07:00
Yury Semikhatsky
bf5cecc545
docs: release notes for language ports ( #23272 )
2023-05-24 16:39:47 -07:00
Yury Semikhatsky
bcc711145e
feat(webkit): roll to r1855 ( #23267 )
2023-05-24 16:09:58 -07:00
Yury Semikhatsky
0a65a0b8e8
devops: post merged report URL to the PR ( #23266 )
...
Posting a comment to the PR using GITHUB_TOKEN requires elevated
permissions, see
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
2023-05-24 14:43:36 -07:00
Dmitry Gozman
70589c0113
test: unflake "beforeAll and afterAll should have a separate timeout" ( #23263 )
2023-05-24 13:46:28 -07:00