github-actions[bot]
83910a9469
browser(chromium): roll to r925110 ( #9171 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-27 12:06:06 +02:00
Max Schmitt
4573ce0cf8
chore(test-runner): launch -> webServer ( #9167 )
2021-09-27 11:32:57 +02:00
Dmitry Gozman
0801a8c486
docs: cleanup test.describe.parallel.only doc ( #9159 )
2021-09-26 21:30:11 -07:00
Dmitry Gozman
ee25fefb62
chore: remove FatalDOMError ( #9119 )
...
We can now throw stackless errors instead.
Also fixed stackless errors on Firefox.
2021-09-24 20:51:09 -07:00
Dmitry Gozman
d22dd4a4e7
feat(test runner): improve fixture typings for function fixtures ( #9138 )
...
When fixture value `R` is a function, TypeScript sometimes confuses
function `R` and function `async ({}, use) => {}`. This leads to
`any` types in the latter because it could be either of the functions
as TS thinks.
The solution is to only accept the second syntax, assuming that noone
passes fixture value that is a function as is:
```js
// This will stop working.
test.extend<{ foo: (x: number) => number }>({
foo: x => 2 * x,
});
// This will get inferred types and autocomplete.
test.extend<{ foo: (x: number) => number }>({
foo: async ({}, use) => {
await use(x => 2 * x);
},
});
```
2021-09-24 19:59:30 -07:00
Dmitry Gozman
f4aaebfba0
fix(expect): produce "waiting for selector" log, corner cases ( #9140 )
2021-09-24 18:55:45 -07:00
Yury Semikhatsky
45b365d958
fix: increase recent logs buffer ( #9143 )
2021-09-24 17:28:06 -07:00
Dmitry Gozman
418ce9c17e
test: unflake a few tests ( #9142 )
2021-09-24 15:05:20 -07:00
Pavel Feldman
db6c55af51
chore: add a test for the log scale polling ( #9136 )
2021-09-24 12:54:33 -07:00
Pavel Feldman
1db41c330a
chore: migrate remaining expect to protocol ( #9121 )
2021-09-24 11:06:30 -07:00
Max Schmitt
4eede61f79
feat(chromium): roll to 924544 ( #9131 )
2021-09-24 18:13:12 +02:00
Max Schmitt
3632231cc1
chore: fix utils/roll_browser.js after #9078
2021-09-24 17:09:54 +02:00
Anže Vodovnik
6723a42544
docs(dotnet): add Null for dotnet in forced colors enum ( #9051 )
2021-09-24 16:31:53 +02:00
github-actions[bot]
231bf36029
browser(chromium): roll to r924544 ( #9124 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-24 12:10:52 +02:00
Pavel Feldman
0908dc98c8
chore: migrate expect(locator).toMatchText to protocol ( #9117 )
2021-09-23 16:46:46 -07:00
Max Schmitt
d0a4480cf7
browser(webkit): fix text padding ( #9114 )
2021-09-23 12:08:07 -07:00
Dmitry Gozman
1fb9d21223
test: unflake "should have correct snapshot size" ( #9099 )
2021-09-23 11:40:55 -07:00
Max Schmitt
89aace688f
fix: make Serializable type any ( #9059 )
2021-09-23 11:06:34 -07:00
Joel Einbinder
40ae28e3bb
feat(test runner): add some fixture debugging ( #8918 )
2021-09-23 11:56:39 -04:00
Joel Einbinder
219d00d17b
chore(typescript): bump typescript to v4.4.3 ( #9087 )
2021-09-23 11:55:44 -04:00
Yury Semikhatsky
26bca47a47
test: add failing WebKit navigation test ( #9097 )
2021-09-23 08:45:40 -07:00
Pavel Feldman
e03db79682
fix(firefox): use global eval in injected script ( #9101 )
2021-09-22 21:49:14 -07:00
Dmitry Gozman
2afe76d86d
feat(launch): connect to process.env.SELENIUM_REMOTE_URL instead of local launch ( #9056 )
2021-09-22 21:13:32 -07:00
Dmitry Gozman
1bebbc31b2
test: unflake "should close the context without awaiting the failed download" ( #9094 )
2021-09-22 17:28:17 -07:00
Pavel Feldman
de4aa50d55
chore: simplify dom tasks ( #9089 )
2021-09-22 17:17:49 -07:00
Dmitry Gozman
d7901ea9ff
test: unflake inspector/pause.spec.ts ( #9096 )
2021-09-22 17:09:09 -07:00
Dmitry Gozman
b978ce33cb
test: unflake "should fail when frame detaches" ( #9095 )
2021-09-22 17:09:02 -07:00
Dmitry Gozman
e6f5404621
test: unflake "should timeout in socket while connecting" ( #9093 )
2021-09-22 17:08:49 -07:00
Dmitry Gozman
568ec05a97
fix(junit): produce a single system-out entry ( #9091 )
...
Instead of multiple `system-out` entries we produce a single one
with concatenated content. This is compatible with various junit xml
parsers in the wild.
2021-09-22 15:28:57 -07:00
Dmitry Gozman
f0d23b5d4d
fix(css selector): absolutize relative CSS selectors ( #9088 )
...
Selectors like `> div` are replaced by `:scope > div`,
which is useful for combining them with parent selectors.
This is a part of CSS Level 4 spec.
2021-09-22 14:13:00 -07:00
Yury Semikhatsky
79eb7744bc
feat(fetch): support options in playwright._newRequest ( #9061 )
2021-09-22 12:44:22 -07:00
Joel Einbinder
c673ef5330
chore(registry): refactor logic of what browsers to download to top level ( #9078 )
2021-09-22 11:43:13 -07:00
Joel Einbinder
92e2dbf6b4
chore(babel): rename .babelrc to babel.config.json ( #9076 )
2021-09-22 14:42:47 -04:00
Yury Semikhatsky
3c51f7d992
docs: improve ignorehttpserrors description ( #9081 )
2021-09-22 11:03:39 -07:00
Dmitry Gozman
e85a3a5a41
fix(page.content): throw a nice error when navigation intervenes ( #9080 )
2021-09-22 10:40:15 -07:00
Max Schmitt
449a593050
fix(fetch): be compatible with a 0 timeout ( #9071 )
2021-09-22 10:30:56 -07:00
Max Schmitt
c66d72bddb
chore(create-playwright): upload alwas test-results/ to GHA
...
Fixes #9014
2021-09-22 16:41:44 +02:00
Max Schmitt
5b93df0bab
chore(docker): upgrade to NPM 7 ( #8915 )
2021-09-22 16:38:50 +02:00
Dmitry Gozman
018467911b
test: introduce some common test fixtures ( #9060 )
2021-09-21 16:24:48 -07:00
Pavel Feldman
d4073e8214
docs: assorted doc fixes
2021-09-21 15:10:22 -07:00
Pavel Feldman
4af576d0c7
docs: extract codegen docs ( #9057 )
2021-09-21 13:46:11 -07:00
Pavel Feldman
d1a2803a57
docs: improve the auth state docs ( #9052 )
2021-09-21 13:20:50 -07:00
Max Schmitt
04858b3959
docs: release-notes adjust header indention
2021-09-21 22:16:43 +02:00
Max Schmitt
d354d14fb9
chore: move Frame.waitForTimeout to the server side ( #9053 )
2021-09-21 22:06:14 +02:00
Max Schmitt
854cf9c25c
docs: add 1.15 release-notes ( #9046 )
...
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2021-09-21 22:04:53 +02:00
Max Schmitt
f9c5279c3a
fix(test-runner): toHaveURL respect baseURL ( #9050 )
2021-09-21 21:41:24 +02:00
Yury Semikhatsky
9b0e0c2273
fix: restore support for slowmo connect option ( #9038 )
2021-09-21 09:12:44 -07:00
Dmitry Gozman
7ec1035b98
test: improve child process utilities in tests ( #9036 )
2021-09-20 17:17:12 -07:00
Dmitry Gozman
5200134749
chore: improve http request utilities ( #9031 )
2021-09-20 13:50:26 -07:00
github-actions[bot]
e5b8c02c93
feat(chromium): roll to r922811 ( #9024 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-20 15:32:32 +02:00