Commit Graph

10460 Commits

Author SHA1 Message Date
Henrik Skupin
ceb7e1f033 Bug 1258385 - Improve failure messages for Wait().until() calls in Firefox Puppeteer. r=sydpolk, a=test-only
MozReview-Commit-ID: GCbVC1ZwUdf
2016-03-21 15:50:59 +01:00
Ryan VanderMeulen
f0b3db2d72 Bug 1238435 - Try to fix uplift bustage. a=test-only 2016-03-24 15:30:54 -04:00
James Graham
a2ca50bd08 Bug 1238435 - Use a slow-loading image in some tests that will load after a minute and a half rather than seven and a half weeks, r=Ms2ger, a=test-only
MozReview-Commit-ID: KQXGe8oqQoc
2016-03-17 23:45:46 +00:00
Mihai Tabara
70b7aa5902 Bug 1256063 - Add update bouncer aliases builder. r=rail a=release DONTBUILD
MozReview-Commit-ID: IdUXP3b2MOp
2016-03-24 14:43:34 +00:00
Brian Birtles
c35fbf252f Bug 1253507 - Disable Element.animate in Firefox 47; r=bz, r=pbro, a=ritu
MozReview-Commit-ID: CJm4SUEw832
2016-03-24 08:45:00 +09:00
Carsten "Tomcat" Book
8473310a06 Backed out changeset 77d83926c43d (bug 1253507) eslinter failures 2016-03-23 14:52:20 +01:00
Brian Birtles
c868ca91dc Bug 1253507 - Disable Element.animate in Firefox 47; r=bz, r=pbro, a=ritu
MozReview-Commit-ID: CJm4SUEw832
2016-03-17 13:07:41 +08:00
Jordan Lund
8f927de43c Bug 1258059 - generify dev configs and env for relpro by removing date strings and allow multiple products, CLOSED TREE DONTBUILD a=testing r=rail
stub installers with beta-dev, add staging beta single locale, r?rail

MozReview-Commit-ID: 6h1TtzVO1Jp
MozReview-Commit-ID: Gtf4cJKsAPu
2016-03-22 10:15:11 -07:00
Rail Aliiev
dd269151bd Bug 1258060 - tagging should not use DONTBUILD r=jlund a=release
MozReview-Commit-ID: AgyR3qV6Mmd
2016-03-18 23:05:57 -04:00
James Graham
f3fabc419e Bug 1215812 - Increase the internal timeout for a test that depends on a window opening. r=Ms2ger, a=test-only
MozReview-Commit-ID: HzNYyHiehbU
2016-03-08 16:24:00 +00:00
Ryan VanderMeulen
275d4a97bc Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite. r=ahal, a=test-only 2016-03-19 11:02:04 -04:00
William Chen
a3d8e5de7b Bug 1244816 - Create PushService mock for mochitests backed by a mock web socket. r=kitcambridge, a=test-only 2016-03-17 17:11:22 -07:00
Ryan VanderMeulen
b8c0b9f42b Bug 1255176 - Add more chunks to Android mochitest-gl. r=rail, a=test-only 2016-03-19 11:02:16 -04:00
Ryan VanderMeulen
577a7b1f20 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
Maja Frydrychowicz
b6a5321bc9 Bug 1253618 - Support |skip-if = asan| manifest annotations in Marionette runner. r=automatedtester, a=test-only
Obtain build info, including asan status, by looking up mozinfo.json.

