Commit Graph

6010 Commits

Author SHA1 Message Date
Pavel Feldman
5ea4ec2f7a
feat(html): open show html report when there are failures (#9526) 2021-10-14 21:09:41 -07:00
Dmitry Gozman
7a68f2f661
chore: merge Connection.{close,didDisconnect} (#9524)
This simplifes cleanup logic.
Also markAsRemote() in gridClient.
2021-10-14 20:58:09 -07:00
Yury Semikhatsky
4680ef46de
docs: clarify default retry behavior (#9525) 2021-10-14 19:28:47 -07:00
Dmitry Gozman
c711fb35ad
fix(expect): do not rely on displayName (#9523)
Support for displayName was removed in Node 16.
Switching to Function.name instead.

Relevant V8 change: https://chromium-review.googlesource.com/c/v8/v8/+/2692189
2021-10-14 19:23:45 -07:00
Pavel Feldman
7ee48febf9
chore: html report ui fixes (#9522) 2021-10-14 18:54:33 -07:00
Pavel Feldman
75cfe5d1f5
chore: start adding html runner e2e tests (#9518) 2021-10-14 15:48:05 -07:00
Joel Einbinder
4c9d7d5ccc
chore(webpack): fix watch for webpack 5 (#9516) 2021-10-14 15:16:15 -04:00
Andrey Lushnikov
6ec4f3e398
browser(firefox-beta): fix compilation on win32 (#9517)
I accidentally moved the API declaration under ifdef; reverting the
move.

Pretty diff:
7c7430b53f
2021-10-14 12:08:38 -07:00
Andrey Lushnikov
f43ece0a99
devops: fix //browser_patches/{build.sh,clean.sh} scripts (#9515)
They were not proxying arguments properly.
2021-10-14 11:48:01 -07:00
Yury Semikhatsky
478fb34e35
docs: fix api-testing section id (#9514) 2021-10-14 11:20:15 -07:00
Maximilian Hils
84a70eae2f
Create userDataDir if it does not exist (#9483) 2021-10-14 11:19:52 -07:00
Pavel Feldman
584014f6fa
feat(html): unhide html reporter (#9512) 2021-10-14 11:17:35 -07:00
Andrey Lushnikov
cd92451b9f
fix: protocol generation in monorepo (#9513) 2021-10-14 11:14:50 -07:00
Dmitry Gozman
9dd17773e6
feat: mark PlaywrightClient's connection as remote (#9477)
This makes artifacts work as expected for all remote scenarios.
2021-10-14 10:41:03 -07:00
Daniel Kolesa
a4d1412463
browser(webkit): roll to 10/14/21 (#9510) 2021-10-14 10:29:38 -07:00
Andrey Lushnikov
a80fa08698
devops: move Firefox and WebKit checkouts to $HOME (#9485)
This moves default Firefox and WebKit checkouts to $HOME folder,
unless browser specific env variables are specified.

In other words:
- Firefox checkouts goes to `$HOME/firefox` unless there's a
  `$FF_CHECKOUT_PATH` that specifies a custom location.
- WebKit checkout goes to `$HOME/webkit` unless there's a
  `$WK_CHECKOUT_PATH` that specifies a custom location.

With this change, all build bots will now re-use checkouts
between builds, which should speed up compilation.
2021-10-14 10:20:06 -07:00
Dmitry Gozman
bb013d14c0
docs: minor changes in apirequest (#9507) 2021-10-14 09:48:53 -07:00
Max Schmitt
96be17463e
feat(codgen): support positioned clicks in a canvas (#9503) 2021-10-14 17:37:29 +02:00
Max Schmitt
d851f4d58b
Reland chore: update to webpack v5.58.2 (#9498)
* Revert "Revert "chore: update to webpack v5.58.2 (#9479)" (#9489)"

This reverts commit e5a3c9b907.

* Fix icons
2021-10-14 17:36:59 +02:00
Max Schmitt
1c7a7fcf23
fix: electron launcher (#9504)
Broken-since: #9446
2021-10-14 16:45:52 +02:00
Max Schmitt
299d3d6074 devops: fix Docker test-result uploads 2021-10-14 13:55:13 +02:00
Yury Semikhatsky
25a8023720
test: popup event for pages opened from iframe (#9484) 2021-10-14 12:22:05 +02:00
Joel Einbinder
c8f875a193
chore: move test runner types into the playwright test package (#9472)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-14 11:55:08 +02:00
Andrey Lushnikov
4fa6d1e723
feat(firefox): roll to r1296 (#9494) 2021-10-14 11:35:39 +02:00
Andrey Lushnikov
115b37e989
browser(firefox-beta): fix Firefox Beta compilation (#9497) 2021-10-14 01:41:03 -07:00
Andrey Lushnikov
c7bbd449c7
browser(firefox-beta): roll Firefox Beta to 94.0b6 (#9493)
Conflict resolution: f6c2c60748
2021-10-14 10:20:52 +02:00
Pavel Feldman
ac6e515ac3 chore: skip tracing tests when tracing is forced 2021-10-13 19:32:23 -07:00
Pavel Feldman
bb77912aee
chore: don't include babel compiled files in webpack bundles (#9491) 2021-10-13 19:27:50 -07:00
Pavel Feldman
e5a3c9b907
Revert "chore: update to webpack v5.58.2 (#9479)" (#9489)
This reverts commit e4056d3c83.
2021-10-13 17:13:43 -07:00
github-actions[bot]
c054d19a5d
feat(webkit): roll to r1562 (#9476)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-14 02:00:25 +02:00
Max Schmitt
1a69b26db1
Revert "fix(build): don't compile our web files twice with babel (#9470)" (#9488)
This reverts commit 4d7b6b4b50.
2021-10-14 01:02:31 +02:00
Andrey Lushnikov
283bdb8916
browser(firefox): roll Firefox to M93 (#9487) 2021-10-13 15:49:41 -07:00
Joel Einbinder
9d3513ab13
chore(create-playwright): some nits (#9133) 2021-10-13 17:33:44 -04:00
github-actions[bot]
a885e95646
feat(firefox-beta): roll to r1293 (#9456) 2021-10-13 14:32:35 -07:00
Yury Semikhatsky
e827bde1c2
fix(runner): skip global hooks in --list mode (#9480) 2021-10-13 14:18:15 -07:00
Joel Einbinder
e4056d3c83
chore: update to webpack v5.58.2 (#9479) 2021-10-13 13:42:29 -07:00
Joel Einbinder
4d7b6b4b50
fix(build): don't compile our web files twice with babel (#9470) 2021-10-13 13:41:38 -07:00
Joel Einbinder
2a0a44bc09
chore: move diff_match_patch into the test package (#9475) 2021-10-13 13:38:26 -07:00
Joel Einbinder
74bb75ce03
chore: dont throw errors about deviceDescriptors.js on first watch (#9469) 2021-10-13 13:35:50 -07:00
Pavel Feldman
cd99ad0da2
feat(trace): allow multiple traces in a single app, gc traces (#9478) 2021-10-13 13:31:54 -07:00
Yury Semikhatsky
fc54f1937a
test: ipv6 proxy address (#9457) 2021-10-13 12:10:09 -07:00
Pavel Feldman
8b1a887756
feat(html): link traces from html report (#9473) 2021-10-13 11:07:29 -07:00
Dmitry Gozman
64a3099655
chore(expect): simplify expect implementation (#9459) 2021-10-13 08:56:57 -07:00
Daniel Kolesa
437caa35ad
browser(webkit): fix build on ubuntu 18.04 and macos (#9464)
Pulls in 70be9d3a5f.

Also adds a build fix for Mac which is presumably related to
unified builds. This will be investigated upstream. This is the
APIWebAuthenticationAssertionResponse.cpp change and breakage was
introduced by:

d0ccf6383b
2021-10-13 15:21:04 +02:00
Pavel Feldman
cdfe075b2a
chore(traceviewer): drop intermediate iframe, add drop handler (#9455) 2021-10-12 21:21:06 -07:00
Max Schmitt
617380ffee
chore: fix bots after adjusting package descriptions (#9454)
follow-up for: bcfd47343c
2021-10-13 00:07:21 +02:00
Pavel Feldman
c0945d9d00
chore(trace): make trace viewer a pwa (#9438) 2021-10-12 14:42:50 -07:00
Max Schmitt
bcfd47343c chore: fix package description after monorepo 2021-10-12 23:32:08 +02:00
Andrey Lushnikov
e68129e610
devops: build firefox-beta with new bots (#9453) 2021-10-12 13:41:32 -07:00
Andrey Lushnikov
87f120fa35
devops: stop using MacOS 10.12 SDK when building Firefox (#9452)
An investigation has shown, that:
- Official Firefox builds actually cross-compile from Linux to MacOS,
  and for this reason use the old MacOS 10.12 SDK.
- We should be able to build with 11+ SDK just fine; read [primer on
  MacOS SDKs] for details.
- A random `symbol '___darwin_check_fd_set_overflow' not supported`
  error seems to be an [apple bug]. We can fix it using
  `LDFLAGS="-Wl,-U,___darwin_check_fd_set_overflow"`
  flag, similarly to [haskell compiler fix].

[primer on MacOS SDKs]: https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
[apple bug]: https://openradar.appspot.com/FB7647406
[haskell compiler fix]: 7745638702
2021-10-12 13:23:43 -07:00