Dmitry Gozman
307ce9e1e8
docs: rework "test list file" example to avoid requiring test files ( #16125 )
2022-08-01 19:23:36 -07:00
Yury Semikhatsky
6e4624120e
docs(java): PlaywrightAssertions.setDefaultTimeout ( #16123 )
2022-08-01 18:51:27 -07:00
Ross Wollman
11b7bf0dc3
docs(video): caveat regarding saveAs throwing ( #16120 )
...
Resolves https://github.com/microsoft/playwright-python/issues/1462 .
Relates https://github.com/microsoft/playwright-python/pull/1474 , https://github.com/microsoft/playwright-java/pull/1020
2022-08-01 15:34:29 -07:00
Dmitry Gozman
94efeed192
browser(firefox): make scrollIntoViewIfNeeded and getContentQuads work with display:contents ( #16111 )
2022-08-01 14:40:23 -07:00
Max Schmitt
99cc3869d2
devops: be compatible with multiple MSVS installations ( #16121 )
2022-08-01 23:37:07 +02:00
Max Schmitt
7a18def019
devops: install python*-dev during build ( #16118 )
...
`python3-dev` is required to install pip via `curl` command.
2022-08-01 13:59:21 -07:00
Dmitry Gozman
5481e25015
chore: print full stacks when PWDEBUGIMPL is set ( #16113 )
...
For debugging purposes, especially on the client's computers.
2022-08-01 13:44:59 -07:00
Max Schmitt
97bb0f3d46
devops: install PIP via pypa.io ( #16116 )
...
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2022-08-01 22:44:00 +02:00
Andrey Lushnikov
b7b572c27c
devops: fix arm64 webkit and firefox builds ( #16115 )
2022-08-01 13:30:49 -07:00
Yury Semikhatsky
76dc5d8a0f
browser(webkit): disable iframe loading=lazy ( #16106 )
...
It was recently enabled by default upstream 461deb6c6d
We have this feature disabled in Chromium as we want the iframes to be eagerly loaded to avoid clients' confusion. This PR disables it back in WebKit too.
Pretty-diff: 7aad962e5d
2022-08-01 11:29:28 -07:00
Andrey Lushnikov
52c5578b2d
devops: fix firefox expected platform for native arm64 linux build ( #16105 )
2022-08-01 11:05:53 -07:00
Debbie O'Brien
5f5906a962
docs: improve getting started guide for vs code ( #16097 )
2022-08-01 19:15:28 +02:00
Andrey Lushnikov
ecf55b01c6
devops: do not bundle libstdc++
with Firefox builds ( #16103 )
...
Turns out we were bundling x86_64 `libstdc++` with aarch64
builds on Ubuntu, which was useless and implies that this
library might not be needed at all.
2022-08-01 09:28:19 -07:00
Andrey Lushnikov
505197bfac
devops: install Python 3.8 on Ubuntu 18.04 ( #16101 )
...
Ubuntu 18.04 ships Python 3.6 by default on Ubuntu18.04; this python,
however, fails to run Firefox build system, so we have to install
Python 3.8 and default it to `python3`.
2022-08-01 09:14:16 -07:00
Dmitry Gozman
3112edb4ca
feat(test runner): TestProject.projectSetup ( #16063 )
...
`projectSetup` is a project-scoped alternative to `globalSetup`.
It is only executed if at least one test from the project is scheduled to run.
2022-08-01 09:01:23 -07:00
Andrey Lushnikov
887176ccd5
devops: compile Firefox natively on Ubuntu aarch64 ( #16098 )
...
We used to cross-compile Firefox for aarch64, but this no longer
works.
This patch switches to native build inside Ubuntu aarch.
2022-08-01 07:57:45 -07:00
Andrey Lushnikov
a8799c5e19
devops: drastically speedup full firefox build on CI ( #16096 )
...
Do not checkout full history of a master branch to
bootstrap dependencies.
2022-08-01 07:16:22 -07:00
Diego Pino
4112eb815e
browser(webkit): rebase to 29/07/22 (252944@main) ( #16053 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-01 11:48:23 +02:00
Max Schmitt
e85228fe91
devops: use pip3 to install azure-cli instead of pip ( #16085 )
2022-08-01 11:44:35 +02:00
sand4rt
8027bd375e
chore(ct): removed unused createApp function ( #16079 )
2022-07-31 14:35:05 -07:00
Pavel Feldman
5a79054544
feat(innerloop): allow reusing browsers over the remote connection ( #16065 )
2022-07-31 14:31:17 -07:00
sand4rt
557db4c35e
chore(ct): mount result refactor ( #16067 )
2022-07-29 20:07:23 -07:00
Debbie O'Brien
40f890014e
docs: new screenshots getting started ( #16064 )
2022-07-29 17:25:06 -07:00
Yury Semikhatsky
d05044f366
test: console messages are dispatched when page has workers ( #16066 )
2022-07-29 16:58:25 -07:00
Yury Semikhatsky
d33455dcca
browser(firefox): dispatch console messages even if there are workers ( #16068 )
2022-07-29 16:56:17 -07:00
Yury Semikhatsky
7d306bbc66
feat: return value from step ( #16060 )
2022-07-29 15:16:07 -07:00
Dmitry Gozman
e830fe821d
feat(test runner): introduce test.describe.fixme ( #16059 )
2022-07-29 12:44:22 -07:00
Dmitry Gozman
809002df60
fix(events): avoid firing lifecycle events twice ( #16055 )
...
Previously, when some iframe started/finished a new navigation, we
could have removed and then re-addded load/domcontentloaded on the
main frame.
Drive-by: unflake wheel test in Firefox.
2022-07-29 12:44:04 -07:00
Yury Semikhatsky
af8e3e7afa
feat: print response text when toBeOK fails ( #16040 )
2022-07-29 11:46:48 -07:00
sand4rt
4a47e275c8
feat(ct): vue set props ( #16058 )
2022-07-29 11:45:06 -07:00
Pavel Feldman
d73f9b7b88
chore: experimental test server implementation ( #16033 )
2022-07-29 11:40:33 -07:00
Dmitry Gozman
03b0f911d9
fix(screenshot): avoid unnecessary work ( #16035 )
...
Do not evaluate when not hiding caret nor disabling animations.
2022-07-29 09:23:02 -07:00
Yury Semikhatsky
e07eb664a5
browser(webkit): export _vpx_codec_destroy from libwebrtc ( #16054 )
2022-07-29 08:55:08 -07:00
Andrey Lushnikov
265d00e3f9
devops: attempt to fix Firefox build ( #16050 )
2022-07-29 07:12:38 -07:00
Andrey Lushnikov
60ab16377a
browser(firefox): roll Firefox stable to 103 ( #16047 )
2022-07-29 05:47:00 -07:00
Dmitry Gozman
62e4e80599
feat(test runner): show the number of fatal errors at the end ( #15975 )
2022-07-28 14:46:21 -07:00
Making Stuffs
6f47f0f22a
fix(chromium): Add error message to asset when there is one. ( #15892 )
...
[196] -- Provide the assert function with with either the error message in the provided object or undefined if there isn't one
2022-07-28 14:45:25 -07:00
Dmitry Gozman
829a1b8444
fix(isVisible): make sure isVisible check is atomic ( #16004 )
2022-07-28 14:09:36 -07:00
Max Schmitt
a089bf3df5
chore(test-runner): better error message if page gets used inside beforeAll ( #16012 )
2022-07-28 23:07:28 +02:00
Yury Semikhatsky
b479869ddc
browser(firefox): do not leak vpx codec ( #16034 )
2022-07-28 13:39:34 -07:00
Playwright Service
dcbcb93c26
feat(chromium-tip-of-tree): roll to r1029 ( #16029 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-28 22:36:38 +02:00
Playwright Service
d5f3b10eba
feat(chromium): roll to r1017 ( #16030 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-28 22:36:09 +02:00
Ross Wollman
5a91623fae
docs(selectors): avoid nth, first, last ( #16028 )
2022-07-28 13:17:18 -07:00
Yury Semikhatsky
4b7da07b0f
browser(webkit): do not leak vpx codecs ( #16032 )
2022-07-28 13:16:20 -07:00
Dmitry Gozman
3d89506704
fix(fixtures): make undefined option mean "default value" ( #16026 )
...
In the following example, `locale` inside the `describe`
would be reverted to the default value:
```js
test.use({ locale: 'en-GB' });
test.decsribe(() => {
test.use({ locale: undefined });
});
```
2022-07-28 12:57:05 -07:00
Andrey Lushnikov
792aa6a080
devops: fix FF build on MacOS ( #16023 )
...
It looks like FF on MacOS requires the `--enable-bootstrap`
flag instead of the original dance with the master branch.
2022-07-28 10:49:34 -07:00
Andrey Lushnikov
96574e49eb
devops: fix Firefox build on Linux ( #16022 )
...
Prebuilt WASI sysroot is not availabe any more, so this patch
disables sandboxing via WASI for now in our builds.
I tried compiling WASI manually, but it didn't work out for me
for some reason.
2022-07-28 08:04:44 -07:00
Max Schmitt
6482ff7a7f
chore: roll Electron to 16.2.8 ( #16017 )
2022-07-28 15:41:32 +02:00
Andrey Lushnikov
abf951ebec
devops: proper fix for git directory permissions ( #16020 )
2022-07-28 06:30:04 -07:00
Andrey Lushnikov
2733924d1d
devops: add safe directory ( #16018 )
2022-07-28 05:21:57 -07:00