Commit Graph

1661 Commits

Author SHA1 Message Date
James Graham
761cd88499 Bug 1261138 - Allow marionette to have any socket timeout, including None indicating no timeout, r=ato
MozReview-Commit-ID: L6iYzF1cnnX

--HG--
extra : rebase_source : 56fffa54986018e95e9c0f30e2d3ca521ed1367c
2016-03-31 18:55:14 +01:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Maja Frydrychowicz
8ced3681df Bug 1259435 - Release new versions of marionette_client and marionette_driver to PyPI; r=automatedtester
MozReview-Commit-ID: 9SQciAxXGp0

--HG--
extra : rebase_source : 43d8d9046d79f28679debda7eb31fb5427229cce
2016-03-24 12:14:59 -04:00
Francois Marier
63c2afbc28 Bug 1259288 - Safe Browsing should be fully disabled in our test suites. r=gcp
MozReview-Commit-ID: 2og99Gl9w9n

--HG--
extra : rebase_source : 33961d97454e71e5b7fc3ad5f9eb145099c0fc6e
2016-03-23 17:59:55 -07:00
Henrik Skupin
e31e20a841 Bug 1259029 - Ensure that getChromeWindowHandles() returns the same window list for chrome and content scope. r=ato
MozReview-Commit-ID: EcmUfEH4lKd

--HG--
extra : rebase_source : eb5b5bd4305bb0ec6919fc52375507e3cbc962d1
2016-03-23 15:48:11 +01:00
Andreas Tolfsen
1df002e8b0 Bug 1257526 - Harmonise unsupported operation error usage; r=automatedtester
Throw unsupported operation errors the same way throughout Marionette.

MozReview-Commit-ID: D63gVIeX2qK

--HG--
extra : rebase_source : 2f93a7a847c599234a1303a27a59a64f74e8f3f6
2016-03-17 14:57:46 +00:00
Andreas Tolfsen
49e853427a Bug 1257526 - Return unsupported operation error for screen orientation on desktop; r=automatedtester
MozReview-Commit-ID: 4G9Bwaqxm5k

--HG--
extra : rebase_source : 5e2a9c37d3e9ea3fb9c9da821293b5aa0918eda8
2016-03-17 14:54:48 +00:00
Carsten "Tomcat" Book
5d87e982dd Backed out changeset f8c07a51e7ce (bug 1257526) for marionette failures 2016-03-22 13:21:35 +01:00
Carsten "Tomcat" Book
dd50937aa3 Backed out changeset c1fb88d419ca (bug 1257526) 2016-03-22 13:21:20 +01:00
Andreas Tolfsen
86fe465e04 Bug 1257526 - Harmonise unsupported operation error usage; r=automatedtester
Throw unsupported operation errors the same way throughout Marionette.

MozReview-Commit-ID: D63gVIeX2qK

--HG--
extra : rebase_source : 89c7d99027add7df3b38797b9df041e3e38a4939
2016-03-17 14:57:46 +00:00
Andreas Tolfsen
368f4c16af Bug 1257526 - Return unsupported operation error for screen orientation on desktop; r=automatedtester
MozReview-Commit-ID: 4G9Bwaqxm5k

--HG--
extra : rebase_source : c0ffe32835da6f7ba1bfa61d0047b0393457339d
2016-03-17 14:54:48 +00:00
Rachel
0d6d8f8602 Bug 1255064 - MarionetteHarness should internally use dicts for arguments; r=maja_zf
MozReview-Commit-ID: 94muKM44wVq

--HG--
extra : rebase_source : 502b677adcfc7390528d67119d261363f5f9e651
2016-03-18 19:33:08 -07:00
Ryan VanderMeulen
197d146e63 Bug 1239552 - Disable some tests that are permafail in e10s mode with RELEASE_BUILD set. a=test-only 2016-01-20 16:35:27 -05:00
Andreas Tolfsen
f6bfff23ab Bug 1257523 - Remove unused imports; r=automatedtester
MozReview-Commit-ID: K12laAg8zLy

