Commit graph

6383 commits

Author SHA1 Message Date
Max Schmitt b6eb917c29
chore: mark 1.17.2 (#11276) 2022-01-09 20:29:10 -05:00
Max Schmitt 224bfeba75
cherry-pick(release-1.17): chore: fix test-package-installation tests on Node.js 12 (#10756) (#11275) 2022-01-09 19:47:00 -05:00
Michaël De Boey b00e931d4a cherry-pick(#11274): fix: pin colors to 1.4.0 2022-01-09 16:28:26 -08:00
Pavel Feldman 4dfdca1b99
cherry-pick(#11228): fix(click): don't fail on stale context while cl… (#11231) 2022-01-07 13:04:19 -08:00
Andrey Lushnikov 112fe3ae0d cherry-pick(#10771): devops: setup Docker Qemu for arm64 docker builds
We might also need to install docker buildx if this is not enough.

References #10351
2021-12-09 14:57:50 -08:00
Andrey Lushnikov 5e5a646e16 cherry-pick(#10768): devops: move docker publishing logic to main repo
This patch:
- moves docker publishing to main repo
- extracts all the logic from the GHA YML file to Bash
- starts using the script in both `publish_canary.yml` and
  `publish_release.yml`

References #10351
2021-12-09 14:57:22 -08:00
Pavel Feldman 8e29c814df cherry-pick(#10685): fix(focus): make sure strictness is respected 2021-12-03 10:23:43 -08:00
Dmitry Gozman 9fe65beb93
cherry-pick+fix(#10678): test: add reporter test with grep (#10682)
This includes manual fix for the issue that was fixed in trunk
already, but cannot be cherry-picked.
2021-12-02 13:52:13 -08:00
Pavel Feldman ab511165f3 cherry-pick(#10679): fix(chromium): disable AutoExpandDetailsElement as it breaks the web 2021-12-02 13:34:51 -08:00
Pavel Feldman f802c27d09 cherry-pick(#10661): chore: add validations into check_deps 2021-12-01 18:16:37 -08:00
Dmitry Gozman be460a9fcb
chore(release-1.17): mark v1.17.1 (#10659) 2021-12-01 17:25:00 -08:00
Pavel Feldman 41417403b4
cherry-pick(#10654): chore: remove create-playwright, it is in monorepo by mistake (#10655) 2021-12-01 15:30:30 -08:00
Dmitry Gozman d22adda6ec
cherry-pick(#10653): fix(click): revert layout shift logic (#10656) 2021-12-01 14:02:23 -08:00
Pavel Feldman daece9cf49 cherry-pick(#10623): fix(toHaveText): normalize zero width white space 2021-12-01 11:41:04 -08:00
Max Schmitt 013eea654a chore: add wget to Docker images 2021-12-01 11:56:40 +01:00
Max Schmitt 30e15ad36f cherry-pick(#10609): docs(intro-java): bump Java to 1.17.1 (#10609) 2021-11-30 16:17:46 +01:00
Max Schmitt 7cf48152b7
chore: mark 1.17.0 version (#10593) 2021-11-29 22:50:02 +01:00
Dmitry Gozman 41907915c7
cherry-pick(#10481): fix(tracing): race in stopChunk (#10498)
Consider the following scenario:
- Tracing is started.
- API call is made (e.g. page.waitForResponse), almost finishes, and
  enters onAfterCall where it starts a snapshot.
- tracing.stopChunk is called, and waits for existing actions to finish.
  However, it does so by calling onAfterCall one more time.
- tracing.stopChunk removes instrumentation listener and returns
  to the client.
- Client starts zipping files.
- Original API call finishes the snapshot and saves it to the trace file.

This results in trace file being written to while the zip is still working.
2021-11-23 12:04:37 -08:00
Pavel Feldman 2771fae7b3 cherry-pick(#10486): fix(trace-viewer): multiple iframe and UX fixes 2021-11-23 11:39:31 -08:00
Max Schmitt a7f56b3cb4
cherry-pick(release-1.17): fix: noncompliant Firefox User-Agents (#10492) (#10497) 2021-11-23 20:38:48 +01:00
Pavel Feldman 8985bbbad1 cherry-pick(#10475): chore: open trace.playwright.dev 2021-11-22 11:00:01 -08:00
Pavel Feldman 3478c62581 cherry-pick(#10450): fix(trace-viewer): provide hints on how to open trace statically 2021-11-19 16:34:06 -08:00
Max Schmitt 190e6beb49 cherry-pick(#10243): chore: add trace viewer file upload error handling 2021-11-19 16:32:56 -08:00
Andrey Lushnikov e35a1b0ca3 cherry-pick(#10207) devops: support arm drivers for Mac and Linux
- Move to node 16 for driver (Node publishes Mac arm64 builds since Node 16)
- Publish Mac Arm64 driver
- Publish Linux Arm64 driver
2021-11-18 18:10:04 -08:00
Yury Semikhatsky a0f81dcd98
cherry-pick(1.17): do not send Fetch.continueRequest twice for auth requests (#10382) (#10386) 2021-11-17 13:43:55 -08:00
Andrey Lushnikov baa8dcbbe2 cherry-pick(#10380): fix: disable 'AcceptCHFrame' chromium field trial
References #10376
2021-11-17 10:45:19 -08:00
Andrey Lushnikov 4aebfe333b
chore: mark v1.17.0-rc1 (#10366) 2021-11-17 08:43:31 -08:00
Andrey Lushnikov 9568fefbca cherry-pick(#10363): chore: be on the safe side with publishing release candidate
Make sure we never publish any other version that contains `rc`
as part of the version.

References #10334
2021-11-16 15:48:47 -08:00
Yury Semikhatsky 26afd7e581
cherry-pick(1.17): API response to string (#10364) (#10365)
08a7470b0a

#10341
2021-11-16 15:45:58 -08:00
Andrey Lushnikov 39ba5cc1c6 cherry-pick(#10360): chore: support release candidate publishing
Fixes #10334
2021-11-16 14:32:46 -08:00
Andrey Lushnikov 745bbbec99 cherry-pick(#10356): fix: fix proper-lock-file configuration
Turns out we were using wrong formula; with the config we had in place,
proper-lock-file would give up to aquire lock after 49 seconds of
waiting.

With the proper configuration, we'll keep re-trying for 10 minutes.

Fixes #10354
2021-11-16 14:32:23 -08:00
Pavel Feldman bc33eb3d33 cherry-pick(#10338): chore(trace-viewer): only show source tab when soureces are includes 2021-11-15 23:42:20 -08:00
Andrey Lushnikov 53675cf51f cherry-pick(#10260): chore: clean up docker image
This patch:
- removes the Visual Regression bits from the images. These will
  probably be added back when it's ready for the prime time.
    * removes VNC && noVNC
    * removes Playwright Agent
- cleans up apt caches

This drops image size from 2.03GB to 1.91GB.
2021-11-15 16:36:40 -08:00
Pavel Feldman ab2fde17c1 cherry-pick(#10323): feat(webkit): roll to r1578 2021-11-15 11:48:36 -08:00
Pavel Feldman 0e41f0812c cherry-pick(#10264): fix(webkit): disable accelerated compositing on windows 2021-11-12 10:32:02 -08:00
Pavel Feldman 68bad0be6c cherry-pick(#10266): fix(sigint): remove sigint handler early 2021-11-11 17:20:07 -08:00
Yury Semikhatsky 2da019217a
cherry-pick(#10245): fix(fetch): smarter JSON.stringify for application/json requests (#10251)
#10222
2021-11-11 16:52:23 -08:00
Max Schmitt fceb43eeac cherry-pick(#10253): chore: create-playwright config nits & test-runner intro docs 2021-11-11 13:52:54 -10:00
Max Schmitt 01ea173506 cherry-pick(#10247): chore: create-playwright #10221 follow-up
References #10159
2021-11-11 13:50:50 -10:00
Max Schmitt 2998f42c85 cherry-pick(#10221): chore: create-playwright enhancements
Fixes #10159
2021-11-11 13:49:21 -10:00
Max Schmitt 21d88aaf8d cherry-pick(#10208): devops: fix driver deployment
follow-up for #10207
2021-11-11 12:47:36 -10:00
Dmitry Gozman c0d91bbf31
cherry-pick(#10206): fix(click): account for detached elements and iframe overlays (#10249) 2021-11-11 11:38:46 -08:00
Pavel Feldman 68bdfe619c cherry-pick(#10220): docs(element-handle): discourage the element handle use 2021-11-10 11:31:52 -08:00
Pavel Feldman 2bd2ead476 cherry-pick(#10205): feat(trace-viewer): add metainfo tab 2021-11-09 22:31:08 -08:00
Andrey Lushnikov 545322445e
chore: mark v1.17.0 (#10204) 2021-11-09 18:07:19 -08:00
Andrey Lushnikov 7af0dc178b
devops: support beta deployment for Trace viewer (#10201)
Trace Viewer will have 3 deployments:
- Stable: https://trace.playwright.dev
- Beta (from release branch): https://trace.playwright.dev/beta
- Next (from master branch): https://trace.playwright.dev/next
2021-11-09 17:21:51 -08:00
Andrey Lushnikov 56521e2a49
chore: remove vtest bot (#10202)
Visual regression tests did not survive a week and got merged back.
Remove the bot since there are no tests to run.
2021-11-09 17:15:16 -08:00
Andrey Lushnikov 12c1716fcc
chore: move to a new docker publishing (#10169) 2021-11-09 15:58:18 -08:00
github-actions[bot] c8b65ac677
feat(webkit): roll to r1576 (#10199)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-09 15:54:59 -08:00
Pavel Feldman 0d0f1690cd
fix(trace-viewer): do not rely upon request mode, it is inconsistent (#10198) 2021-11-09 15:12:37 -08:00