MozReview-Commit-ID: 8XWMGtBEbKL
2016-03-14 11:24:58 -04:00
Maja Frydrychowicz
217d3a595b Bug 1253618 - Add support for |skip-if = e10s| manifest annotations in Marionette runner. r=automatedtester, a=test-only
MozReview-Commit-ID: ApTPQNa2R1c
2016-03-09 16:04:02 -05:00
Decky Coss
fca845441a Bug 1142212 - import skip_if_b2g from marionette instead of marionette.marionette_test; r=maja_zf a=test-only
MozReview-Commit-ID: D2mW2A8cViA
2016-03-11 15:35:44 -07:00
Andreas Tolfsen
252f57037b Bug 1257523 - Remove unused imports; r=automatedtester a=test-only
MozReview-Commit-ID: K12laAg8zLy
2016-03-17 14:29:41 +00:00
Andreas Tolfsen
7874aae1e0 Bug 1257523 - Remove GeckoDriver#deleteFile; r=automatedtester a=test-only
MozReview-Commit-ID: 7kOZ5hVC5He
2016-03-17 14:26:57 +00:00
Nathalie Rud
212c27828a Bug 1256973. Simplify assignment to result_callbacks; r=maja_zf a=test-only
MozReview-Commit-ID: GXkUNhpI6Wf
2016-03-16 00:10:49 +02:00
Andreas Tolfsen
3bb3727a05 Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester a=test-only
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
2016-03-16 12:27:36 +00:00
Nathalie Rud
24f983c263 Bug 1256978. Use self.capabilities instead of self._capabilities in BaseMarionetteTestRunner; r=maja_zf a=test-only
MozReview-Commit-ID: 9ZCOLKae6rt
2016-03-16 01:40:21 +02:00
Kim Brown
e0ea232b3a Bug 1130979 - Added ANON constant to By class and changed hard-coded values in test file; r=maja_zf a=test-only
MozReview-Commit-ID: AOsb6l9UpVR
2016-03-12 13:32:46 -05:00
Kim Brown
7b35bebe72 Bug 1130979 - Changed hard-coded values to constants from By; r=maja_zf a=test-only
MozReview-Commit-ID: IqVyYQSCT3J
2016-03-11 22:22:36 -05:00
Henrik Skupin
f662470775 Bug 1256439 - Run implicit wait callback once before start polling. r=automatedtester a=test-only
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
2016-03-15 14:38:32 +01:00
Andreas Tolfsen
b94edebe20 Bug 1254523 - Convert modal.Dialog to a class; r=automatedtester a=test-only
MozReview-Commit-ID: DmC472jSsdi
2016-03-08 14:10:32 +00:00
Andreas Tolfsen
15f1c9bf0b Bug 1254523 - Use constants for Cu and isFirefox; r=automatedtester a=test-only
MozReview-Commit-ID: IegkoO86uWP
2016-03-08 13:59:54 +00:00
Rail Aliiev
e2fd3d6599 Bug 1257499 - Fix patcher config mar-channel-ids r=nthomas a=release DONTBUILD
MozReview-Commit-ID: 1iV8GfiAmzq
2016-03-17 08:05:20 -04:00
Mike de Boer
b6b5962e27 Bug 1093153 - Introduce 'BrowserTestUtils#synthesizeKey', 'BrowserTestUtils#synthesizeComposition' and 'BrowserTestUtils#synthesizeCompositionChange' to allow mochitests to remotely invoke EventUtils' text composition utilities. Changes to EventUtils include 1) removed dependency on the 'navigator' object when 'nsIXULRuntime' is available and 2) make '_getKeyboardEvent' more robust when used in frame scripts. r=Enn, a=test-only 2016-03-15 11:09:31 +01:00
Rail Aliiev
0586788d95 Bug 1256329 - 46.0b1 tarball should use firefox-46.0b1 directory inside, not firefox-46.0 r=jlund a=release DONTBUILD
MozReview-Commit-ID: 7NzKfLVZ4Ry
2016-03-14 13:28:35 -04:00
Henrik Skupin
ed1d065319 Bug 1212811 - focused_chrome_window_handle() should wait until focus transition has been finished. r=maja_zf, a=test-only
MozReview-Commit-ID: JXKYAez1PNV

