Commit graph

8845 commits

Author SHA1 Message Date
Playwright Service 81c50d8d1c chery-pick(#17381): docs(python): add missing NotToBe{Visible,Editable,Enabled} params (#17382)
This PR cherry-picks the following commits:

- 85a5c690a4
2022-09-19 13:51:28 -04:00
Pavel Feldman 8a8c89bea8 cherry-pick(#17367): chore: rebuild components on new vite 2022-09-19 13:51:28 -04:00
Dmitry Gozman e1681a3a89 cherry-pick(#17349): fix(socks proxy): destroy sockets on close to avoid hanging (#17366) 2022-09-19 13:49:51 -04:00
Max Schmitt ae4c5bf125 cherry-pick(#17344): Revert "chore(generator): use new .NET test attributes (#17172)" (#17347)
This reverts commit 15add13a6a.
2022-09-19 13:49:51 -04:00
Andrey Lushnikov 0bd44ef8ad cherry-pick(#17317): fix(ignoreSnapshots): print a notice when ignoreSnapshots option is on
<img width="1161" alt="image"
src="https://user-images.githubusercontent.com/746130/190032155-ae454c3e-1a7d-4a64-8cd6-bb27f9075ef3.png">
2022-09-19 13:49:51 -04:00
Andrey Lushnikov 7d5510a2af cherry-pick(#17282): chore: add release notes for js 2022-09-19 13:49:51 -04:00
Playwright Service ce68b2fd0b
chery-pick(#17248): chore(dotnet): use csharp 10 namespace declaration (#17305)
This PR cherry-picks the following commits:

- 0b4de0df7f

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-13 18:53:10 +02:00
Playwright Service 991f2f9417
chery-pick(#17273): chore(dotnet): no nested namespace in transport channels (#17303)
This PR cherry-picks the following commits:

- c7367b7065

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-13 18:52:57 +02:00
sand4rt 344077b04e
feat(ct): svelte mount type (#17228) 2022-09-12 09:30:04 -07:00
sand4rt 72a18754ef
core(ct): rename tests (#17216) 2022-09-12 09:27:53 -07:00
Jean-François Greffier 81bcbd284f
docs: migration typos (#17247) 2022-09-12 17:41:49 +02:00
Max Schmitt b12cd9fb21
docs: have npm test -> npx playwright test (#17250) 2022-09-12 17:24:23 +02:00
Nav-2d dce7cbb446
docs(intro-section): fix links (#17241) 2022-09-12 15:11:52 +02:00
Yury Semikhatsky 04ed32e531
chore: run webview2 tests only when cq1 is present (#17230) 2022-09-09 16:55:39 -07:00
Andrey Lushnikov af042beb13
feat: introduce docker integration (#16382)
This patch introduces the following commands:
- `npx playwright docker build` that builds a VRT docker image
  locally that is based off the `mcr.microsoft.com/playwright:jammy`
- `npx playwright docker start` that launches a docker container with
  browsers.
- `npx playwright docker stop` that stops given docker container.
- `npx playwright docker test` that runs all the tests inside a
  launched docker container.
2022-09-09 15:25:42 -07:00
Dmitry Gozman fa7caf4193
feat(cli): remove -i (#17229) 2022-09-09 15:07:15 -07:00
Yury Semikhatsky 24ee456d43
chore: make maxRedirects available in java, improve docs. tests (#17227) 2022-09-09 13:25:36 -07:00
Vincenzo Gasparo 17b203affb
feat: added follow and redirect arguments to fetch (#17033) 2022-09-09 12:14:42 -07:00
Debbie O'Brien 47b9595b95
docs: merge pom pages (#17092) 2022-09-09 20:33:14 +02:00
Debbie O'Brien b4259d7527
docs: improve screenshots getting started (#17222) 2022-09-09 20:32:40 +02:00
Max Schmitt 5b61b46f31
docs: fix broken docslint (#17223) 2022-09-09 20:08:22 +02:00
Max Schmitt 2a5acfac97 docs: fix broken links in guides 2022-09-09 17:52:06 +02:00
Dmitry Gozman bca13bc35a
feat(assertions): support toBeVisible({ visible }) (#17207) 2022-09-09 08:33:23 -07:00
Playwright Service 9e93913900
feat(chromium): roll to r1024 (#17203)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-09 14:36:55 +02:00
Playwright Service 0c663d9f58
feat(chromium-tip-of-tree): roll to r1041 (#17209)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-09 08:21:52 +02:00
Max Schmitt 5e56bc413a
chore: set default http request timeouts (#17200)
* chore: set default http request timeouts

* Update chromium.ts
2022-09-09 06:18:57 +02:00
Ruaan Kruger 9c996f6cbb
docs: csharp apostrophes (#17202) 2022-09-08 12:49:22 -07:00
Dmitry Gozman cbc8d1a19f
test: tracing works with waitForResponse (#17176) 2022-09-08 11:31:02 -07:00
Debbie O'Brien 1f34531a22
docs: Emulation improvements (#17090) 2022-09-08 18:57:20 +02:00
Debbie O'Brien f7c474bc0f
docs: rename to isolation and remove toc (#17103) 2022-09-08 18:54:53 +02:00
Andrey Lushnikov ea7ef328e7
fix: inject caret-hiding style in every shadow tree (#16907)
Style inheritance disregards selector specificity, so we can't
dominate local shadow dom styles.

To mitigate this, we inject the style tag with caret-hiding
style in every shadowDom tree.

Fixes #16732
2022-09-08 09:50:08 -07:00
Max Schmitt 7c6bbfe320
docs(test-advanced): mark globals.d.ts as module (#17186) 2022-09-08 18:49:21 +02:00
Debbie O'Brien 3dad8de53e
docs: merge auth docs (#17046) 2022-09-08 18:40:18 +02:00
Andrey Lushnikov b0ff4f58ce
feat: implement --dry-run for npx playwright install (#17158)
* feat: implement `--dry-run` for `npx playwright install`

The `--dry-run` command prints URLs for browsers to be installed.

Demo output:

```
browser: chromium version 106.0.5249.21
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/chromium-1023
  Download url:        https://playwright.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/chromium/1023/chromium-mac-arm64.zip

browser: firefox version 104.0
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/firefox-1350
  Download url:        https://playwright.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/firefox/1350/firefox-mac-11-arm64.zip

browser: webkit version 16.0
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/webkit-1714
  Download url:        https://playwright.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/webkit/1714/webkit-mac-12-arm64.zip

browser: ffmpeg
  Install location:    /Users/andreylushnikov/Library/Caches/ms-playwright/ffmpeg-1007
  Download url:        https://playwright.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
  Download fallback 1: https://playwright-akamai.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
  Download fallback 2: https://playwright-verizon.azureedge.net/builds/ffmpeg/1007/ffmpeg-mac-arm64.zip
```

Fixes #16926
2022-09-08 09:05:09 -07:00
Andrey Lushnikov 3708ba7a1f
chore: drop adm-zip from dev dependencies (#17198)
This was used in the `repack-juggler`.
2022-09-08 09:04:01 -07:00
Playwright Service cf8f662f13
feat(webkit): roll to r1715 (#17192)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-08 18:00:55 +02:00
Max Schmitt aad745acab
docs: provide examples for connectOverCDP (#17189) 2022-09-08 18:00:28 +02:00
sand4rt 158408a2af
fix(ct): mount type (#17076) 2022-09-08 08:39:25 -07:00
sand4rt 3f941865a0
fix(ct): svelte slot type (#17074) 2022-09-08 08:39:00 -07:00
sand4rt 69b5104967
fix(ct): vue2 slot type (#17073) 2022-09-08 08:38:40 -07:00
sand4rt 80df84b49e
fix(ct): vue slot type (#17071) 2022-09-08 08:38:20 -07:00
sand4rt 098fbf0e2c
fix(ct): vue import errors (#17066) 2022-09-08 08:37:38 -07:00
Debbie O'Brien 98038280d9
docs: rename input page to actions (#17173) 2022-09-08 14:48:13 +02:00
Max Schmitt 1e517731ef
chore: have a socket timeout when downloading browsers (#17187) 2022-09-08 14:40:41 +02:00
Max Schmitt 22c092db10
test: fix Electron tests (#17180) 2022-09-08 09:11:47 +02:00
Joerg a68ca05264
docs(ci): add detailed code snippets for Azure Pipelines (#17125) 2022-09-08 08:22:42 +02:00
Pavel Feldman 80e9c5dc55
fix(reuse): restore storage state (#17175) 2022-09-07 19:15:04 -07:00
Max Schmitt 15add13a6a
chore(generator): use new .NET test attributes (#17172) 2022-09-08 01:44:58 +02:00
Pavel Feldman c91df61ca3
chore: optionally connect instead of launching (#17174) 2022-09-07 15:57:20 -07:00
Debbie O'Brien 041dfd055a
docs: add non library solution for video page (#17094) 2022-09-07 20:38:23 +02:00