--HG--
extra : rebase_source : 01f495019e69ac859b3f7eb7653a14653477bb93
2016-03-17 14:29:41 +00:00
Andreas Tolfsen
71f87b0569 Bug 1257523 - Remove GeckoDriver#deleteFile; r=automatedtester
MozReview-Commit-ID: 7kOZ5hVC5He

--HG--
extra : rebase_source : 514de7eeaaf0fb41cf1e8d3ae0999c01af052956
2016-03-17 14:26:57 +00:00
Maja Frydrychowicz
36c162588b Bug 1253618 - Support |skip-if = asan| manifest annotations in Marionette runner; r=automatedtester
Obtain build info, including asan status, by looking up mozinfo.json.

MozReview-Commit-ID: 8XWMGtBEbKL

--HG--
extra : rebase_source : f474341433510bd659b4c1d2bc035eec73b603fc
2016-03-14 11:24:58 -04:00
Maja Frydrychowicz
26904d7e8c Bug 1253618 - Add support for |skip-if = e10s| manifest annotations in Marionette runner; r=automatedtester
MozReview-Commit-ID: ApTPQNa2R1c

--HG--
extra : rebase_source : 599b8f976355cc21e5e5aa4707381f68d21b867e
2016-03-09 16:04:02 -05:00
Nathalie Rud
6b7f8633e5 Bug 1256973. Simplify assignment to result_callbacks; r=maja_zf
MozReview-Commit-ID: GXkUNhpI6Wf

--HG--
extra : rebase_source : bbfeab3f8b9fcbb909955ce1c99e8463f5f83c82
2016-03-16 00:10:49 +02:00
Andreas Tolfsen
820971ad9f Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester
This fixes a leak where timers were not cancelled upon promise rejection.
When the function passed to implicitlyWaitFor is rejected for not finding
elements after the timeout has elapsed, the elementSearch callback is
no longer called because the timer is cancelled when it calls reject().

MozReview-Commit-ID: FR2iA8s1NjX

--HG--
extra : rebase_source : 80f4b13d15cf3497a8d4b20bca98450ad3bc1b5e
2016-03-16 12:27:36 +00:00
Nathalie Rud
cd8babe14e Bug 1256978. Use self.capabilities instead of self._capabilities in BaseMarionetteTestRunner; r=maja_zf
MozReview-Commit-ID: 9ZCOLKae6rt

--HG--
extra : rebase_source : e7604a220aac20b24dfd4dc3f7b3d9e234a47d79
2016-03-16 01:40:21 +02:00
Kim Brown
14a79b2058 Bug 1130979 - Added ANON constant to By class and changed hard-coded values in test file; r=maja_zf
MozReview-Commit-ID: AOsb6l9UpVR

--HG--
extra : rebase_source : b5f41a4e42a3aa76eaf8a2fb5e27882090e8fb19
2016-03-12 13:32:46 -05:00
Kim Brown
922993e071 Bug 1130979 - Changed hard-coded values to constants from By; r=maja_zf
MozReview-Commit-ID: IqVyYQSCT3J

--HG--
extra : rebase_source : d21d156ff640b6bdb5d442073b65692f1534421c
2016-03-11 22:22:36 -05:00
Henrik Skupin
4438ee04e1 Bug 1256439 - Run implicit wait callback once before start polling. r=automatedtester
By using a timer the first invocation of the callback is happening after the specified interval.
That means by a default of 100ms we loose that time on every call of implicit wait, and it will
slow-down the test execution drastically. To prevent this lets manually invoke the callback
before starting the timer.

MozReview-Commit-ID: Ayy1GPEaY92

