Commit graph

11321 commits

Author SHA1 Message Date
Andrey Lushnikov 4743420999
chore: mark 1.38.1 (#27237) 2023-09-21 12:38:34 -07:00
Dmitry Gozman c41012b055
cherry-pick(#27219): Revert "feat(evaluate): serialize map and set (#26730)" (#27222)
This reverts commit ee203b782c.

References #24040.
Fixes #27181.
2023-09-20 19:05:31 -07:00
Dmitry Gozman ed619b6fcb
cherry-pick(#27162): fix(tracing): bump trace version to V5, migrate V4 traces to consoleMessage.args (#27193)
This moves the fix in #27095 from `modernize` to `appendEvent`. The
reason is that `trace V4` is used both for older traces that do not have
`consoleMessage.args` and the new ones with `args`. Since we do not call
`modernize` for traces of the same version, the original fix does not
help in this case.

Fixes #27144.
2023-09-19 20:59:07 -07:00
Dmitry Gozman abf9df39cf
cherry-pick(#27188): fix(locators): do not escape regular expressions with u or v flag (#27190)
Fixes #27163.
2023-09-19 15:27:11 -07:00
Playwright Service 35d8604f8d
cherry-pick(#27167): docs: 1.38 release notes for language ports (#27168)
This PR cherry-picks the following commits:

- 7f1d93dd3f
2023-09-18 17:40:20 -07:00
Playwright Service 6cc43d81c5
cherry-pick(#27117): fix: custom expect matchers on Locator/Page/APIResponse instance (#27125)
This PR cherry-picks the following commits:

- 0d44405762

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-15 19:47:28 +02:00
Dmitry Gozman 2a577a5caf
cherry-pick(#27095): fix(tracing): support old traces with consoleMessage.args (#27124)
Fixes #27072.
2023-09-15 10:31:33 -07:00
Dmitry Gozman ed919f3dda
cherry-pick(#27098): fix(har): handle invalid Expires/Max-Age (#27123)
Fixes #27073.
2023-09-15 09:26:39 -07:00
Yury Semikhatsky 476b74f7c4
cherry-pick(#27103): fix: list tests only once (#27107)
Fixes #27087
2023-09-14 21:33:29 -07:00
Pavel Feldman 0861364c28 cherry-pick(#27100): chore: fit body in the network panel 2023-09-14 17:17:02 -07:00
Dmitry Gozman 9271ba9495
cherry-pick(#27089): fix: revert toMatchSnapshot deprecation (#27091)
- This reverts commit
8348f66107
landed in #26718.
- Update docs to point towards `toHaveScreenshot`.

Fixes #27071.
2023-09-14 13:46:19 -07:00
Andrey Lushnikov da997ee8c0 cherry-pick(#27067): docs: fix line wrapping in release notes 2023-09-13 15:55:57 -07:00
Andrey Lushnikov 94b6fe1bdb
chore: mark 1.38.0 (#27030) 2023-09-13 11:39:10 -07:00
Andrey Lushnikov 55cf8eae25 cherry-pick(#27028): docs: add release notes for 1.38
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-09-13 11:38:22 -07:00
Playwright Service a0a099fe4a
cherry-pick(#27049): feat(webkit): roll to r1908 (#27055)
This PR cherry-picks the following commits:

- bf35390c8d

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-13 18:28:50 +02:00
Playwright Service cd8b12c0d5
cherry-pick(#27041): feat(chromium): roll to r1080 (#27045)
This PR cherry-picks the following commits:

- 00b74a4aae

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-13 14:46:24 +02:00
Pavel Feldman 9981f1418a cherry-pick(#27008): chore: polish ui mode for better mac appearance 2023-09-11 19:03:01 -07:00
Pavel Feldman 5f78f27a7a cherry-pick(#27006): chore: document new onEnd params 2023-09-11 18:19:02 -07:00
Pavel Feldman 7c838653d6
chore: fix the split view, reset window on timeline click (#27007) 2023-09-11 18:16:02 -07:00
Dmitry Gozman d9eabda09d
fix(locators): escape quotes in regular expressions (#27002)
Fixes #26974.
2023-09-11 15:49:04 -07:00
Max Schmitt 6bbc09c96c
chore: show channel name in trace viewer metadata (#26987)
Fixes https://github.com/microsoft/playwright/issues/26986
2023-09-11 23:06:56 +02:00
Max Schmitt 5811d65b9d
Revert "chore: pin node to 20.5 to work around https://github.com/nod… (#26979)
…ejs/node/issues/49497 (#26921)"

This reverts commit 874e285adf.
2023-09-11 22:33:09 +02:00
Debbie O'Brien 4d488b464a
docs: update intro for js (#26959) 2023-09-11 18:54:34 +02:00
Max Schmitt c327d5af5b
chore: roll TypeScript to 5.2.2 (#26977) 2023-09-11 18:18:19 +02:00
Max Schmitt 01ab703400
test: restore useIntermediateMergeReport=true test mode in html tests (#26989)
This got accidentally removed in
https://github.com/microsoft/playwright/pull/26799.
2023-09-11 09:14:05 -07:00
Max Schmitt 54f36bee93
chore: make html report image attachment clickable (#26978) 2023-09-11 08:44:00 +02:00
Pavel Feldman 80b9e02837
fix(trace): do not attach screenshots twice (#26971) 2023-09-08 18:00:12 -07:00
Yury Semikhatsky 2feae015aa
chore: remove details from markdown reports (#26961)
- remove error details from the reports
- collapse flaky tests by default
- limit comment to 65365 character

GitHub API has comment length limit 65536 chars:
```
Unhandled error: HttpError: Validation Failed: {"resource":"IssueComment","code":"unprocessable","field":"data","message":"Body is too long (maximum is 65536 characters)"}
```
2023-09-08 17:49:34 -07:00
Pavel Feldman c3f5486dab
chore: group attachments across actions in trace (#26969) 2023-09-08 16:47:45 -07:00
Dmitry Gozman 186f86905c
chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
Dmitry Gozman 7c0766a273
devops: install pnpm and yarn for secondary installation tests (#26968) 2023-09-08 13:54:05 -07:00
Yury Semikhatsky 0213fef484
test: unskip passing test (#26960)
The functionality was fixed in
[webkit](https://github.com/microsoft/playwright-browsers/pull/625) and
should be available with [recent
roll](https://github.com/microsoft/playwright/pull/26953).

Fixes #26876
2023-09-08 12:57:32 -07:00
Pavel Feldman 8ba8c9385d
chore: keep split positions when zooming (#26942) 2023-09-08 12:30:08 -07:00
Dmitry Gozman e6d9b2a818
test: add installation tests for yarn and pnpm (#26937) 2023-09-08 10:06:31 -07:00
Playwright Service f5e6f2e6d2
feat(webkit): roll to r1907 (#26953) 2023-09-08 09:03:51 -07:00
Yury Semikhatsky fd28e8d801
test: reset view scale after navigation (#26939)
Failing test for #26876
2023-09-08 08:58:07 -07:00
Debbie O'Brien 829609dac0
docs: writing tests python merge with node (#26926) 2023-09-08 17:13:00 +02:00
Pavel Feldman 99047cba03
chore: add install browsers dialog (#26940) 2023-09-07 18:34:59 -07:00
Pavel Feldman 167c35ca66
chore: store scroll positions in trace viewer (#26938) 2023-09-07 17:14:39 -07:00
Playwright Service aa3f4f208e
feat(chromium): roll to r1079 (#26934) 2023-09-07 18:48:50 +02:00
Playwright Service e814657a38
feat(chromium-tip-of-tree): roll to r1149 (#26933)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-07 17:51:47 +02:00
Debbie O'Brien 9b99aea57f
docs: python running tests guide (#26910) 2023-09-07 15:47:40 +02:00
Playwright Service bf1f2d2c81
feat(firefox): roll to r1424 (#26915)
Fixes https://github.com/microsoft/playwright/issues/26463

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-06 23:02:52 -07:00
Playwright Service bcf59ed721
feat(webkit): roll to r1905 (#26909) 2023-09-07 07:41:46 +02:00
Pavel Feldman 7fa16d2230
chore: pick frame selectors in recorder (#26923) 2023-09-06 18:35:32 -07:00
Pavel Feldman 61a1924328
chore: align recorder drawer with trace viewer (#26922) 2023-09-06 17:13:25 -07:00
Pavel Feldman 874e285adf
chore: pin node to 20.5 to work around https://github.com/nodejs/node/issues/49497 (#26921)
Works around https://github.com/nodejs/node/issues/49497
2023-09-06 16:38:19 -07:00
Pavel Feldman d65da74b8f
fix(trace): allow typing in selector w/ frames (#26919) 2023-09-06 16:14:40 -07:00
Pavel Feldman ea4974ce36
chore: allow resetting the time filter (#26920) 2023-09-06 16:14:26 -07:00
Dmitry Gozman cb8656f24f
chore: remove @types/node from deps (#26918)
This effectively reverts #14230. We will install `@types/node` in `npm
init playwright` instead.
2023-09-06 16:09:35 -07:00