Commit Graph

5673 Commits

Author SHA1 Message Date
github-actions[bot]
951c4edfee
feat(firefox): roll to r1289 (#8514)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-28 00:08:32 +02:00
Max Schmitt
abc8cb01ea chore: #8377 follow-ups 2021-08-28 00:06:49 +02:00
Michael Rienstra
8849a8cb80
template: minor grammatical change (#8517) 2021-08-27 13:59:08 -07:00
Max Schmitt
f3dde0650f
feat(network): expose bodySize, transferSize, and headerSize (#8234) 2021-08-27 22:53:57 +02:00
Max Schmitt
89245de0ef
fix(har): rewrite sizes and make transferSize work in WK/Linux (#8504) 2021-08-27 20:42:45 +02:00
Joel Einbinder
621af2c737
browser(webkit): fix Input.dispatchWheelEvent (#8507) 2021-08-27 13:40:37 -04:00
Andrey Lushnikov
5901cb321d
browser(firefox): fix file chooser in iframes #8510 (#8510)
References #8016
2021-08-27 09:28:24 -07:00
Yury Semikhatsky
768a97cfdc
feat(fetch): set user-agent and other default headers (#8491) 2021-08-27 08:26:19 -07:00
Max Schmitt
16a7de5dab chore: move client side changes check to the push event
#8377 follow-ups
2021-08-27 12:22:49 +02:00
Mark Skelton
e98aef2128
fix(test-runner): wrong toHaveURL JSDoc comment (#8484) 2021-08-27 10:16:09 +02:00
Michael Rienstra
ed0c47a06f
fix(test-runner): minor error message typo (#8489) 2021-08-27 10:15:16 +02:00
Pavel Feldman
47ecd28a3d
fix(strict): erase injected script stack from strict error (#8493) 2021-08-26 21:21:19 -07:00
Pavel Feldman
4ed976f2e9
chore: remove isContextDestroyedError heuristic (#8456) 2021-08-26 18:44:49 -07:00
Joel Einbinder
32fbf22add
chore(babel): add @babel/plugin-proposal-nullish-coalescing-operator (#8492) 2021-08-26 21:43:13 -04:00
Yury Semikhatsky
b67dfb86b2
chore: update package-lock after removing node-fetch (#8488) 2021-08-26 17:07:57 -07:00
Yury Semikhatsky
210ad72228
fix: remove node-fetch dependency, use custom fetch implementation (#8486) 2021-08-26 16:18:54 -07:00
Max Schmitt
998f2ab959
chore: hide Route.fulfill._response from API (#8483) 2021-08-27 00:44:20 +02:00
Sourav Kundu
8ebd7851c2
Added links to BrowserStack docs and GitHub repo (#8432) 2021-08-26 12:37:26 -07:00
Ross Wollman
a1313727e8
fix(har): HAR artifacts need to be marked remote (#8462)
This is a follow-up fix to microsoft/playwright#8385.

Testing options are limited right now, but this change was confirmed
with a client running on my physical machine and a LaunchServer running
in a Docker container.

Before this change, the har.spec.ts only passed when the client and
server were on the some filesystem.

microsoft/playwright#8450 will likely give us options to test this in an
automated way in the official CI suite.
2021-08-26 11:26:08 -07:00
Dmitry Gozman
17146b44c2
docs: validate links for all languages (#8478) 2021-08-26 10:59:33 -07:00
Joel Einbinder
96fde46f27
chore(package-lock): fix broken package-lock.json (#8474) 2021-08-26 10:20:09 -04:00
github-actions[bot]
183ebeaae5
feat(firefox): roll to r1288 (#8460)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-26 10:08:45 -04:00
Max Schmitt
84dbe7c2f7 devops: improve TG message formatting on failed build 2021-08-26 12:49:13 +02:00
Andrey Lushnikov
2198769f6c
fix(react-vue): support nested trees (#8467)
Turns out you can mount nested trees in both React and Vue.
This patch changes root discovery to support nested trees.

Fixes #8455
2021-08-26 03:07:33 -07:00
Ross Wollman
222151f2e1
docs: connect example with non-deprecated API (#8463)
See [deprecation notice][notice].

[notice]: c627927bf5/types/types.d.ts (L8205)
2021-08-26 11:49:47 +02:00
github-actions[bot]
fe96cc274f
feat(webkit): roll to r1535 (#8457)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-26 11:47:34 +02:00
github-actions[bot]
50dcd2994c
feat(firefox-beta): roll to r1284 (#8458)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-26 11:46:44 +02:00
Diego Pino
baf6d5445b
browser(webkit): roll to 26/08/21 (#8461) 2021-08-26 11:46:15 +02:00
Pavel Feldman
c627927bf5
fix: make preview take 3/4 of the screen (#8446) 2021-08-25 14:51:18 -07:00
Pavel Feldman
95be45967a
feat(strict): list ambiguous matches when throwing strict exception (#8449) 2021-08-25 14:51:03 -07:00
Dmitry Gozman
02bef1eded
fix(tracing): modernize old resources to new har format (#8453) 2021-08-25 14:36:52 -07:00
Dmitry Gozman
a479cb6f52
fix(test runner): add an overload for test.skip(title, fn) (#8454)
We shipped this feature, but forgot to add the right overload to d.ts.
2021-08-25 14:36:36 -07:00
Yury Semikhatsky
204b6321b4
feat(webkit): bump to 1534 (#8451) 2021-08-25 14:27:49 -07:00
Ross Wollman
cd110e6477
feat(har): Remotely accessible HAR file (#8385)
This change ensure's the HAR file is saved at `recordHar.path` on the
client instead of the server.

NB: The goal was to make this change transparent to the user and NOT
introduce any new APIs. Namely, I want to leave the API open for
potential `context.har.start()` and `context.har.stop()`.

This does BREAK servers that expect the HAR to be at the `recordHar.path`
on the server, but I think that's OK since there haven't been reports
of missing HAR on client making me think not many users are getting
HAR with client and server on different hosts anyways.

Closes #8355
2021-08-25 13:32:56 -07:00
Dmitry Gozman
de85d8bb83
fix(test runner): do not special case test.fail (#8447)
This makes `test.fail` tests considered as passing when they actually fail:
- Stop restarting the worker.
- Retry when it passes instead of a fail.
- Behaves similar to regular tests in a `describe.serial` suite.
2021-08-25 12:19:50 -07:00
Dmitry Gozman
e726c18788
chore: use 'mime' for various mimeType-extension mappings (#8426) 2021-08-25 11:18:35 -07:00
Andrey Lushnikov
2453ca0d49
browser(firefox-beta): roll to 92.0b9 (#8442) 2021-08-25 08:55:46 -07:00
Joel Einbinder
e04ff81921
browser(firefox): Browser.setPlatformOverride (#8440) 2021-08-25 11:45:45 -04:00
Joel Einbinder
f7950352b9
browser(firefox): Page.dispatchWheelEvent (#8439) 2021-08-25 11:27:12 -04:00
Andrey Lushnikov
831cff1a82
devops: drop build infrastructure for WebKit @ MacOS 10.14 (#8438)
We did not support it for a while now and had 0 complaints.
2021-08-25 07:44:28 -07:00
Joel Einbinder
744a2751de
browser(firefox): disable enterprise policies (#8388) 2021-08-25 10:26:20 -04:00
Joel Einbinder
fc991fe897
chore(typescript): turn on noImplicitOverride (#7810) 2021-08-25 10:11:18 -04:00
Joel Einbinder
943c22c9c4
fix(protocol): remove unnused strict in QSA and add it to waitForSelector docs (#8140)
Strict doesn't make sense in querySelectorAll, but it was in the protocol.

And we had a strict option in ElementHandle.waitForSelector but it
was not surfaced in the docs/api.
2021-08-25 10:10:40 -04:00
Joel Einbinder
527cdfb55b
browser(webkit): scrolling (#8421) 2021-08-25 09:36:51 -04:00
github-actions[bot]
1155ecf29a
browser(chromium): roll to r914909 (#8435)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-25 14:50:26 +02:00
Max Schmitt
6c8c18dc73 test: skip 'should work with lazy loading iframes' on Android 2021-08-25 14:27:44 +02:00
Anže Vodovnik
061b5c67f2
chore(dotnet): generate [Obsolete] on deprecated members (#8434) 2021-08-25 14:24:18 +02:00
Max Schmitt
db36f40422
chore: create issue on PR merge with client side changes (#8377) 2021-08-25 13:36:57 +02:00
Max Schmitt
8189de42cf
test: fix package installation tests (#8430) 2021-08-25 13:34:54 +02:00
Dmitry Gozman
29eb6cb777
chore: migrate tracing to har (#8417)
chore: migrate tracing to har

- `HarTracer` is used by both `HarRecorder` that implements
  `recordHar` context option, and by tracing.
- We keep the `trace.network` format for now, so it is not
  yet a valid har file, but it contains har entries.
2021-08-24 21:09:41 -07:00