--HG--
extra : rebase_source : 2fac7b5578ec42af5050fad21ca9c3d5cfdca3e1
2016-03-15 14:38:32 +01:00
Sebastian Hengst
0cf93a0e57 Backed out changeset 936703b9e4cd (bug 1253618) for timeout in Linux Ld tests. r=backout on a CLOSED TREE 2016-03-15 18:50:27 +01:00
Sebastian Hengst
4b384cc448 Backed out changeset 595815f1f12a (bug 1253618) 2016-03-15 18:47:29 +01:00
Decky Coss
6fc233572d Bug 1142212 - import skip_if_b2g from marionette instead of marionette.marionette_test; r=maja_zf
MozReview-Commit-ID: D2mW2A8cViA

--HG--
extra : rebase_source : 1f7a43847f77c6b1556607694a0fc37dd1c43e4a
2016-03-11 15:35:44 -07:00
Maja Frydrychowicz
410b10925a Bug 1253618 - Support |skip-if = asan| manifest annotations in Marionette runner; r=automatedtester
Obtain build info, including asan status, by looking up mozinfo.json.

MozReview-Commit-ID: 8XWMGtBEbKL

--HG--
extra : rebase_source : f474341433510bd659b4c1d2bc035eec73b603fc
2016-03-14 11:24:58 -04:00
Maja Frydrychowicz
8264d4e801 Bug 1253618 - Add support for |skip-if = e10s| manifest annotations in Marionette runner; r=automatedtester
MozReview-Commit-ID: ApTPQNa2R1c

--HG--
extra : rebase_source : 599b8f976355cc21e5e5aa4707381f68d21b867e
2016-03-09 16:04:02 -05:00
Ting-Yu Lin
14b8c376fa Bug 1251519 Part 4 - Add tests for dragging caret to content boundary. r=mats
These tests should fail without Part 5.

MozReview-Commit-ID: 2FAW02tusCg

--HG--
extra : rebase_source : 8634f1e76a172b8c602743692b50376ddda04ebd
2016-03-10 17:38:32 +08:00
Ting-Yu Lin
970a0bf203 Bug 1251519 Part 3 - Add regression tests for caret dragging. r=mats
These tests are added per bug 1251519 comment 10.

test_move_cursor_to_front_by_dragging_caret_to_front_br_element() covers
example 1, and test_drag_caret_from_front_to_end_across_columns() covers
example 3. Example 4 is not easy to write in marionette test since it's
difficult to know whether an image is selected.

Both tests will fail if we clamp the dragging point by using only the
text frame rects as the patch attached in bug 1251519 comment 7.

MozReview-Commit-ID: CKZQKGI6YUw

--HG--
extra : rebase_source : 72f5c2a960c2659fe5015a3ab488d4baa1918059
2016-03-10 17:38:32 +08:00
Andreas Tolfsen
164e45069d Bug 1254523 - Convert modal.Dialog to a class; r=automatedtester
MozReview-Commit-ID: DmC472jSsdi

--HG--
extra : rebase_source : d41cac5c5840bb2bc78061dfd04d75f7d9a6894a
2016-03-08 14:10:32 +00:00
Andreas Tolfsen
526ca1dccc Bug 1254523 - Use constants for Cu and isFirefox; r=automatedtester
MozReview-Commit-ID: IegkoO86uWP

--HG--
extra : rebase_source : 2e7844e88e759586e1d45c4baad45511bfe8a469
2016-03-08 13:59:54 +00:00
Andreas Tolfsen
e41745c1c8 Bug 1245064 - Run click tests with new interactability algorithm; r=automatedtester
MozReview-Commit-ID: FR7yucKZ7XT

--HG--
extra : rebase_source : 9ea4991525ff8a7133dbf7ab834454a2fdf57f00
2016-03-04 18:04:16 +00:00
Andreas Tolfsen
176f8137f9 Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester
MozReview-Commit-ID: GXLGqjKCfVA

