Commit Graph

3777 Commits

Author SHA1 Message Date
Andreas Tolfsen
9ed472d436 bug 1510929: marionette: remove scriptTimeout parameter; r=whimboo
Depends on D15583

Differential Revision: https://phabricator.services.mozilla.com/D15584

--HG--
extra : moz-landing-system : lando
2019-01-03 11:20:16 +00:00
Andreas Tolfsen
3a05ef17b4 bug 1510929: marionette: stop using scriptTimeout parameter; r=whimboo
By stopping to use the scriptTimeout parameter with the
WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript commands
in the Marionette Python client, we can remove it from the server.

Differential Revision: https://phabricator.services.mozilla.com/D15583

--HG--
extra : moz-landing-system : lando
2019-01-03 14:08:13 +00:00
Henrik Skupin
af783b2cb8 Bug 1504201 - [marionette] Temporarily skip TestScreenCaptureChrome.test_formats on Linux. r=whimboo 2019-01-02 11:26:06 +01:00
Jan de Mooij
78e73f70bf Bug 1513783 - Give Marionette sandbox its own ChromeUtils object. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14844

--HG--
extra : moz-landing-system : lando
2018-12-20 21:15:11 +00:00
Narcis Beleuzu
0861b235f4 Backed out 2 changesets (bug 1510929) for awsy failures. CLOSED TREE
Backed out changeset 87416015abce (bug 1510929)
Backed out changeset 919fea1e5337 (bug 1510929)
2018-12-21 00:19:17 +02:00
Narcis Beleuzu
e154ee4c06 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-21 00:04:35 +02:00
Cosmin Sabou
4d5fd1304e Backed out 6 changesets (bug 1504756) as requested by whimboo in order to stop some wpt and mn intermittents. a=backout
Backed out changeset d7d78e79f0b3 (bug 1504756)
Backed out changeset 5c495fd7f64d (bug 1504756)
Backed out changeset 5c2826c58f9e (bug 1504756)
Backed out changeset f23b667d8bfa (bug 1504756)
Backed out changeset 6068c233f4ef (bug 1504756)
Backed out changeset 65858c8c0fbd (bug 1504756)

--HG--
extra : rebase_source : 6b895c62a74c6f7521e4a4baff3b0498c65fcbf9
2018-12-20 18:07:02 +02:00
Andreas Tolfsen
4a02a0cdc2 bug 1510929: marionette: remove script_timeout kwarg from client; r=whimboo
This removes the script_timeouts keyword argument from
Marionette#execute_script and #execute_async_script as it is not
compatible with the semantic meaning associated with null in WebDriver.

The script timeout duration for the session can instead be set
using Marionette#timeouts#script.

Depends on D13993

Differential Revision: https://phabricator.services.mozilla.com/D13994

--HG--
extra : moz-landing-system : lando
2018-12-20 21:24:05 +00:00
Andreas Tolfsen
59561d1fd7 bug 1510929: puppeteer: remove use of script_timeout; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D13993

--HG--
extra : moz-landing-system : lando
2018-12-20 21:23:18 +00:00
Mark Banner
32345283e0 Bug 1503674 - Remove unused microformats code. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14679

--HG--
extra : moz-landing-system : lando
2018-12-17 09:32:27 +00:00
arthur.iakab
d737d0506f Backed out 2 changesets (bug 1510695, bug 1510693) for causing frequent marionette failures on unit/test_reftest.py
Backed out changeset 8a7b62c82459 (bug 1510695)
Backed out changeset e7e0d6ba2835 (bug 1510693)
2018-12-12 23:11:19 +02:00
Geoffrey Sneddon
4997b75c09 Bug 1510695 - Fix URL comparisons in reftestWait r=jgraham
Depends on D13281

Differential Revision: https://phabricator.services.mozilla.com/D13282

--HG--
extra : moz-landing-system : lando
2018-12-12 17:44:20 +00:00
Geoffrey Sneddon
90c525577a Bug 1510693 - Tests for marionette's reftest runner r=jgraham,ato
Differential Revision: https://phabricator.services.mozilla.com/D13281

--HG--
extra : moz-landing-system : lando
2018-12-12 17:44:43 +00:00
Olli Pettay
25784a5a17 Bug 1512259 - No need to special case <button> in marionette, r=ato
--HG--
extra : rebase_source : 8489d12617508e0a7ab2e1ef526d854d031405ab
2018-12-04 17:30:43 +02:00
Mark Banner
0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia
9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner
1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Andrew Halberstadt
ce87b08ac4 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

Differential Revision: https://phabricator.services.mozilla.com/D10759

--HG--
extra : moz-landing-system : lando
2018-12-05 19:20:16 +00:00
Henrik Skupin
499ecd9441 Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

