Andrey Lushnikov
d431958603
chore: move container integration back to playwright-core ( #17487 )
2022-09-21 12:45:43 -07:00
Andrey Lushnikov
0abb1c773b
devops: fix npm run dtest
( #17516 )
...
The `npx playwright docker test` command does not exist any more.
2022-09-21 12:45:25 -07:00
Pavel Feldman
53ab3d19e8
fix(protocol): update build tools ( #17515 )
2022-09-21 12:43:18 -07:00
Jean-François Greffier
a15fe50e7b
feat(test runner): workers as percentage ( #17400 )
...
Allows to set workers as a percentage of logical CPUs, for example
"50%".
Examples :
```bash
npx playwright test --workers 3
npx playwright test --workers 50%
```
```js
const config: PlaywrightTestConfig = {
// ...
workers: '33%',
}
```
2022-09-21 11:17:36 -07:00
Playwright Service
d2300674ef
feat(firefox-beta): roll to r1355 ( #17492 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-21 11:13:07 -07:00
Playwright Service
292b3e998e
feat(firefox): roll to r1352 ( #17494 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-21 11:12:45 -07:00
Dmitry Gozman
da7feb9cc6
fix(esm): silence warning when running with experimental loader ( #17493 )
...
Unfortunately, this silences all warnings, not just the experimental
loader warning.
2022-09-21 10:56:17 -07:00
Philip Langer
26150b7064
docs: fix typo persistet -> persisted ( #17498 )
2022-09-21 13:58:34 +02:00
Jérémy Lal
840a1f6436
chore: replace __proto__ by getPrototypeOf ( #17386 )
2022-09-20 19:01:12 -07:00
Pavel Feldman
df143031e7
chore: move protocol and trace types into the top-level packages ( #17486 )
2022-09-20 18:41:51 -07:00
Yury Semikhatsky
cd9a5946d2
fix(expect): toHaveAttribute with empty value should not match missing attribute ( #17477 )
...
Reference #16517
2022-09-20 17:11:12 -07:00
Yury Semikhatsky
00cc7c2ac2
docs: add missing browser versions to 1.26 release ( #17485 )
2022-09-20 16:08:10 -07:00
Playwright Service
68f029e047
feat(chromium-tip-of-tree): roll to r1044 ( #17474 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-21 00:39:48 +02:00
Pavel Feldman
3abbe0d850
chore: migrate codegen to controller events ( #17450 )
2022-09-20 14:32:21 -07:00
Ross Wollman
4dccba72ed
docs(release-notes): fix dotnet annotation example ( #17478 )
2022-09-20 14:04:32 -07:00
Ross Wollman
af5e06fbfd
test: repro for spaces in filename for input ( #17452 )
2022-09-20 12:58:26 -07:00
Ross Wollman
1d5e90f30b
docs(release-notes): add 1.26 port release notes ( #17473 )
2022-09-20 12:49:46 -07:00
Yury Semikhatsky
e62e84015c
docs(evaluate): clarify semantics of expression string ( #17472 )
2022-09-20 11:31:56 -07:00
Bastian
29ff00ead2
docs(cli): typo in --debug flag ( #17455 )
2022-09-20 14:00:59 +02:00
Max Schmitt
cd650c0515
docs: add note about unsupported group policies ( #17449 )
...
https://github.com/microsoft/playwright/issues/17299
https://github.com/microsoft/playwright/issues/17448
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2022-09-19 22:34:31 +02:00
Playwright Service
426301dc6d
feat(firefox): roll to r1351 ( #17391 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-19 08:52:37 -07:00
Playwright Service
57cc54fd96
feat(firefox-beta): roll to r1354 ( #17414 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-19 08:50:38 -07:00
Pavel Feldman
e9f926e536
fix(docker): do not sync primary selection into clipboard ( #17424 )
2022-09-19 06:08:40 -07:00
Max Schmitt
ffbfacd732
docs: add code snippets for drag'n drop ( #17390 )
...
Fixes https://github.com/microsoft/playwright.dev/issues/775
2022-09-19 13:00:46 +02:00
John HU
8e223636ff
docs: fix typo Github -> GitHub ( #17418 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-09-19 12:44:40 +02:00
Yury Semikhatsky
ee83694372
chore(runner): remove unnecessary traversal ( #17415 )
2022-09-16 15:45:52 -07:00
Ross Wollman
8d639ae50e
chore: revert toHaveAttribute type sig and overloads ( #17406 )
...
Relates #16517 .
Revert "docs(python): add missing NotToHaveAttribute overloads (#17371 )"
This reverts commit 2e1ea29614
.
Revert "docs(release-notes): add 1.26 release notes for language ports
(#17345 )"
This reverts commit 4b8a85e69d
.
Revert "test: unflake "should support boolean attribute with options"
(#17024 )"
This reverts commit 1dc05bd4c6
.
Revert "fix: support toHaveAttribute(name, options) (#16941 )"
This reverts commit f30ac1d678
.
Revert "feat: expect(locator).toHaveAttribute to assert attribute
presence (#16767 )"
This reverts commit 622c73cc1e
.
2022-09-16 11:17:35 -07:00
Pavel Feldman
a6d9aa8708
fix(docker): use config to set up walpaper ( #17399 )
2022-09-16 09:27:59 -07:00
Debbie O'Brien
e29f70bba6
docs: add component testing examples ( #17362 )
2022-09-16 17:33:04 +02:00
Playwright Service
1303e3e355
feat(chromium-tip-of-tree): roll to r1043 ( #17384 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-16 11:00:27 +02:00
Playwright Service
58b43004d2
feat(chromium): roll to r1025 ( #17372 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-16 10:59:17 +02:00
Playwright Service
8d696868c1
feat(webkit): roll to r1719 ( #17364 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-16 10:58:22 +02:00
Andrey Lushnikov
7019cc8b97
feat(docker): closeAllBrowsers
command for reuseController ( #17383 )
2022-09-15 20:38:28 -07:00
Pavel Feldman
e92bdce383
chore: remove connect options after testing ( #17380 )
2022-09-15 20:37:21 -07:00
Dmitry Gozman
43304e980d
feat: show browser.close() stack in "Browser has been closed" error ( #17376 )
...
Often times we see "Browser has been closed" error, but it's not
entirely clear why. Showing the close stack might help.
```js
page.goto: Connection closed
==== Closed by ====
at /Users/dgozman/code/playwright/tests/library/browsertype-connect.spec.ts:477:32
```
2022-09-15 17:04:41 -07:00
Andrey Lushnikov
24d3a23a66
fix(docker): handle container name conflict usecase. ( #17379 )
...
Drive-by: typo in the JSON docker status field.
2022-09-15 16:59:41 -07:00
Ross Wollman
85a5c690a4
docs(python): add missing NotToBe{Visible,Editable,Enabled} params ( #17381 )
...
Follow up to:
- https://github.com/microsoft/playwright/pull/17058
- https://github.com/microsoft/playwright/pull/17065
- https://github.com/microsoft/playwright/pull/17207
Blocks https://github.com/microsoft/playwright-python/issues/1534 .
2022-09-15 16:54:47 -07:00
Pavel Feldman
872bcc9734
chore: expose driver protocol on the pw object ( #17363 )
2022-09-15 15:53:18 -07:00
Andrey Lushnikov
b09ea69024
chore(docker): address docker offline comments ( #17377 )
...
This patch:
- Removes all `process.exit(1)` from `docker.ts` and instead throws
errors.
- Drops the `npx playwright docker test` command. We agreed to
engage docker when `PLAYWRIGHT_DOCKER` environment variable
is set.
- Introduces hidden `npx playwright docker status` command that
dumps a JSON with docker status:
```sh
aslushnikov:~/prog/playwright$ npx playwright docker status
{
"dockerEngineRunning": true,
"imageName": "playwright:local-1.27.0-next-focal",
"imageIsPulled": true,
"containerWSEndpoing":
"ws://127.0.0.1:55077/eafeb84c-571b-4d12-ac51-f6a2b43e9155",
"containerVNCEndpoint":
"http://127.0.0.1:55076/?path=fb6d4add-9adf-4c3c-b335-893bdc235cd7&resize=scale&autoconnect=1 "
}
```
2022-09-15 15:48:12 -07:00
Pavel Feldman
30ff27843a
chore: rebuild components on new vite ( #17367 )
2022-09-15 15:24:01 -07:00
Ross Wollman
2e1ea29614
docs(python): add missing NotToHaveAttribute overloads ( #17371 )
...
Follow up to https://github.com/microsoft/playwright/pull/16941
2022-09-15 12:57:47 -07:00
Dmitry Gozman
e1a2f7a168
fix(socks proxy): destroy sockets on close to avoid hanging ( #17349 )
2022-09-14 21:15:46 -07:00
Pavel Feldman
016883602d
chore: roll test runner to tot ( #17351 )
2022-09-14 19:51:22 -07:00
Andrey Lushnikov
58873908ba
devops: add docker screenshot expectations for html-reporter tests ( #17341 )
2022-09-14 15:44:13 -07:00
Andreas Jim-Hartmann
d6d593234e
docs(test-configuration-js.md): Removed 'video' from trace section ( #17332 )
2022-09-14 15:31:11 -07:00
Andrey Lushnikov
8466c436c9
fix(list reporter): properly count new lines for long stdout ( #17339 )
2022-09-14 15:25:24 -07:00
Andrey Lushnikov
a12112c24d
devops(docker): add docker integration smoke tests ( #17267 )
2022-09-14 15:05:18 -07:00
Pavel Feldman
854c783019
chore: project.id, configFile in reporter apis ( #17346 )
2022-09-14 14:56:28 -07:00
Max Schmitt
59c32bf2c6
Revert "chore(generator): use new .NET test attributes ( #17172 )" ( #17344 )
...
This reverts commit 15add13a6a
.
2022-09-14 22:44:38 +02:00
Max Schmitt
4b8a85e69d
docs(release-notes): add 1.26 release notes for language ports ( #17345 )
2022-09-14 22:38:19 +02:00