Граф коммитов

421 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 5da943f86c Bug 1851438 - [remote] Fix expectations and tests for Puppeteer v21.2.0 on mozilla CI r=webdriver-reviewers,whimboo
Depends on D188104

> TestExpectations.json
> Launcher specs Puppeteer Puppeteer.launch should launch Chrome properly with

Those tests can't work on Mozilla CI because we don't perform a regular install of puppeteer there.

> TestExpectations.json
> Launcher specs Puppeteer Puppeteer.launch should work with no default arguments

Same thing.

> TestExpectations.json
> [proxy.spec] request proxy should respect proxy bypass list

This test frequently fails on our CI because the responseCompleted event is received too late (ie after navigate has resolved). Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1852891 about this.

> TestExpectations.json
> [network.spec] network Response.fromCache should work

I am not sure how this one passes on the puppeteer CI. Locally I never get a second request for the CSS file which we expect to get from the cache. Maybe we are completely missing the request in this case, but I don't know how this can pass on the puppeteer CI.

> TestExpectations.json
> [waittask.spec] waittask specs Frame.waitForFunction should work when resolved right before execution context disposal

The polling mechanism used in this test always fail for me locally and on CI. It might pass on puppeteer CI if it has slightly different timings?

> evaluation.spec.ts
> should not throw an error when evaluation does a navigation

Is ending too quickly on our CI, and the next test is trying to use the browsing context which is navigating, failing frequently.

> page.spec.ts
> Page.Events.PageError should fire

I frequently receive other errors for the same context during the test, which make the test fail. I'm proposing to wait for the specific error message here to avoid the issue.

> target.spec.ts
> should timeout waiting for a non-existent target

Depending on which test ran before, there could be a `server.EMPTY_PAGE` target available, and for some reason that lead the test to immediately fail with a TIMEOUT. Not quite sure why, but I think using an obviously not matching URL is safer?

Differential Revision: https://phabricator.services.mozilla.com/D188105
2023-09-15 13:36:12 +00:00
Julian Descottes 7a9d33e4f7 Bug 1851438 - [remote] Sync vendored puppeteer to v21.2.0 r=webdriver-reviewers,whimboo
Depends on D188103

Differential Revision: https://phabricator.services.mozilla.com/D188104
2023-09-15 13:36:11 +00:00
Henrik Skupin 05084a9184 Bug 1830859 - [webdriver-bidi] Implement "browsingContext.reload" command. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D187445
2023-09-06 11:03:13 +00:00
Greg Tatum 58e6868929 Bug 1836204 - Re-enable translations in automation; r=nordzilla,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D182926
2023-07-25 22:09:31 +00:00
Sebastian Hengst 5023905cc7 Backed out 2 changesets (bug 1836204) for causing frequent marionette / bidi failures. CLOSED TREE
Backed out changeset 1316e023af44 (bug 1836204)
Backed out changeset 0ab331879e6d (bug 1836204)
2023-08-01 15:19:13 +02:00
Alexandra Borovova 28072fdd62 Bug 1843507 - [puppeteer] Enable "[page.spec] Page Page.waitForNetworkIdle should work" test for BiDi. r=webdriver-reviewers,jdescottes
The test was failing because of the backround tab throttling.

Depends on D184454

Differential Revision: https://phabricator.services.mozilla.com/D184668
2023-07-27 07:47:54 +00:00
Greg Tatum 268b93f81b Bug 1836204 - Re-enable translations in automation; r=nordzilla,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D182926
2023-07-25 22:09:31 +00:00
Julian Descottes 2691f3ccdf Bug 1842198 - [remote] Skip PDF timeout puppeteer test on Firefox r=webdriver-reviewers,Sasha
Depends on D184115

Differential Revision: https://phabricator.services.mozilla.com/D184116
2023-07-25 07:10:10 +00:00
Julian Descottes da6e518d99 Bug 1842198 - [remote] Wait for about:blank navigation in page.spec.ts r=webdriver-reviewers,Sasha
Depends on D184114

Differential Revision: https://phabricator.services.mozilla.com/D184115
2023-07-25 07:10:10 +00:00
Julian Descottes 4136c8e744 Bug 1842198 - [remote] Update expectations for tests requiring regular installs r=webdriver-reviewers,Sasha
Depends on D184113

Differential Revision: https://phabricator.services.mozilla.com/D184114
2023-07-25 07:10:10 +00:00
Julian Descottes 2a54938767 Bug 1842198 - [remote] Mark all headful tests as passing only for headful with Firefox r=webdriver-reviewers,Sasha
Depends on D184218

Differential Revision: https://phabricator.services.mozilla.com/D184113
2023-07-25 07:10:09 +00:00
Julian Descottes b353b0567b Bug 1842198 - [remote] Sync test expectations update from puppeteer PR #10611 r=webdriver-reviewers,Sasha
Depends on D184109
Sync from https://github.com/puppeteer/puppeteer/pull/10611/

Differential Revision: https://phabricator.services.mozilla.com/D184218
2023-07-25 07:10:09 +00:00
Julian Descottes 3d62f9534b Bug 1842198 - [remote] Sync vendored puppeteer to v20.9.0 r=webdriver-reviewers,Sasha
Depends on D184209