Differential Revision: https://phabricator.services.mozilla.com/D13664

--HG--
extra : moz-landing-system : lando
2018-12-05 19:58:32 +00:00
Henrik Skupin
52b84a6f90 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `Create window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

Differential Revision: https://phabricator.services.mozilla.com/D13663

--HG--
extra : moz-landing-system : lando
2018-12-05 19:58:06 +00:00
Henrik Skupin
eb8486826a Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

Differential Revision: https://phabricator.services.mozilla.com/D13662

--HG--
extra : moz-landing-system : lando
2018-12-05 19:57:48 +00:00
Henrik Skupin
c3571c164d Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

Differential Revision: https://phabricator.services.mozilla.com/D13661

--HG--
extra : moz-landing-system : lando
2018-12-05 19:57:23 +00:00
Henrik Skupin
e099e3a840 Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

Differential Revision: https://phabricator.services.mozilla.com/D13660

--HG--
extra : moz-landing-system : lando
2018-12-05 19:56:56 +00:00
Henrik Skupin
63c73cd666 Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

Differential Revision: https://phabricator.services.mozilla.com/D13659

--HG--
extra : moz-landing-system : lando
2018-12-05 19:56:32 +00:00
Henrik Skupin
fb49499bf5 Bug 1508726 - [geckodriver] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13515

Differential Revision: https://phabricator.services.mozilla.com/D13516

--HG--
extra : moz-landing-system : lando
2018-12-05 08:12:46 +00:00
Henrik Skupin
89fd7d7867 Bug 1508726 - [marionette] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13516

Differential Revision: https://phabricator.services.mozilla.com/D13517

--HG--
extra : moz-landing-system : lando
2018-12-05 08:09:10 +00:00
Cosmin Sabou
631d5b3bc1 Backed out 2 changesets (bug 1508726) as requested by whimboo for TestMarionette.test_application_update_disabled permafails.
Backed out changeset 5c59407599f6 (bug 1508726)
Backed out changeset 766ba8a6c875 (bug 1508726)
2018-12-05 09:49:46 +02:00
Cosmin Sabou
5d8f09e4fd Backed out 6 changesets (bug 1504756) for wpt failures on webdriver/tests/execute_script/promise.py
Backed out changeset d808b528532a (bug 1504756)
Backed out changeset 30d345cce5be (bug 1504756)
Backed out changeset a8ea6d01fbe1 (bug 1504756)
Backed out changeset ba627a1b61dc (bug 1504756)
Backed out changeset c90e4b2e1b28 (bug 1504756)
Backed out changeset 04da1f01afba (bug 1504756)
2018-12-05 08:33:46 +02:00
Henrik Skupin
fb4e180e6c Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

Differential Revision: https://phabricator.services.mozilla.com/D13664

--HG--
extra : moz-landing-system : lando
2018-12-04 22:00:19 +00:00
Henrik Skupin
1a084b6641 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `Create window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

Differential Revision: https://phabricator.services.mozilla.com/D13663

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:43 +00:00
Henrik Skupin
6cd30adf3d Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

Differential Revision: https://phabricator.services.mozilla.com/D13662

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:39 +00:00
Henrik Skupin
614fbd008f Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

Differential Revision: https://phabricator.services.mozilla.com/D13661

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:37 +00:00
Henrik Skupin
cbb83ceeeb Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

Differential Revision: https://phabricator.services.mozilla.com/D13660

--HG--
extra : moz-landing-system : lando
2018-12-04 21:57:51 +00:00
Henrik Skupin
23bbc3c83d Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

Differential Revision: https://phabricator.services.mozilla.com/D13659

--HG--
extra : moz-landing-system : lando
2018-12-04 21:57:28 +00:00
Henrik Skupin
3fb4ec5a5d Bug 1508726 - [marionette] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13516

Differential Revision: https://phabricator.services.mozilla.com/D13517

--HG--
extra : moz-landing-system : lando
2018-12-03 09:01:38 +00:00
Henrik Skupin
ec2e5d087c Bug 1508726 - [geckodriver] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13515

Differential Revision: https://phabricator.services.mozilla.com/D13516

--HG--
extra : moz-landing-system : lando
2018-12-03 15:05:36 +00:00
James Graham
3319035104 Bug 1509983 - Enable wpt android reftests on try/m-c, r=gbrown,ato
Depends on D13089

Differential Revision: https://phabricator.services.mozilla.com/D13090

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:50 +00:00
Henrik Skupin
4e4c002028 Bug 1511311 - [marionette] GeckoInstance classes should not overwrite already set custom preferences. r=automatedtester
Custom preferences as passed into both classes via the constructor
are getting set in the base GeckoInstance class. But both the
DesktopInstance and FennecInstance classes could override those
custom preferences if they have the same preference set as
required preference. As such the custom preference doesn't have
any effect.