Lets make sure that we do not return a focused chrome window handle if a focus transition event is currently happening.
In such a case the chrome window handle would be `None`.
2016-03-07 12:45:33 +01:00
Rail Aliiev
c27601decc Bug 1253756 - Branch specifics for relpro on release r=jlund a=release DONTBUILD
MozReview-Commit-ID: Fva2LLVlsRV
2016-03-14 08:26:54 -04:00
Andrew Halberstadt
84d989f303 Bug 1245092 - Install reftest and specialpowers extensions at runtime via AddonManager.installTemporaryAddon, r=jgriffin, a=test-only
MozReview-Commit-ID: 5HSa3nFVTeF
2016-03-09 14:38:13 -05:00
Ryan VanderMeulen
753cad2b99 Bug 1255913 - Add more Android crashtest chunks. r=rail, a=test-only 2016-03-13 18:51:32 -04:00
Rail Aliiev
d8db7de393 Bug 1255811 - Some (all) locales for Firefox 46.0b1 are busted due to l10n merge issues r=jlund a=release DONTBUILD
MozReview-Commit-ID: 100GniUy5lT
2016-03-11 14:47:19 -05:00
Rail Aliiev
763aa8d8bc Bug 1255786 - Tag gecko when bump version r=jlund a=release DONTBUILD
MozReview-Commit-ID: I387bpl1UmD
2016-03-11 10:31:49 -05:00
Andreas Tolfsen
c3096ca6af Bug 1245064 - Run click tests with new interactability algorithm; r=automatedtester a=test-only
MozReview-Commit-ID: FR7yucKZ7XT
2016-03-04 18:04:16 +00:00
Andreas Tolfsen
c1cc443840 Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester a=test-only
MozReview-Commit-ID: GXLGqjKCfVA
2016-03-04 18:03:28 +00:00
Andreas Tolfsen
e262a84132 Bug 1245064 - Pass all capabilities to listener; r=automatedtester a=test-only
MozReview-Commit-ID: 2UgKKAUowM4
2016-03-04 18:02:56 +00:00
Andreas Tolfsen
b31f62a5fb Bug 1245064 - Lower specificationLevel to 0; r=automatedtester a=test-only
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
2016-03-04 18:00:17 +00:00
Andreas Tolfsen
6361b32637 Bug 1245064 - Implement element pointer-interactability; r=automatedtester a=test-only
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
2016-03-04 16:44:38 +00:00
Andreas Tolfsen
c1122531f4 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester a=test-only
MozReview-Commit-ID: LblRZz8KqPx
2016-03-03 13:58:13 +00:00
Andreas Tolfsen
c465d6b9cc Bug 1254521 - Add return type docs for element.inViewport; r=automatedtester a=test-only
MozReview-Commit-ID: Budv7EapTfo
2016-03-08 13:53:00 +00:00
Andreas Tolfsen
3b1bf39562 Bug 1254521 - Add return type docs for element.isVisible; r=automatedtester a=test-only
MozReview-Commit-ID: 9tjnHPmYSdq
2016-03-08 13:52:38 +00:00
Andreas Tolfsen
1762b9d9f9 Bug 1251763 - Reduce repetition in test_findelement.py; r=automatedtester a=test-only
MozReview-Commit-ID: utpbgMlajl
2016-03-08 16:44:41 +00:00
Andreas Tolfsen
dc947b53ac Bug 1251763 - Correct type check on singular returned elements; r=automatedtester a=test-only
The return values from the different element search functions in searchFn
have inconsistent return types, and a null check is usually not what
we want.  In order to have findElement consistently return a no such
element error, we need to do a loose false test.

This bug has affected the findElement command when using the tag
name, name, class name, link text, and partial link text selectors.
Other selectors were unaffected.

MozReview-Commit-ID: C26R3YrqKyf
2016-03-08 16:23:50 +00:00
Andreas Tolfsen
2f54071fcd Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester a=test-only
The xOffset and yOffset arguments to element.coordinates previously
checked loose falsiness.  If a number <= 0 would be given as an argument,
they would not be used and it would return the centre of the element.

This change adds more checks, documentation, and tests.

MozReview-Commit-ID: KmsiVFipzWx
2016-03-04 15:34:28 +00:00
Andreas Tolfsen
97d15f32fd Bug 1253244 - Use element.coordinates in action module; r=automatedtester a=test-only
MozReview-Commit-ID: 2FJJImg4NsI
2016-03-03 14:29:53 +00:00
Andreas Tolfsen
c564af508a Bug 1253244 - Use element.coordinates in listener; r=automatedtester a=test-only
MozReview-Commit-ID: 4sWZNXrenqZ
2016-03-03 14:28:40 +00:00
Andreas Tolfsen
ee48d43861 Bug 1253248 - Use element.Strategy enum consistently; r=automatedtester a=test-only
Removes the exported constants from testing/marionette/element.js and
introduces the migrates to using the element.Strategy enum consistently
throughout Marionette.

The supported strategies array passed into ElementManager's ctor has
also received some much needed attention and now actually works.

MozReview-Commit-ID: LPuDX0aishM
2016-03-04 12:01:09 +00:00