Differential Revision: https://phabricator.services.mozilla.com/D184109
2023-07-25 07:10:08 +00:00
Julian Descottes 95a8997e94 Bug 1842198 - [remote] Remove generated puppeteer artifacts from source control r=webdriver-reviewers,Sasha
Depends on D184108

Differential Revision: https://phabricator.services.mozilla.com/D184110
2023-07-25 07:10:08 +00:00
Noemi Erli e631ff3d66 Backed out changeset 790939d4314e (bug 1836204) for causing wd leak failures 2023-07-07 19:30:37 +03:00
Greg Tatum 36e99c64ea Bug 1836204 - Re-enable translations in automation; r=nordzilla,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D182926
2023-07-07 10:57:39 +00:00
Alexandra Borovova ca52b8145b Bug 1731730 - [bidi] Implement capability matching for features for the session.new command. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178619
2023-06-09 17:34:48 +00:00
Narcis Beleuzu 0ec8e1f530 Backed out 3 changesets (bug 1731730) for Btime failures . CLOSED TREE
Backed out changeset 7d1262df9498 (bug 1731730)
Backed out changeset b7ccdf57f5aa (bug 1731730)
Backed out changeset a4e5f80c6793 (bug 1731730)
2023-06-08 21:23:28 +03:00
Alexandra Borovova e031c9e914 Bug 1731730 - [bidi] Implement capability matching for features for the session.new command. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178619
2023-06-08 11:47:39 +00:00
Julian Descottes 97a4425c18 Bug 1836093 - [remote] Disable browser.translations.enable in automation r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D179581
2023-06-01 06:21:23 +00:00
Alexandra Borovova 3d6db0dae7 Bug 1824908 - [puppeteer] Sync vendored puppeteer to v20.1.0. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177247
2023-05-09 12:51:05 +00:00
CanadaHonk 5cf1dabcc0 Bug 1811049 - [cdp] Implement filter option for Target.setDiscoverTargets r=webdriver-reviewers,whimboo
Implement the filter option for Target.setDiscoverTargets, using
internal function created previously.

Also rewrote tests for Target.setDiscoverTargets, and some internal test
helpers.

Tweaked Puppeteer to accommodate for these changes, now using a
filter for Target.setDiscoverTargets like Chrome.
Upstream: https://github.com/puppeteer/puppeteer/pull/9693

Differential Revision: https://phabricator.services.mozilla.com/D167209
2023-04-06 15:25:08 +00:00
Henrik Skupin 7eddaf2fd1 Bug 1817934 - [puppeteer] Update test expection data. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170800
2023-02-25 10:14:26 +00:00
Henrik Skupin 33c84b1801 Bug 1817934 - [puppeteer] Vendor Puppeteer v19.7.2. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D170799
2023-02-25 10:14:26 +00:00
Henrik Skupin e91a39e2be Bug 1786299 - [cdp] Use custom error message unknown contexts and cyclic objects for serialization by value. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D169055
2023-02-08 13:39:52 +00:00
Alexandra Borovova 7e919228b0 Bug 1797744 - [puppeteer] Sync vendored puppeteer to v19.6.0. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D167407
2023-01-27 16:50:45 +00:00
Stanca Serban 30b2ff14b6 Backed out 6 changesets (bug 1811545, bug 1808894) for landing with leftover files from a puppeteer install (under remote/test/puppeteer/packages/puppeteer-core/). CLOSED TREE
Backed out changeset 7f0a872abb09 (bug 1811545)
Backed out changeset 41daafb5d75a (bug 1811545)
Backed out changeset 82dee6290057 (bug 1811545)
Backed out changeset 3e0178b3e0dc (bug 1811545)
Backed out changeset 55cec0043044 (bug 1811545)
Backed out changeset 75eaaf96d039 (bug 1808894)
2023-01-27 04:37:23 +02:00
Henrik Skupin 3a9e7255a5 Bug 1808894 - [marionette] Complete (De-)serialization support for WebElement and ShadowRoot. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D167541
2023-01-26 21:38:26 +00:00
Alexandra Borovova d115e24d80 Bug 1797723 - [puppeteer] Sync vendored puppeteer to v18.0.0. r=webdriver-reviewers,whimboo,jdescottes
Depends on D166650

Differential Revision: https://phabricator.services.mozilla.com/D166651
2023-01-17 10:42:50 +00:00
Henrik Skupin 497c003c10 Bug 1800257 - [puppeteer] Allow "Frame.waitForFunction should work when resolved right before execution context disposal" to fail r=webdriver-reviewers,jdescottes
The test is currently broken and got fixed upstream for
a later Puppeteer release:

https://github.com/puppeteer/puppeteer/pull/9368

Until the fix got downstreamed this test will be flaky
and can pass and fail.

