Playwright Service
66972636ad
feat(chromium-tip-of-tree): roll to r1104 ( #22380 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-14 12:03:27 +02:00
Playwright Service
53a8fa2743
feat(firefox-beta): roll to r1400 ( #22394 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-14 00:42:41 -07:00
Playwright Service
b55b3eae00
feat(firefox-beta): roll to r1399 ( #22385 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-13 13:37:35 -07:00
Andrey Lushnikov
8bb708be70
test: unflake inspector-cli tests ( #22347 )
...
This patch:
- changes the `childProcess` fixture to reliably SIGKILL all descendants
(children and grand-children, regardless of their process group).
This is achieved using the `ps` command to build the process tree, and
then send
`SIGKILL` to the descendant process groups.
- changes the `runCLI` fixture to **not** auto-close codegen by default;
the `childProcess` fixture will clean up all processes. This makes
sure that all `runCLI.waitFor()` commands actually wait until the
necessary
output.
- for a handful of tests that do actually want to auto-close codegen,
introduce an optional `autoCloseWhen` flag for the `runCLI` fixture
that makes sure to close the codegen once a certain output was reached.
2023-04-12 09:37:24 -07:00
Playwright Service
a5749c033d
feat(firefox): roll to r1396 ( #22327 )
...
Fixes https://github.com/microsoft/playwright/issues/21995
2023-04-11 08:49:44 -07:00
Playwright Service
b256bd4e4c
feat(chromium-tip-of-tree): roll to r1103 ( #22335 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-11 15:31:02 +01:00
Pavel Feldman
c5aeab4d7e
revert(20509, 20596): expect.toPass is broken with these ( #22254 )
...
Reverts https://github.com/microsoft/playwright/pull/20509 and
https://github.com/microsoft/playwright/pull/20596
Fixes #22215
2023-04-10 17:39:49 -07:00
Yury Semikhatsky
2af3f486c4
fix: do not load trace data for passing tests ( #22311 )
...
Fixes #22122
Fixes #22120
2023-04-10 13:29:55 -07:00
Playwright Service
2573dff5e9
feat(webkit): roll to r1827 ( #22291 )
2023-04-10 13:10:34 -07:00
Sander
ec2dc92336
fix(ct): component type import path ( #22296 )
2023-04-09 15:04:46 -07:00
Yury Semikhatsky
5cd9f83c7b
fix(webkit): properly set user agent in persistent context ( #22283 )
...
Fixes https://github.com/microsoft/playwright/issues/22274
2023-04-07 19:50:49 -07:00
Pavel Feldman
635a2dac16
chore: remove FullProjectInternal.from ( #22280 )
2023-04-07 19:12:20 -07:00
Pavel Feldman
3b94bb6740
chore: simplify full config and full project building ( #22278 )
2023-04-07 17:46:47 -07:00
Yury Semikhatsky
8d2502ee62
test: make page-leaks tests pass in electron ( #22277 )
...
They've been failing
https://devops.playwright.dev/flakiness.html#filter_spec=page%2Fpage-leaks.spec.ts&test_parameter_filters=%5B%5D×tamp=1680901928195
2023-04-07 17:20:49 -07:00
Playwright Service
26bbf8ca1b
feat(chromium): roll to r1058 ( #22264 )
2023-04-07 14:11:18 -07:00
Valentín Costa
93e020d483
docs(class-test.md): add missing R in the word returned ( #22252 )
2023-04-07 13:57:28 -07:00
Playwright Service
12da068249
feat(webkit): roll to r1825 ( #22258 )
2023-04-07 13:56:22 -07:00
任跃兵
2b1a121133
Update class-consolemessage.md ( #22261 )
2023-04-07 13:51:46 -07:00
Pavel Feldman
eed5b4c83b
chore: process stdio buffers ( #22270 )
...
Fixes https://github.com/microsoft/playwright/issues/22265
2023-04-07 13:50:15 -07:00
Yury Semikhatsky
d59e0e10ce
feat: blob reporter ( #22244 )
...
#10437
2023-04-07 13:47:52 -07:00
Pavel Feldman
a42567d549
chore: inside out the config & project internal ( #22260 )
2023-04-07 09:54:01 -07:00
Pavel Feldman
02ca63b381
chore: use separator when printing titles in the list mode ( #22269 )
...
Fixes https://github.com/microsoft/playwright/issues/22267
2023-04-07 09:52:04 -07:00
Yury Semikhatsky
1ea9f02944
chore: add configDir to reporter options ( #22250 )
2023-04-06 14:23:47 -07:00
Playwright Service
c36b96fd8c
feat(webkit): roll to r1824 ( #22251 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-06 22:46:26 +02:00
Pavel Feldman
3400d62a7a
chore: discourage networkidle ( #22247 )
2023-04-06 13:00:34 -07:00
Pavel Feldman
09f072de09
chore: introduce the concept of a test run ( #22243 )
2023-04-06 11:20:24 -07:00
Pavel Feldman
9ced1e278d
chore: remove the legacy webServer accessor from the config ( #22245 )
2023-04-06 11:20:11 -07:00
Sander
cea382015f
chore(ct): rename component.d.ts ( #22234 )
2023-04-06 08:40:49 -07:00
Yury Semikhatsky
fc23d35697
chore: clear previous test results optionally ( #22224 )
2023-04-06 08:33:17 -07:00
Playwright Service
13c7ddb883
feat(chromium-tip-of-tree): roll to r1102 ( #22235 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-06 15:33:11 +02:00
Playwright Service
f610577a18
feat(webkit): roll to r1823 ( #22227 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-06 11:52:48 +02:00
Dmitry Gozman
08cef43e82
feat(locator): remove locator.and and locator.not ( #22223 )
...
Not shipping for now, after API review.
2023-04-05 16:28:13 -07:00
Yury Semikhatsky
b5195122d9
chore: return promise from tele receiver dispatch ( #22218 )
2023-04-05 14:23:06 -07:00
Dmitry Gozman
35afb056ea
feat(locator): filter({ hasNotText }) ( #22222 )
...
The opposite of `filter({ hasText })`.
2023-04-05 14:13:28 -07:00
Dmitry Gozman
5734f11a69
docs: update Locator.or example ( #22220 )
2023-04-05 13:13:10 -07:00
Sébastien Richert
88544d537b
docs(class-request.md): rephrase definition of request timing responseStart ( #22170 )
2023-04-05 13:11:38 -07:00
Sander
789d8b24c0
chore(ct): dedupe json object ( #22138 )
2023-04-05 13:10:00 -07:00
Pavel Feldman
159e71982e
chore: render failed steps in the basic reporters ( #22200 )
...
Fixes #20532
2023-04-05 13:03:42 -07:00
Pavel Feldman
0d31d69d65
chore(trace): improve loading progress bar ( #22201 )
...
Fixes: https://github.com/microsoft/playwright/issues/22118
2023-04-05 13:03:25 -07:00
Dmitry Gozman
bc1de5f28d
feat(locator): filter({ hasNot }) ( #22219 )
...
This is the opposite of `filter({ has })`.
2023-04-05 12:45:46 -07:00
Playwright Service
8dd431745d
feat(firefox): roll to r1394 ( #22199 )
...
Fixes https://github.com/microsoft/playwright/issues/21621
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-04-05 11:39:23 -07:00
Playwright Service
3f7eeafc90
feat(firefox-beta): roll to r1396 ( #22198 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-05 09:33:57 -07:00
Johannes Loher
bd698efaef
fix(webServer): follow relative redirects when checking the url ( #22035 )
...
Fixes https://github.com/microsoft/playwright/issues/22144
2023-04-05 10:39:35 +02:00
Dmitry Gozman
d7b3836752
chore: revert console and dialog events on BrowserContext ( #22195 )
...
This reverts #22033 and #21943 , since there will be no immediate
benefits in v1.33.
2023-04-04 13:13:52 -07:00
Pavel Feldman
3608425d57
chore: allow reusing browser between the tests ( #22191 )
2023-04-04 12:31:42 -07:00
Pavel Feldman
f8f9ee6a25
chore: introduce Reporter.onExit ( #22176 )
...
Fixes https://github.com/microsoft/playwright/issues/22173
2023-04-04 10:50:40 -07:00
Playwright Service
464196f9e9
feat(chromium-tip-of-tree): roll to r1101 ( #22187 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-04 15:43:19 +02:00
Pavel Feldman
87acda74ff
chore: respect source map sources when filtering in CLI ( #22180 )
...
Fixes #22123
2023-04-03 19:49:01 -07:00
Dmitry Gozman
ab85b23e67
fix(expect): report expect "Timed out" when it actually does ( #22174 )
...
Previously, it would say "Timed out" when page was closed at test
timeout, or not say "Timed out" when at least one element matched.
Fixes #21664 .
2023-04-03 15:06:13 -07:00
Dmitry Gozman
26c00a97a5
fix(expect): do not produce logs twice ( #22171 )
2023-04-03 15:05:40 -07:00
Max Schmitt
590013e27b
docs(python): fix WebSocket types ( #22155 )
...
Fixes https://github.com/microsoft/playwright-python/issues/1841
2023-04-03 13:21:33 -07:00
Playwright Service
babb2bc3ee
feat(webkit): roll to r1821 ( #22141 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 10:32:51 +02:00
Playwright Service
41e4ca0257
feat(firefox-beta): roll to r1395 ( #22137 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-01 01:21:06 -07:00
Playwright Service
cebcb062b2
feat(firefox): roll to r1393 ( #22135 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-01 01:20:14 -07:00
Pavel Feldman
ee39af260d
chore: discourage waitForSelector ( #22133 )
2023-03-31 20:24:08 -07:00
Dmitry Gozman
82e52004c9
fix(ui mode): preserve manually selected action in live trace ( #22131 )
2023-03-31 18:34:51 -07:00
Pavel Feldman
3b9e62432d
chore: do not leak on clicks ( #22129 )
...
Fixes #22115
2023-03-31 18:18:45 -07:00
Dmitry Gozman
41e3e6d13f
fix(tracing): avoid clashing network file names ( #22126 )
...
With two contexts in the same test, we can get:
- `<testId>.network` and `<testId>-1.network` files;
- for export, we can copy `<testId>.network` into `<testId>-1.network`
and try to copy into a file when another trace is reading from it.
Fixes #22089 .
2023-03-31 17:29:39 -07:00
Pavel Feldman
0d9ec60dc7
chore: implement jsHandle._objectCount in chromium ( #22127 )
2023-03-31 15:52:01 -07:00
Andrey Lushnikov
5223c1ba39
feat: add timeout to electron.firstWindow()
method ( #21863 )
...
Fixes https://github.com/microsoft/playwright/issues/21846
2023-03-31 15:35:54 -07:00
Dmitry Gozman
1fbefa694f
fix(role): update accessible name calculation for native buttons ( #22124 )
...
There is a new section in the spec:
https://w3c.github.io/html-aam/#button-element-accessible-name-computation
Fixes #21808 .
2023-03-31 14:17:18 -07:00
MarcNum
fbdafc5fe3
feat: Adding trace option 'on-all-retries' ( #21985 )
...
Fixes : #21860
2023-03-31 13:04:24 -07:00
Dmitry Gozman
a95ced0fef
fix(waitFor): when frameLocator does not match, resolve hidden/detached states ( #22119 )
...
Fixes #21879 .
2023-03-31 10:54:07 -07:00
Dmitry Gozman
37d1659508
feat(connect): support special headers for debug/attachments ( #22106 )
...
`x-playwright-debug-log: value` headers are printed to `pw:browser`
debug log.
`x-playwright-attachment: name=value` headers are attached to each test.
Fixes #21619 .
2023-03-31 08:57:07 -07:00
Sander
b9f7cca0aa
fix(ct): optional hooks config type ( #22100 )
2023-03-30 21:09:05 -07:00
Pavel Feldman
b1fdf0bcb6
chore: nest test steps based on zones ( #22108 )
...
Fixes : #21423
2023-03-30 21:05:07 -07:00
Pavel Feldman
eacaf5fc89
chore(ui): update expected state on test end ( #22104 )
...
Fixes https://github.com/microsoft/playwright/issues/22096
2023-03-30 16:17:34 -07:00
Dmitry Gozman
539d9873c2
feat: rename Locator.filter(locator) to Locator.and ( #22101 )
2023-03-30 14:41:30 -07:00
Sander
98051c7db2
fix(ct): solid type checking ( #22102 )
2023-03-30 12:31:39 -07:00
Dmitry Gozman
e6148bb725
feat: Locator.not(locator) ( #22066 )
2023-03-30 08:52:30 -07:00
Playwright Service
9aaf2b028e
feat(chromium-tip-of-tree): roll to r1100 ( #22095 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-30 16:13:03 +02:00
Playwright Service
da3f2c042e
feat(chromium): roll to r1057 ( #22093 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-30 15:36:15 +02:00
Debbie O'Brien
2c9d65b5ed
docs: change port to url ( #22029 )
2023-03-30 15:18:59 +02:00
Playwright Service
896a03e776
feat(webkit): roll to r1820 ( #22083 )
2023-03-30 10:03:16 +02:00
Playwright Service
f96b24b2c5
feat(webkit): roll to r1819 ( #22081 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-30 09:31:37 +02:00
Pavel Feldman
968abd27d5
chore: do not use attributes for trace target annotation ( #22075 )
...
Fixes: https://github.com/microsoft/playwright/issues/22004
2023-03-29 23:17:17 -07:00
Pavel Feldman
a4f67c64e3
chore: allow ts decorators ( #22080 )
2023-03-29 20:43:08 -07:00
Dmitry Gozman
548e4a0c0f
fix(role): account for unslotted elements being hidden for aria ( #22070 )
...
When element is not assigned to any slot in the shadow root, it is not
rendered and is considered hidden for ARIA in all browsers.
In Chromium/Firefox we use `Element.checkVisibility` that already
handles this, but in WebKit we have to check it manually.
Fixes #21487 .
2023-03-29 17:08:05 -07:00
Yury Semikhatsky
026e49b076
chore: add snippet to the error message ( #21991 )
2023-03-29 14:07:14 -07:00
Sander
8d6f7ad521
fix(ct): viteConfig commonjsOptions doesn't work ( #22063 )
2023-03-29 14:00:38 -07:00
Sander
2428ff8b8b
chore: bump vite to 4.2.1 ( #22061 )
2023-03-29 14:00:00 -07:00
Sander
9c0c5d6e2a
chore(ct): throw error when props are not json serializable ( #22025 )
2023-03-29 13:59:27 -07:00
Pavel Feldman
8b7dc2cf7a
test: add a ui teardown test ( #22010 )
2023-03-29 13:57:19 -07:00
Dmitry Gozman
f7244a7e34
fix(tracing): allow disabling tracing through env ( #22050 )
...
We point `tracesDir` inside `test-results`, so it is removed between
test runs, while reused context is still writing there.
To fix the issue, we can now pass `env.PW_TEST_REUSE_CONTEXT`.
References #21993 .
2023-03-29 13:35:31 -07:00
Dmitry Gozman
6929214dbf
feat(expect): expect(locator).toBeAttached() ( #22067 )
...
Fixes #13467 .
2023-03-29 11:09:17 -07:00
Andrey Lushnikov
bb6b4425f7
fix: per-user cache folders ( #22046 )
...
Fixes https://github.com/microsoft/playwright/issues/21859
2023-03-29 10:49:52 -07:00
Playwright Service
4f4a63096e
feat(firefox): roll to r1392 ( #22056 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-29 10:48:16 -07:00
Playwright Service
d8f5a3f2ce
feat(firefox-beta): roll to r1394 ( #22052 )
...
References https://github.com/microsoft/playwright/issues/21760
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-03-29 10:47:31 -07:00
Playwright Service
7f1de6568c
feat(webkit): roll to r1818, freeze webkit version on macos 11 ( #21996 )
2023-03-28 17:34:39 -07:00
Dmitry Gozman
6a2b4ed142
fix(role): use <title> for elements inside svg ( #22043 )
...
Follows svg-aam mapping:
https://www.w3.org/TR/svg-aam-1.0/#mapping_additional_nd
Fixes #21486 .
2023-03-28 15:52:16 -07:00
Playwright Service
1ba07bcd81
feat(chromium-tip-of-tree): roll to r1099 ( #22024 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-29 00:34:55 +02:00
Dmitry Gozman
3b359e27b7
feat: BrowserContext.on('dialog') ( #22033 )
...
Dialogs created early during page initialization are only reported on
the context, with `page()` being `null`.
2023-03-28 13:15:55 -07:00
Nathan Power
02db6882ec
fix(ct): update regex to cater for minified JS files ( #22017 )
2023-03-28 11:15:11 -07:00
Sander
bfea952eef
fix(ct): vue revert json object as prop ( #22005 )
2023-03-27 17:44:40 -07:00
Dmitry Gozman
f502c72f2b
feat: browserContext.on('console') ( #21943 )
2023-03-27 16:35:05 -07:00
Dmitry Gozman
525097d465
feat: Locator.filter(locator) ( #21975 )
...
Produces a locator that matches both locators.
Implemented through `internal:and` selector.
Fixes #19551 .
2023-03-27 14:29:30 -07:00
Dmitry Gozman
47e5c02a21
fix(test runner): update default testMatch ( #22006 )
...
The intent of default test match is allowing `example.spec.ts` and
`example.test.ts` files. However, it was also matching `test.example.ts`
that should not be considered a test by default.
Fixes #21979 .
2023-03-27 14:28:44 -07:00
Sébastien Richert
591e4ea976
feat: Restrain sending http credentials on a specific origin ( #20374 )
...
For security purpose, we would like to restrain sending HTTP credentials
to only the specified server. The idea is to give the ability to specify
a origin (scheme://host:port) additionally to current pair
username/password. When an authorization response is received from
servers, the credentials are sent only if the server origin in the
request matches case insensitive the specified origin.
2023-03-27 08:52:00 -07:00
Pavel Feldman
c3d7ffb773
chore(ui): do not print global setup epilogue ( #21976 )
2023-03-24 20:56:45 -07:00
Pavel Feldman
add948cdd0
chore: allow sibling describes with the same name ( #21967 )
...
Fixes https://github.com/microsoft/playwright/issues/21953
2023-03-24 17:09:11 -07:00
Pavel Feldman
79d55b959b
Revert "chore: remove legacy watch mode ( #21944 )" ( #21973 )
...
This reverts commit 86af908fa7
.
2023-03-24 16:41:20 -07:00
Dmitry Gozman
120aaa777e
fix(test runner): do not show TimeoutError for unhandled rejection ( #21971 )
...
Unhandled error/rejection interrupts current test and produces a
TimeoutError for it that should be ignored.
2023-03-24 15:03:49 -07:00
Playwright Service
60ebea1e80
feat(chromium): roll to r1056 ( #21956 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-24 15:07:37 +01:00
Pavel Feldman
86af908fa7
chore: remove legacy watch mode ( #21944 )
2023-03-23 16:30:42 -07:00
Pavel Feldman
5ff8c5f782
chore: show global setup errors in ui mode ( #21942 )
...
Fixes: [21941](https://github.com/microsoft/playwright/issues/21941 )
2023-03-23 15:46:24 -07:00
Yury Semikhatsky
900f9deb4f
chore: pass parent step id in tele reporter ( #21934 )
2023-03-23 15:15:58 -07:00
Pavel Feldman
d4e0ef7f1a
chore: explicitly send route's requestUrl for tracing ( #21940 )
2023-03-23 14:57:03 -07:00
Pavel Feldman
31e70c17be
chore: filter skipped tests ( #21938 )
...
Fixes https://github.com/microsoft/playwright/issues/21918
2023-03-23 13:29:52 -07:00
Pavel Feldman
6b83631f24
chore: fix trace viewer backwards compat ( #21935 )
2023-03-23 12:49:53 -07:00
Pavel Feldman
f5bd236c7b
chore: install global watch late ( #21927 )
2023-03-23 11:30:28 -07:00
Max Schmitt
e621e52f89
chore: support TypeScript 5 in TS transformer ( #21925 )
...
Fixes https://github.com/microsoft/playwright/issues/21900
2023-03-23 18:07:02 +01:00
Playwright Service
667ee45c32
feat(chromium-tip-of-tree): roll to r1098 ( #21924 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-23 17:01:56 +01:00
Andrey Lushnikov
3477c89f20
fix(trace-viewer): survive broken selectors ( #21866 )
...
Fixes https://github.com/microsoft/playwright/issues/21832
2023-03-22 18:52:04 -07:00
Dmitry Gozman
d10fac4f6a
feat: Locator.or(locator) ( #21884 )
2023-03-22 15:28:59 -07:00
Alex Neo
6947f47f05
feat(html): added labels to test cases and test files ( #21468 )
2023-03-22 14:35:58 -07:00
Yury Semikhatsky
a2a2b78cc8
chore: relative paths in telereporter ( #21887 )
2023-03-22 13:59:57 -07:00
Dmitry Gozman
a01fd04d63
chore: remove hierarchy of SnapshotStorage ( #21853 )
2023-03-22 09:32:21 -07:00
Dmitry Gozman
295a8ec92b
chore(tracing): remove extra fs.access call ( #21855 )
2023-03-21 19:01:09 -07:00
Pavel Feldman
d9a9bb5a8c
chore: pack codemirror on resize ( #21856 )
2023-03-21 18:20:48 -07:00
Playwright Service
45b675d7a0
feat(webkit): roll to r1816 ( #21842 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-22 00:35:53 +01:00
Dmitry Gozman
80a37ec171
fix(socks): use happy-eyeballs to create a connection ( #21847 )
2023-03-21 14:12:24 -07:00
Dmitry Gozman
21e1c50bcd
fix(run-server): do not engage socks when not requested ( #21848 )
...
Fixes #21762 .
2023-03-21 14:06:55 -07:00
Pavel Feldman
1cf53da82a
chore: lower the input name ( #21850 )
2023-03-21 13:48:59 -07:00
Yury Semikhatsky
1004e762aa
chore(fetch): host does not include port ( #21845 )
2023-03-21 13:14:50 -07:00
Pavel Feldman
1bbe2b4b6a
chore: update test locations when merging ( #21844 )
2023-03-21 12:13:20 -07:00
Pavel Feldman
7ce2b36489
chore(ui): show load errors ( #21843 )
2023-03-21 12:03:26 -07:00
Pavel Feldman
0bf406c8aa
chore: sort tracing actions by wall time ( #21839 )
2023-03-21 10:03:49 -07:00
Playwright Service
5cad7bbaab
feat(chromium-tip-of-tree): roll to r1097 ( #21834 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-21 16:38:43 +01:00
Dmitry Gozman
bea6fa15b2
feat(snapshots): use double-buffer to avoid white flash on hover ( #21828 )
2023-03-21 07:40:54 -07:00
Playwright Service
04fd5435db
feat(webkit): roll to r1814 ( #21829 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-21 09:06:30 +01:00
Pavel Feldman
13acbbd0a7
chore(ui): use test backlog when chaining ( #21830 )
2023-03-20 21:25:55 -07:00
Pavel Feldman
48eea13259
chore: update margins to align ( #21826 )
2023-03-20 20:45:32 -07:00
Pavel Feldman
6015dad9db
chore: remove npx playwright ui ( #21823 )
2023-03-20 17:12:17 -07:00
Pavel Feldman
a33cf10696
chore(ui): decorate pending, add time spent ( #21821 )
2023-03-20 17:12:02 -07:00
Playwright Service
2dee3c4fc7
feat(webkit): roll to r1813 ( #21819 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-03-20 23:56:03 +01:00
Pavel Feldman
543c812d2f
chore(ui): queue watch runs ( #21809 )
2023-03-20 13:45:35 -07:00
Max Schmitt
d641caeb6a
Revert "feat(typescript): allow declare
for class properties ( #21281 )" ( #21805 )
...
This reverts commit a1ba6757e0
.
https://github.com/microsoft/playwright/issues/21794
2023-03-20 16:37:20 +01:00
Pavel Feldman
001df3a495
chore(ui): follow up to watch, fix win ( #21792 )
2023-03-19 22:52:48 -07:00
Pavel Feldman
754e6edb95
chore: show folders in the tree ( #21789 )
2023-03-19 18:51:09 -07:00
Pavel Feldman
294baaeb44
chore: allow watching all tests ( #21787 )
2023-03-19 14:50:09 -07:00
Pavel Feldman
f151c45c91
chore: do not pass chromium args when running carlo-alike apps ( #21782 )
2023-03-19 12:04:45 -07:00
Pavel Feldman
8a65cf9aac
chore(ui): ui polish / nits ( #21781 )
2023-03-19 12:04:19 -07:00
Pavel Feldman
0728d0f7fb
chore(ui): show test source before running ( #21776 )
2023-03-17 21:34:40 -07:00
Pavel Feldman
22e11a12ab
chore: show snapshots for sync assertions ( #21775 )
2023-03-17 20:20:35 -07:00
Andrey Lushnikov
32d33cb8d5
chore: cut 1.32 ( #21773 )
2023-03-17 19:36:43 -07:00
Pavel Feldman
d806c98009
chore(ct): do not clash internals with userland ( #21774 )
2023-03-17 18:08:28 -07:00
Pavel Feldman
50dd04ae61
chore(ui): bump xterm scrollback ( #21772 )
2023-03-17 16:14:21 -07:00
Dmitry Gozman
2a2d6c25a4
feat(deps): inherit environment changes from dependencies ( #21771 )
2023-03-17 15:46:52 -07:00
Pavel Feldman
6efb383433
chore: fix and test ui mode stop ( #21769 )
2023-03-17 14:10:25 -07:00
Dmitry Gozman
f484b833ae
docs: update getByLabel docs to mention aria attributes ( #21765 )
...
References #21624 .
2023-03-17 12:48:07 -07:00
Yury Semikhatsky
95e7d3aabc
chore: hide store from public ( #21763 )
2023-03-17 11:50:44 -07:00
Dmitry Gozman
3a80d119e0
chore: update routeFromHAR options for release ( #21764 )
2023-03-17 11:49:45 -07:00
Pavel Feldman
b0bda92f9e
chore(ui): store selected projects in settings ( #21737 )
2023-03-17 09:41:23 -07:00
Playwright Service
403a194ac7
feat(chromium-tip-of-tree): roll to r1096 ( #21756 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-17 17:11:44 +01:00
Max Schmitt
4a0dec6807
chore: do not leak recorder event registrations ( #21751 )
2023-03-17 16:16:08 +01:00
Max Schmitt
53d341be01
test: do not pollute stderr with trace-viewer wsEndpoint ( #21748 )
2023-03-17 16:15:20 +01:00
Pavel Feldman
e066ca0713
chore: use test project output dir when showing live trace ( #21735 )
2023-03-16 20:09:09 -07:00
Playwright Service
eac910db82
feat(firefox): roll to r1391 ( #21732 )
...
Fixes https://github.com/microsoft/playwright/issues/21668
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 18:49:01 -07:00
Pavel Feldman
ecd0f927f4
chore: make stacks rendering live in ui mode ( #21728 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-03-16 18:17:07 -07:00
Dmitry Gozman
f37f38e553
chore: decouple test groups from root suite as much as possible ( #21731 )
2023-03-16 17:11:15 -07:00
Pavel Feldman
f47a8a677c
chore: verify chromium builds ( #21730 )
2023-03-16 16:56:25 -07:00
Dmitry Gozman
7879cf30f0
fix(reuse): serial mode with tracing should not throw ( #21726 )
...
Regressed in #19733 .
Fixes #21113 .
2023-03-16 14:32:12 -07:00
Dmitry Gozman
2074a51299
docs: fix details about WorkerInfo vs TestInfo availability ( #21699 )
...
Fixes #21695 .
2023-03-16 12:36:34 -07:00
Playwright Service
03a0f479d2
feat(chromium): roll to r1055 ( #21721 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 19:25:59 +01:00
Dmitry Gozman
2518bfa8d3
Revert "feat(tracing): throttle trace event writes ( #21694 )" ( #21718 )
...
This reverts commit 3f20602735
.
2023-03-16 11:15:57 -07:00
Max Schmitt
3ceac4bf53
docs: drop duplicate JS code snippets from test-api ( #21466 )
...
https://github.com/microsoft/playwright/issues/21385
2023-03-16 19:01:15 +01:00
Pavel Feldman
1ffe01b027
chore: render errors from all actions inline the source ( #21702 )
2023-03-16 10:01:17 -07:00
Dmitry Gozman
3f20602735
feat(tracing): throttle trace event writes ( #21694 )
2023-03-16 07:04:05 -07:00
Dmitry Gozman
ea85242941
chore: improve client-side options plumbing ( #21697 )
2023-03-16 07:03:33 -07:00
Pavel Feldman
c45d8749b0
chore: split trace events into phases ( #21696 )
2023-03-15 22:33:40 -07:00
Dmitry Gozman
40a6eff8f2
feat: support name
option in tracing.startChunk()
( #21692 )
2023-03-15 17:34:56 -07:00
Dmitry Gozman
bde2e90973
fix(selector generator): do not produce has-text="foo"s
( #21679 )
...
There is no locator counterpart for it. Instead, produce a regex.
Also fix locator generator to not produce incorrect locator in this
case.
Fixes #21649 .
2023-03-15 13:43:42 -07:00
Dmitry Gozman
b149d132a6
chore(test runner): split loadAllTests into parts ( #21674 )
2023-03-15 13:40:58 -07:00
Pavel Feldman
99d8f6e7de
chore(ui): show live trace ( #21677 )
2023-03-15 11:17:03 -07:00
Dmitry Gozman
69a94ed044
docs: update default timeouts in js to be zero and mention config ( #21675 )
...
Fixes #19018 .
2023-03-14 16:34:30 -07:00
Pavel Feldman
27048adebe
chore: introduce testInfo.testId ( #21670 )
2023-03-14 15:58:55 -07:00
Pavel Feldman
7666894d77
chore(ui): minor trace viewer improvements ( #21672 )
2023-03-14 15:24:48 -07:00
Dmitry Gozman
455e11c1d9
fix(shards): shard test groups instead of files ( #21638 )
...
Fixes #21497 .
2023-03-14 10:41:37 -07:00
Max Schmitt
a2c96494e0
chore: throw pretty error if rest parameters is used inside fixtures ( #21659 )
...
Fixes https://github.com/microsoft/playwright/issues/21566
2023-03-14 17:35:52 +01:00
Playwright Service
7965a8f0bc
feat(chromium-tip-of-tree): roll to r1094 ( #21658 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-14 15:04:08 +01:00
Pavel
ec10308c1b
chore: follow up to ui-mode style change, fix image style
2023-03-13 22:22:52 -07:00
Pavel Feldman
f5fa18a279
chore: reimplement filters ( #21647 )
2023-03-13 22:19:31 -07:00
Dmitry Gozman
ccd5d7fd10
fix(hit target): workaround webkit elementsFromPoint bug ( #21642 )
...
Fixes #21596 .
2023-03-13 19:33:56 -07:00
Dmitry Gozman
c9837dfcc7
docs: add flakiness note to locator.all ( #21645 )
2023-03-13 19:33:36 -07:00
Dmitry Gozman
809725e114
fix(reuse): only reuse the default browser, not explicitly launched ones ( #21631 )
...
Fixes #20399 .
2023-03-13 16:50:51 -07:00
Playwright Service
4e807f9824
feat(firefox): roll to r1390 ( #21591 )
2023-03-13 16:43:49 -07:00
Playwright Service
e6d13f1f2c
feat(webkit): roll to r1811 ( #21637 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-13 22:34:34 +01:00
Alex Neo
9c8d0822d6
fix(html-reporter): annotations.size rendered 0 on UI ( #21635 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-03-13 21:23:17 +01:00
Dmitry Gozman
8e7ec88462
fix(electron): do not use loader for packaged apps ( #21577 )
...
References #21387 , #21512 .
2023-03-13 12:52:52 -07:00
Pavel Feldman
1d870ac407
chore(ui): start adding ui mode tests (2) ( #21608 )
2023-03-13 12:14:51 -07:00
Pavel Feldman
a12e909a40
chore(ui): start adding ui mode tests ( #21601 )
2023-03-12 15:18:47 -07:00
Pavel Feldman
493171cb6b
chore: select files to watch explicitly ( #21599 )
2023-03-12 10:50:21 -07:00
Pavel Feldman
08a5922c4d
chore: select first failure ( #21593 )
2023-03-12 10:42:02 -07:00
Pavel Feldman
b85d670491
chore(ui): show output on demand ( #21592 )
2023-03-11 11:43:33 -08:00
Pavel Feldman
428ea66578
chore: hide timeline bars and stack from ui mode ( #21590 )
2023-03-10 22:52:31 -08:00
Dmitry Gozman
ea8aa63f1a
feat: support PWTEST_PROFILE_DIR in run-server ( #21582 )
...
This creates one profile per connection in the specified directory.
2023-03-10 19:07:40 -08:00
Andrey Lushnikov
fa9edcbbc1
feat(firefox): roll Firefox to 1389 ( #21584 )
...
Fixes #20824
2023-03-10 17:43:59 -08:00
Pavel Feldman
0b9c037f36
chore(ui): do not add sources into the zip file ( #21588 )
2023-03-10 17:01:30 -08:00
Pavel Feldman
34efbea4c5
chore(ui): throttle tree updates ( #21578 )
2023-03-10 17:01:19 -08:00
Pavel Feldman
e45a496850
chore(tv): render error in-line ( #21586 )
2023-03-10 16:22:19 -08:00
Dmitry Gozman
21950bc8ce
feat(html reporter): render multiple annotations of the same type together ( #21580 )
...
Multiple annotations are rendered as comma-separated lists. Fixes
#21253 .
![IMAGE 2023-03-10
14:24:10](https://user-images.githubusercontent.com/9881434/224439435-3bf8e4f4-d874-4595-931d-ea5ff33ea374.jpg )
2023-03-10 15:26:02 -08:00
Dmitry Gozman
46f9fa005e
fix(tracing): do not double-zip entries in remote mode ( #21579 )
...
Fixes #21435 .
2023-03-10 14:54:32 -08:00
Dmitry Gozman
6d27d2c029
fix(test runner): improved fixture teardown timeout error message ( #21572 )
...
The new message looks like this:
```
Test finished within timeout of 500ms, but tearing down "playwright configuration" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.·
```
References #21259 .
2023-03-10 13:45:47 -08:00
Pavel Feldman
1073e42686
chore: allow running failing ( #21569 )
2023-03-10 12:41:00 -08:00
Andrey Lushnikov
e202091ca3
feat(firefox): roll Firefox to 1388 ( #21570 )
...
Fixes #21393
2023-03-10 10:20:56 -08:00
Andrey Lushnikov
870edd1aae
feat(firefox): roll Firefox to 1387 ( #21542 )
...
Fixes #21109
Fixes #21430
2023-03-10 09:25:54 -08:00
Dmitry Gozman
58a23bc7a0
fix(test runner): allow worker-only dynamic imports ( #21545 )
...
Fixes #21409 .
2023-03-10 08:58:26 -08:00
Dmitry Gozman
0794cb1486
fix(fetch): preserve case in header names ( #21543 )
...
Fixes #21492 .
2023-03-10 08:58:12 -08:00
Playwright Service
dab61df451
feat(chromium): roll to r1054 ( #21559 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-10 15:09:36 +01:00
Pavel Feldman
c3b4820f1e
chore: animate the running progress ( #21554 )
...
https://github.com/microsoft/playwright/issues/21541
2023-03-09 21:45:57 -08:00
Pavel Feldman
0106a54e6e
chore: ui mode fixes ( #21546 )
...
For https://github.com/microsoft/playwright/issues/21541
2023-03-09 20:02:42 -08:00
Pavel Feldman
e737ff83b4
chore: migrate to useRef take 2 ( #21552 )
2023-03-09 19:34:05 -08:00
Pavel
a619ea4d68
Revert "chore: replace createRef with useRef in most of the places ( #21536 )"
...
This reverts commit 908c0462d5
.
2023-03-09 16:46:31 -08:00
Pavel Feldman
908c0462d5
chore: replace createRef with useRef in most of the places ( #21536 )
2023-03-09 13:31:21 -08:00
Pavel Feldman
e7b21425f7
chore: support both test --ui and ui clis ( #21537 )
2023-03-09 13:03:01 -08:00
Yury Semikhatsky
c30d88a63a
test: setContent with disabled javascript ( #21399 )
...
Fixes https://github.com/microsoft/playwright/issues/21379
2023-03-09 10:45:19 -08:00
Pavel Feldman
47a71731f4
chore: add explicit command for gui runner ( #21509 )
2023-03-09 08:04:02 -08:00
Playwright Service
45a97bb4f7
feat(chromium-tip-of-tree): roll to r1093 ( #21526 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-09 16:18:01 +01:00
Pavel Feldman
5ef2edb9f7
chore: support suites in the tree ( #21508 )
2023-03-08 19:50:32 -08:00
Pavel Feldman
72c41db668
chore: propagate status along the tree ( #21507 )
2023-03-08 18:24:45 -08:00
Pavel Feldman
adc895d31f
chore: introduce tree control ( #21505 )
2023-03-08 17:33:27 -08:00
Pavel Feldman
a2490a8fc8
chore(ui): maintain test order when updating ( #21478 )
2023-03-07 20:34:57 -08:00
Pavel Feldman
f5894ed089
chore: open location in vscode ( #21472 )
2023-03-07 17:20:41 -08:00
Pavel Feldman
de0b66c888
chore: allow opt out from watch ( #21471 )
2023-03-07 15:07:52 -08:00
Pavel Feldman
e9f94f0346
chore: add ui mode terminal ( #21470 )
2023-03-07 14:24:50 -08:00
Pavel Feldman
9e7abb2a76
chore: rearrange settings ( #21467 )
2023-03-07 12:43:16 -08:00
Max Schmitt
c9eac69f2b
fix(types): accept string in expect().toMatch() ( #21454 )
...
Fixes https://github.com/microsoft/playwright/issues/21453
2023-03-07 17:53:50 +01:00
Playwright Service
90d1f74dbf
feat(webkit): roll to r1808 ( #21460 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 16:53:44 +01:00
Playwright Service
55df9e0029
feat(chromium-tip-of-tree): roll to r1092 ( #21458 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 15:25:04 +01:00
Playwright Service
2b0a663dc2
feat(chromium): roll to r1053 ( #21459 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 15:24:24 +01:00
Pavel Feldman
041d0ab0d6
chore: create trace model off steps for progress ( #21448 )
2023-03-06 22:35:57 -08:00
Pavel Feldman
9e477a183e
chore: various trace viewer ui fixes ( #21447 )
2023-03-06 21:37:39 -08:00
Pavel Feldman
65117702e7
chore: consistent xterm naming ( #21446 )
2023-03-06 20:39:52 -08:00
Pavel Feldman
cffb6ac269
chore: move sever/isomorphic to utils/ to use it in client ( #21445 )
2023-03-06 18:49:14 -08:00
Pavel Feldman
04b35089be
chore: extract shared trace viewer components ( #21433 )
2023-03-06 12:25:00 -08:00
Pavel Feldman
b6ff3bad98
chore: split code mirror and xterm modules ( #21415 )
2023-03-06 10:40:45 -08:00
Sander
99e736afc8
fix(ct): react17 primitive as slot ( #21396 )
2023-03-06 08:59:35 -08:00
Sander
872b8ddbdd
chore(ct): vue prop type of JsonObject ( #21400 )
2023-03-06 08:58:56 -08:00
Pavel Feldman
86ca7e3949
chore: introduce manual promise race ( #21358 )
...
Fixes https://github.com/microsoft/playwright/issues/21345
2023-03-06 08:50:03 -08:00
Pavel Feldman
47427e87ec
chore: do not use module.exports in the injected esm files ( #21412 )
...
Follow up to #17145
2023-03-05 20:01:35 -08:00
Pavel Feldman
5735752c65
chore: use xterm for test output in the ui mode ( #21411 )
2023-03-05 14:28:59 -08:00
Pavel Feldman
bae9173208
chore: split ui mode toolbar into lines, show progress ( #21403 )
2023-03-05 13:46:21 -08:00
Pavel Feldman
d8d410db6e
chore: implement project filter ( #21402 )
2023-03-04 19:39:55 -08:00
Pavel Feldman
ec056a6312
chore: merge projects in the tree ( #21401 )
2023-03-04 16:28:30 -08:00
Pavel Feldman
f0cd123a45
chore(ui): make ui-side drive things ( #21398 )
2023-03-04 15:05:41 -08:00
Yury Semikhatsky
0ebe090b8c
fix(har): do not hang on chunked response in har recorder ( #21397 )
...
Fixes #21182
2023-03-03 17:27:34 -08:00
Dmitry Gozman
0c5d46bb94
feat: allow chaining locators with Locator.locator(anotherLocator) ( #21391 )
2023-03-03 14:50:53 -08:00
Dmitry Gozman
d904a6129f
chore: run check-deps for all packages ( #21395 )
2023-03-03 14:50:43 -08:00
Sebastian Silbermann
fbaf56a13f
feat(ct-react): Support React 18 only ( #19814 )
...
BREAKING CHANGE: Drop support for React 17 and earlier
Support for React 17 an earlier is provided by
`@playwright/experimental-ct-react-17`
Closes #19923
2023-03-03 14:28:33 -08:00
Yury Semikhatsky
be259dac7c
fix: expose window.safari in webkit ( #21361 )
...
The actual API of the object is not implemented because those who want
to test it will likely need their own mock and for the browser detection
logic (as described in the bug) just having the property on window
should be sufficient.
Fixes #21037
2023-03-03 13:38:13 -08:00