This patch allows both classes to override required prefs with
a different value.

Differential Revision: https://phabricator.services.mozilla.com/D13522

--HG--
extra : moz-landing-system : lando
2018-11-30 13:27:22 +00:00
Henrik Skupin
bd8c60832d Bug 1510584 - [marionette] Have a better granularity between DEBUG and TRACE logging output. r=ato
The debug output is currently kinda polluted with lines of
received events and observer notifications. Those are not usually
needed by anyone beside us, but they also add little value in
having additional trace output, because that mainly would only
add the command and response messages.

To make debug output more helpful for our users the command
and response messages should appear here and not in trace.

But all the additional log output lines as mentioned above
we usually make use of for investigating problems should
be trace only.

Also a lot of existing debug output will remain unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D13379

--HG--
extra : moz-landing-system : lando
2018-11-29 19:31:38 +00:00
Henrik Skupin
ce5d4c16d5 Bug 1351940 - [marionette] Only convert a valid outerWindowID to a string. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13206

--HG--
extra : moz-landing-system : lando
2018-11-28 20:48:42 +00:00
Henrik Skupin
ab56f42848 Bug 1509256 - Fix application update preferences for backward compatibility in Marionette and geckodriver. r=ato,bytesized
Because in Marionette the application updates cannot be turned off
via the preference "app.update.disabledForTesting" (see bug 1508726),
the preference "app.update.auto" has to be used for the time being
to control that by default no updates should be downloaded and
installed.

Even "app.update.disabledForTesting" doesn't work right now,
it might be good to leave it. It would help us in the future
so that we won't have to release new Marionette client and
geckodriver releases, if it gets supported in Firefox.

Note that this band-aid fix will only work for Firefox releases
from 57 to 64. For Firefox 65 and onwards the fix on
bug 1508726 will be needed.

Depends on D13059

Differential Revision: https://phabricator.services.mozilla.com/D13060

--HG--
extra : moz-landing-system : lando
2018-11-28 22:10:40 +00:00
Henrik Skupin
271aa30b73 Bug 1509256 - Clarify where to add preferences for geckodriver and Marionette. r=ato
It should be made clear that only those preferences should be added
to marionette.js which have an immediate effect. All others which
eg. require a restart, or have to be set before the application
starts the first time, must be added to the appropriate client's
profile generation code.

Differential Revision: https://phabricator.services.mozilla.com/D13059

--HG--
extra : moz-landing-system : lando
2018-11-27 20:12:04 +00:00
Henrik Skupin
16242b6d45 Bug 1504201 - "Intermittent Linux Mn testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py TestScreenCaptureChrome.test_formats | AssertionError: u'10a9988c502034662c801565ca05b9c154b933824b2f88849cab0e3e2b492da2' != '92b10dd07e1767c396f6" r=ato 2018-11-06 04:47:00 +02:00
Raphael Pierzina
b8fdb7b849 Bug 1509879 - Fix TypeError in firefox-puppeteer's TabBar.close_all_tabs(); r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D12921

--HG--
extra : moz-landing-system : lando
2018-11-26 16:50:15 +00:00
shindli
970ea1ddd4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-23 11:42:24 +02:00
shindli
20df68a5f5 Merge inbound to mozilla-central. a=merge 2018-11-23 11:38:42 +02:00
Geoff Lankow
fe3e835c8c Bug 1506523 - Adapt Marionette so it can run on Thunderbird; r=whimboo
--HG--
extra : rebase_source : 65b6677dfe8672b4972f65dcf50228a826a4ba9e
2018-11-23 10:38:19 +13:00
Henrik Skupin
5bf1594ebe Bug 1507803 - [marionette] Allow to open a chrome window via the WindowManager mixin class. r=ato
The current implemenation for opening new chrome windows via the
WindowManager mixin class is racy because it doesn't wait for the
newly opened window to have focus and being activated first.

The patch adds a new method to the WindowManager class, which is
waits for those events. It can then be used across all existent
Marionette unit tests.

Differential Revision: https://phabricator.services.mozilla.com/D12180

--HG--
extra : moz-landing-system : lando
2018-11-23 07:55:40 +00:00
Chris Pearce
16512588df Bug 1503776 - Add marionette-gpu job. r=jmaher
In order to reduce the cost of running marionette tests on a virtual machine
with a GPU, add a marionette-gpu job, and run the WebRender rollout test added
in the previous patch in this new job.

Depends on D10528

Differential Revision: https://phabricator.services.mozilla.com/D12241

--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:46 +00:00
Coroiu Cristina
b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00