Differential Revision: https://phabricator.services.mozilla.com/D163984
2022-12-07 08:35:28 +00:00
Tom Ritter 8e1c983ccd Bug 1800927: Fix the Updatebot linter and offending moz.yaml files r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162223
2022-11-21 19:35:16 +00:00
Alexandra Borovova 428f90d6b8 Bug 1791532 - [puppeteer] Sync puppeteer v17.1.2 r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160331
2022-10-27 07:22:47 +00:00
Alexandra Borovova 3b13e92b62 Bug 1756680 - [puppeteer] Sync puppeteer v16.1.1 r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D154912
2022-08-23 09:07:42 +00:00
Zach Bloomquist bf158e7643 Bug 1715366 - [CDP] Fix URL fragment handling in Network.requestWillBeSent. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D117559
2022-07-13 12:34:28 +00:00
Julian Descottes 42dc9793cb Bug 1636453 - [cdp] Support Page.navigate for hash navigation r=webdriver-reviewers,whimboo
Depends on D146985

The previous changeset changed the implementation of navigatedWithinDocument to
be emitted in the proper scenarios (ie, same document navigation).

However our Page.navigate implementation would still timeout waiting on a
network request if you tried to programmatically perform a hash navigation.
Meaning hash navigation was only working when triggered from the page.

With this changeset, we try to detect hash navigations in Page.navigate and
treat them as "network-less" navigations (same as for non http/https navigations)

Differential Revision: https://phabricator.services.mozilla.com/D147076
2022-05-23 19:06:12 +00:00
Julian Descottes ee5e9e8926 Bug 1636453 - [cdp] Move Page.navigatedWithinDocument to hashChange r=webdriver-reviewers,whimboo
Depends on D146984

This is needed to be forward compatible with new versions of puppeteer
The navigatedWithinDocument event should only have been emitted for same
document navigation (either hashchange or history navigation), but it was
emitted on load.

Differential Revision: https://phabricator.services.mozilla.com/D146985
2022-05-23 19:06:12 +00:00
Henrik Skupin 4a53582427 Bug 1757701 - [puppeteer] Allow to skip the installation of Husky in the prepare step. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D145857
2022-05-17 21:52:10 +00:00
Henrik Skupin 06b4c49953 Bug 1759169 - [puppeteer] Also kill Firefox when temporary profile is used. r=webdriver-reviewers,jdescottes
Depends on D144027

Differential Revision: https://phabricator.services.mozilla.com/D144028
2022-04-25 17:20:42 +00:00
Henrik Skupin ed733b2679 Bug 1759169 - [puppeteer] Use separate tests for "Puppeteer.launch should filter out ignored default arguments". r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D144027
2022-04-25 17:20:42 +00:00
Julian Descottes b381342993 Bug 1673104 - [puppeteer] Synchronize page.spec.ts fix from puppeteer PR #8208 r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D143179
2022-04-07 20:55:05 +00:00
Julian Descottes 0b3d4cc455 Bug 1732958 - [puppeteer] Skip 2 new mandatory tests on Firefox r=webdriver-reviewers,whimboo
Depends on D134666

Differential Revision: https://phabricator.services.mozilla.com/D134667
2022-01-04 12:11:45 +00:00
Julian Descottes aa5938c302 Bug 1732958 - [puppeteer] Sync puppeteer v13.0.1 r=webdriver-reviewers,whimboo
Depends on D134665

Differential Revision: https://phabricator.services.mozilla.com/D134666
2022-01-04 12:11:44 +00:00
Nafees Nehar 7d06f219e0 Bug 1605354 - [remote] Support for Network.getCookies's "urls" parameter. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D126828
2021-12-23 15:39:46 +00:00
Henrik Skupin a854264cda Bug 1740798 - [puppeteer] Remove multiple results from test "Page.click should click the button". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D131472
2021-11-18 09:12:03 +00:00
Henrik Skupin bece95705b Bug 1740798 - [puppeteer] Update expected meta data. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131212
2021-11-16 14:58:11 +00:00
Henrik Skupin ed424648de Bug 1713030 - [puppeteer] Update puppeteer expectation data and launcher tests. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D128453
2021-11-10 17:21:04 +00:00
Henrik Skupin 4f094b2f9b Bug 1713030 - [puppeteer] Support for custom user data (profile) directory for Firefox. r=webdriver-reviewers,jdescottes
When using a custom Firefox profile for Puppeteer the modified
preferences as present in prefs.js need to be reset once the
profile is no longer needed by Puppeteer. If not done this could
cause side-effects when the profile is used next time outside
of Puppeteer.

Differential Revision: https://phabricator.services.mozilla.com/D128452
2021-11-10 17:21:03 +00:00
Henrik Skupin e679d9a2c5 Bug 1713030 - [puppeteer] Extract creation of Firefox preferences files from profile creation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D128451
2021-11-10 17:21:03 +00:00
Henrik Skupin 2faff04c93 Bug 1713030 - [puppeteer] Extract default preferences for Firefox from profile creation. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D128450
2021-11-10 17:21:03 +00:00
Henrik Skupin f84b7f51bd Bug 1713030 - [puppeteer] "--foreground" argument for Firefox is only supported on MacOS. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D128449
2021-11-10 17:21:02 +00:00