Yury Semikhatsky
d5b387159a
feat(fetch): sendImmediately ( #30627 )
...
Fixes https://github.com/microsoft/playwright/issues/30534
2024-05-02 16:30:12 -07:00
Playwright Service
5639cab4a4
feat(webkit): roll to r2005 ( #30638 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-02 18:13:21 +00:00
jonghoonpark
a6488c4a28
fix(html-reporter): add filter for anonymous describe ( #30621 )
...
related issue: https://github.com/microsoft/playwright/issues/30475
## Motivation:
On https://github.com/microsoft/playwright/issues/30475 , we found that
anonymous describe is rendered in html report
## Modification:
Make filter for anonymous describe
## Result:
anonymous describe will be filtered out.
Not render empty describe
Close https://github.com/microsoft/playwright/issues/30475 issue
2024-05-02 09:54:44 -07:00
Dmitry Gozman
fd92509dda
fix(role): extract tagName safely ( #30636 )
...
Fixes #30616 .
2024-05-02 09:42:19 -07:00
georg.dev
8173cdc485
fix(reporters): improve detection of output folder clashes ( #30607 )
...
When comparing `outputDir` and html-reporter `outputFolder`, we now make
sure that both paths end with a forward-slash.
Fixes #28677
---------
Co-authored-by: Georg Unterholzner <georg.unterholzner@dynatrace.com>
2024-05-02 08:32:57 -07:00
Playwright Service
c1fbc753a7
feat(webkit): roll to r2004 ( #30633 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-02 12:44:19 +00:00
Max Schmitt
980f9c6ad4
chore: drop firefox-asan ( #30626 )
2024-05-01 22:13:00 +00:00
Yury Semikhatsky
ff35f651e6
chore: delete expired location handler from client map ( #30574 )
2024-05-01 13:04:21 -07:00
Yury Semikhatsky
3b7c4fac22
chore: add common env vars for junit and json reporters ( #30611 )
2024-05-01 10:16:49 -07:00
Yury Semikhatsky
ad0938c659
chore: mark 1.45.0-next ( #30598 )
2024-04-29 17:19:05 -07:00
Pavel Feldman
fb90797d73
fix(last-run): remove globalOutputDir ( #30571 )
2024-04-29 09:02:54 -07:00
Pavel Feldman
96f3d19819
feat(ctrl_or_meta): add a universal ctrl-meta modifier ( #30572 )
...
Fixes https://github.com/microsoft/playwright/issues/12168
2024-04-29 08:15:12 -07:00
Pavel Feldman
b5dee9ecb7
feat(html): allow ctrl+clicking status ( #30556 )
2024-04-26 10:50:20 -07:00
Dmitry Gozman
ab3df111c9
chore: remove TeleTestCase._resultsMap ( #30567 )
2024-04-26 10:11:01 -07:00
Tan Li Hau
194479d90e
fix: pass key attribute from jsx to component test ( #30426 )
...
When using the `key` attribute in jsx inside the test modules, it is not
serialised and passed to the browser in component test
2024-04-26 09:49:44 -07:00
Yury Semikhatsky
3643fd456b
feat: outputFile option and PLAYWRIGHT_BLOB_OUTPUT_FILE env for blob ( #30559 )
...
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-26 09:33:53 -07:00
Yury Semikhatsky
ae9345d0bd
docs: add FormData to the examples ( #30557 )
2024-04-25 16:31:27 -07:00
Dmitry Gozman
6d20da568e
feat: expect(locator).toHaveRole(role) ( #30555 )
...
References #13517 . Fixes #18332 .
2024-04-25 15:26:10 -07:00
Yury Semikhatsky
9a1b34a4b0
Revert "fix: shut down workers before reporter.onEnd ( #30329 )" ( #30551 )
...
This reverts commit 3cea17abb6c8d7371a6d4dd913f714c427ea0fa0.
Reference https://github.com/microsoft/playwright/issues/30550
The test is preserved but marked as fixme.
2024-04-25 14:21:54 -07:00
Dmitry Gozman
086ea79c25
chore: remove checkCoverage script ( #30552 )
...
We do not benefit from it for many years already.
2024-04-25 14:00:14 -07:00
Dmitry Gozman
9bd2aea130
feat(locator handler): address api review feedback ( #30554 )
...
- Remove `handler` argument from `removeLocatorHandler`.
- Rename `allowStayingVisible` into `noWaitAfter`.
- Improve logging related to locator handler.
- Remove experimental badges.
2024-04-25 14:00:02 -07:00
Dmitry Gozman
dc0665210f
fix(reporters): properly determine flaky status for serial mode ( #30529 )
...
There are plenty of edge cases in this area:
- interrupted test run;
- did not run because of serial mode failure;
- failed before `test.skip()` call (e.g. in `beforeEach`) in one of the
retries;
- and more...
Related issues: #28322 , #28321 , #27455 , #17652 .
Prior changes: #27762 , #26385 , #28360 , probably more.
There is still some duplication between `outcome()` and similar logic in
`base.ts`, which might be deduped in a follow-up.
Fixes #28322 .
2024-04-25 13:39:14 -07:00
Yury Semikhatsky
5502a16e1d
fix(junit): merged report should preserve total duration ( #30525 )
...
Fixes https://github.com/microsoft/playwright/issues/30518
2024-04-25 13:34:17 -07:00
Yury Semikhatsky
714235d6c8
fix(merge): include command hash into the report name ( #30528 )
...
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 13:34:00 -07:00
Pavel Feldman
4fa1030af6
chore: hide skipped tests by default ( #30546 )
...
Fixes https://github.com/microsoft/playwright/issues/30540
2024-04-25 12:48:41 -07:00
Pavel Feldman
14413148f4
chore: document --last-failed ( #30544 )
...
drive-by: undocument --browser
2024-04-25 12:29:51 -07:00
Playwright Service
dfda3003a1
feat(webkit): roll to r2003 ( #30543 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 19:38:21 +02:00
Yury Semikhatsky
b074932a44
feat(blob): PLAYWRIGHT_BLOB_FILE_NAME env variable ( #30530 )
...
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 09:45:38 -07:00
Pavel Feldman
a2eb43b335
feat(runner): allow running last failed tests ( #30533 )
...
Fixes: https://github.com/microsoft/playwright/issues/30506
2024-04-25 08:15:27 -07:00
Playwright Service
8e6272b1e3
feat(chromium): roll to r1116 ( #30542 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 16:08:13 +02:00
Playwright Service
0f28063538
feat(chromium-tip-of-tree): roll to r1215 ( #30541 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 15:26:03 +02:00
Pavel Feldman
ff3d3ae8f2
fix(ui): print config and global setup errors ( #30531 )
...
Fixes: https://github.com/microsoft/playwright/issues/30513
2024-04-24 18:54:48 -07:00
Dmitry Gozman
59689c9c97
feat(addLocatorHandler): various improvements ( #30494 )
...
- Automatically waiting for the overlay locator to be hidden, with
`allowStayingVisible` opt-out.
- `times: 1` option.
- `removeLocatorHandler(locator, handler)` method.
- Passing `locator` as first argument to `handler`.
Fixes #30471 . Fixes #30424 . Fixes #29779 .
2024-04-24 15:19:12 -07:00
Yury Semikhatsky
e2f7acea1e
docs: fix capitalization and alphabetic order in TestConfig ( #30523 )
2024-04-24 15:18:43 -07:00
Yury Semikhatsky
f1f3929a67
chore: get rid of ConfigInWorker, use FullConfig instead ( #30517 )
...
Addressing API review feedback.
2024-04-24 14:14:05 -07:00
Yury Semikhatsky
4e086e6df8
docs: update type property description ( #30516 )
2024-04-24 13:10:17 -07:00
Playwright Service
9914b35c96
feat(firefox-beta): roll to r1449 ( #30510 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-24 12:43:26 -07:00
Pavel Feldman
e91d372544
fix(ct): allow importing components from node_modules ( #30493 )
...
Fixes https://github.com/microsoft/playwright/issues/29854
2024-04-24 12:32:28 -07:00
Pavel Feldman
7a9fd27146
chore: never watch node_modules ( #30514 )
2024-04-24 12:27:47 -07:00
Dmitry Gozman
8fc7723f22
fix(types): allow any return type from event handlers ( #30492 )
...
Closes #29353 .
2024-04-24 09:25:43 -07:00
Playwright Service
b1d963c24c
feat(webkit): roll to r2002 ( #30505 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-24 17:06:52 +02:00
Yury Semikhatsky
230a8437d3
feat(fetch): support FormData as multipart parameter ( #30489 )
...
Reference https://github.com/microsoft/playwright/issues/28070
2024-04-23 17:05:27 -07:00
Dmitry Gozman
25b881cd10
fix(firefox): "warn" console messages should be "warning" ( #30490 )
...
Fixes #30136 .
2024-04-23 15:07:29 -07:00
Pavel Feldman
4514b7e3ed
chore: use original test ids in html report ( #30486 )
...
Fixes https://github.com/microsoft/playwright/issues/30430
2024-04-23 14:28:27 -07:00
Yury Semikhatsky
67c430435a
docs: more accurate test id description ( #30487 )
...
Reference https://github.com/microsoft/playwright/issues/30430
2024-04-23 14:07:37 -07:00
Pavel Feldman
f5ca5241f3
feat(esm): support import attributes ( #30482 )
...
Fixes https://github.com/microsoft/playwright/issues/30473
2024-04-23 10:13:01 -07:00
Dmitry Gozman
02c0706896
docs: do not recommend waitForLoadState ( #30483 )
...
Instead, just perform an action and auto-waiting will handle it.
Closes #30236 .
2024-04-23 09:22:58 -07:00
Rui Figueira
c80b851422
fix(codegen): prevent csp directive violations ( #30366 )
2024-04-23 07:33:12 -07:00
Max Schmitt
d7169973ae
chore(roll): roll chromium-tip-of-tree to r1214 ( #30481 )
2024-04-23 15:59:48 +02:00
Dmitry Gozman
b0fbe058ae
feat: TestProject.ignoreSnapshots ( #30466 )
2024-04-22 16:16:38 -07:00