--HG--
extra : rebase_source : 8a58e5df7e1bf097b26597d6632bab6742a26bc2
2016-03-04 18:03:28 +00:00
Andreas Tolfsen
158557f87b Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : 5ffd21c06fb98ac908d5118f55736b5f4271ff95
2016-03-04 18:02:56 +00:00
Andreas Tolfsen
1e70da6b17 Bug 1245064 - Lower specificationLevel to 0; r=automatedtester
Marionette is not yet compatible with the WebDriver specification, and
we indicate this by lowering the specificationLevel capability to 0.
This lets us "gate" specification-compatible features, such as the new
element interactability algorithm.

The new interactability algorithm can be enabled by requesting the
capability specificationLevel 1.

MozReview-Commit-ID: 6wsEAsBtR6P

--HG--
extra : rebase_source : f37444470987bb782f32e190e3b5476eb139f142
2016-03-04 18:00:17 +00:00
Andreas Tolfsen
e3854ffb41 Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : d84d38510e28ab5e0debce2051e336e1fd3f0f86
2016-03-04 16:44:38 +00:00
Andreas Tolfsen
71b94d4505 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : fbb7995924c7e2707e2aaa2293b8a5c51fc563bc
2016-03-03 13:58:13 +00:00
Carsten "Tomcat" Book
84efe80138 Backed out changeset 4dec8d87c105 (bug 1245064) for marionette bustage 2016-03-09 14:03:28 +01:00
Carsten "Tomcat" Book
38c337c81b Backed out changeset 1dd0bcc1c45e (bug 1245064) 2016-03-09 14:03:07 +01:00
Carsten "Tomcat" Book
b622474229 Backed out changeset cb92135b84d1 (bug 1245064) 2016-03-09 14:03:06 +01:00
Carsten "Tomcat" Book
b685a90a5e Backed out changeset 2483596f62ef (bug 1245064) 2016-03-09 14:03:04 +01:00
Carsten "Tomcat" Book
f06c52d3e1 Backed out changeset 9c4589c2cf47 (bug 1245064) 2016-03-09 14:03:03 +01:00
Carsten "Tomcat" Book
763127bbc7 Backed out changeset 20d915f9df91 (bug 1245064) 2016-03-09 14:03:01 +01:00
Andreas Tolfsen
b19085f378 Bug 1245064 - Run click tests with new interactability algorithm; r=automatedtester
MozReview-Commit-ID: FR7yucKZ7XT

--HG--
extra : rebase_source : a409d766a6853bdad6fb9c27ec62cd3f0e83b6c4
2016-03-04 18:04:16 +00:00
Andreas Tolfsen
608b6681f2 Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester
MozReview-Commit-ID: GXLGqjKCfVA

--HG--
extra : rebase_source : 1c0e879f11c6ec0bed455a083fe208d8cb6fb14f
2016-03-04 18:03:28 +00:00
Andreas Tolfsen
64ff8c0c0e Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : aae2e03f133b21ab1e65b51aebdec155a2990beb
2016-03-04 18:02:56 +00:00
Andreas Tolfsen
01b20214ee Bug 1245064 - Lower specificationLevel to 0; r=automatedtester
Marionette is not yet compatible with the WebDriver specification, and
we indicate this by lowering the specificationLevel capability to 0.
This lets us "gate" specification-compatible features, such as the new
element interactability algorithm.

The new interactability algorithm can be enabled by requesting the
capability specificationLevel 1.

MozReview-Commit-ID: 6wsEAsBtR6P

--HG--
extra : rebase_source : 3109e0925178ffca5d807a56feabfe66783b38f6
2016-03-04 18:00:17 +00:00
Andreas Tolfsen
ed18a3de7d Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : 357accaa38b44704fcaf839aa50e1e29af0b3f99
2016-03-04 16:44:38 +00:00
Andreas Tolfsen
fcdf164815 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : 347210842fae698acde760c2733dd8d882a09c25
2016-03-03 13:58:13 +00:00