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

1022 Коммитов

Автор SHA1 Сообщение Дата
Chris Manchester 404954e87a Bug 1114793 - Rename marionette's chrome_window_handle to current_chrome_window_handle.;r=automatedtester 2015-01-08 19:13:30 -05:00
Chris Manchester 602c67cbee Bug 1114623 - Implement closeChromeWindow endpoint for marionette.;r=automatedtester
--HG--
rename : testing/marionette/client/marionette/www/newTab.html => testing/marionette/client/marionette/www/windowHandles.html
2015-01-08 19:13:30 -05:00
Chris Manchester a70eb22433 Bug 755036 - Re-use the execution sandbox in marionette's executeScript and executeAsyncScript in chrome scope when requested. r=jgriffin 2015-01-07 14:52:07 -05:00
Abhilash Panigrahi 70996c375b Bug 1099094 - Documentation added for session_id arguement in start_session method. r=dburns 2015-01-05 07:05:00 -05:00
Yura Zenevich 9691f0cf93 Bug 1112320 - adding accessibility checks for isElementEnabled. r=dburns
---
 .../marionette/tests/unit/test_accessibility.py     | 13 +++++++++++++
 .../client/marionette/www/test_accessibility.html   |  3 +++
 testing/marionette/marionette-elements.js           | 13 +++++++++++++
 testing/marionette/marionette-listener.js           | 21 ++++++++++++++++++++-
 4 files changed, 49 insertions(+), 1 deletion(-)
2014-12-22 16:16:59 -05:00
Yura Zenevich 324a4c1410 Bug 1111815 - adding accessibility checks for isElementDisplayed. r=dburns
---
 .../marionette/tests/unit/test_accessibility.py       | 19 +++++++++++++++++++
 .../client/marionette/www/test_accessibility.html     |  1 +
 testing/marionette/marionette-listener.js             |  4 +++-
 3 files changed, 23 insertions(+), 1 deletion(-)
2014-12-22 16:16:37 -05:00
Yura Zenevich a0d80c56ab Bug 1111779 - adding accessibility checks for clickElement. r=dburns
---
 .../marionette/tests/unit/test_accessibility.py    | 27 ++++++++++++++++++++--
 testing/marionette/marionette-listener.js          |  6 ++++-
 2 files changed, 30 insertions(+), 3 deletions(-)
2014-12-22 16:15:50 -05:00
Yura Zenevich d7235f8ea9 Bug 1109282 - adding accessibility checks for singleTap. r=dburns
---
 testing/marionette/client/marionette/__init__.py   |   1 +
 testing/marionette/client/marionette/errors.py     |   4 +
 testing/marionette/client/marionette/marionette.py |   2 +
 .../marionette/tests/unit/test_accessibility.py    |  86 ++++++++++++++
 .../client/marionette/tests/unit/unit-tests.ini    |   2 +
 .../client/marionette/www/test_accessibility.html  |  38 ++++++
 testing/marionette/marionette-elements.js          | 131 +++++++++++++++++++++
 testing/marionette/marionette-listener.js          |  54 ++++++++-
 testing/marionette/marionette-server.js            |   7 +-
 9 files changed, 320 insertions(+), 5 deletions(-)
 create mode 100644 testing/marionette/client/marionette/tests/unit/test_accessibility.py
 create mode 100644 testing/marionette/client/marionette/www/test_accessibility.html
2014-12-22 16:15:19 -05:00
Julien Pagès ae85f164f2 Bug 1065406 - [mozlog] Split test class and name for XUnit formatter. r=jgraham 2014-12-16 16:02:00 +01:00
Chris Manchester 576352c346 Bug 1100124 - Add --jsdebugger to run marionette under the jsdebugger.;r=ato 2014-12-18 12:52:17 -05:00
Ryan VanderMeulen 25783fb2c3 Backed out changeset eb6428c5e590 (bug 1109282) for webplatform test failures. 2014-12-18 11:18:18 -05:00
Yura Zenevich cd9abe9d0a Bug 1109282 - adding a accessibility checks for singleTap. r=dburns
---
 testing/marionette/client/marionette/__init__.py   |   1 +
 testing/marionette/client/marionette/errors.py     |   4 +
 testing/marionette/client/marionette/marionette.py |   2 +
 .../marionette/tests/unit/test_accessibility.py    |  86 +++++++++++++++
 .../client/marionette/tests/unit/unit-tests.ini    |   2 +
 .../client/marionette/www/test_accessibility.html  |  38 +++++++
 testing/marionette/marionette-elements.js          | 122 +++++++++++++++++++++
 testing/marionette/marionette-listener.js          |  54 ++++++++-
 testing/marionette/marionette-server.js            |   7 +-
 9 files changed, 311 insertions(+), 5 deletions(-)
 create mode 100644 testing/marionette/client/marionette/tests/unit/test_accessibility.py
 create mode 100644 testing/marionette/client/marionette/www/test_accessibility.html
2014-12-18 10:31:55 -05:00
Dave Hunt 87e6fa3cd6 Bug 1112545 - Bump marionette_client version to 0.8.6. r=mdas 2014-12-17 03:24:00 -05:00
Andreas Tolfsen c9ce6ce96f Bug 1111268 - Fix redefinition of caps in setSessionCapabilities. r=dburns
The variable caps is redefined in the second for loop because it's defined
in the function scope using the var declaration statement instead of
let for the current scope.

This patch also addresses the duplication of the code to copy the current
set of capabilities.

--HG--
extra : rebase_source : 9b3f9c8e05abaa0fa7ce6662be188cf22e13dd12
2014-12-13 22:22:47 +00:00
Andreas Tolfsen c5649f3669 Bug 1111264 - Simplify check for disabled in isElementEnabled. r=dburns
--HG--
extra : rebase_source : fe2bc8371b8ee5ce04f8778f3f10f9034ba55b23
2014-12-13 20:44:42 +00:00
Andreas Tolfsen 9450d2d73e Bug 1111260 - Fix references to nsITimer.TYPE_ONE_SHOT. r=dburns
--HG--
extra : rebase_source : 0584712fbfac73cd943679852578f67ccf479145
2014-12-13 20:15:46 +00:00
Andreas Tolfsen 82badd06bc Bug 1111246 - Add error message in Marionette client on malformed packet. r=dburns
--HG--
extra : rebase_source : ea764e49a6508ed33b6401f21b3bb9d182ab268e
2014-12-13 19:57:09 +00:00
Dave Hunt f2eb08851e Bug 1101497 - Support connecting to a remote ADB host. r=mdas 2014-12-11 09:44:00 -05:00
Dave Hunt 678d7a5647 Bug 1110763 - Raise an exception in the Marionette test runner if no tests are selected. r=jgriffin 2014-12-12 09:48:00 -05:00
Wes Kocher e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Chris Manchester a641e6246c Bug 1099331 - Allow navigation resulting in about:blocked or about:error pages when explicitly requested without returning an error from the marionette server.;r=automatedtester
This allows navigation resulting in a blocked or error page without returning an error to the client. If an error page is reached, an error is returned in cases this was not specifically requested in the client: client.navigate("about:neterror") will navigate to this page and return to the client without an error, but client.navigate("does.not.exist.") will return to the client with an error as it has previously.
2014-12-12 12:08:32 -05:00
Chris Manchester c3c9e22175 Bug 941749 - Add support for returning both known tabs and chrome windows from the marionette server.;r=automatedtester
This splits the api for getWindowHandles and getChromeWindowHandles for those
managing windows and tabs separately in tests. getWindowHandles is
re-implemented to return tabs when appropriate, and getChromeWindowHandles is
added to correspond to individual os windows (the prior behavior of
getWindowHandles). current_window_handle now corresponds to a tab on desktop,
while chrome_window_handle is provided for the current OS window.
switch_to_window will accept either a chrome window handle or tab handle.
In the case of a tab, switching will select the tab. In the
case of a chrome window handle, the prior behavior is retained.
2014-12-12 12:08:31 -05:00
Chris Manchester bb8ca43969 Bug 941749 - A test managing open windows and tabs with marionette.;r=automatedtester 2014-12-12 12:08:31 -05:00
Morris Tseng 7bb01f8155 Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 -05:00
Dave Hunt 99e6f635a9 Bug 1104271 - Provide a logger for Marionette test cases. r=mdas 2014-12-09 07:28:00 -05:00
Chris Manchester a1078024c4 Bug 1108714 - Make marionette's skip_if_b2g run desktop tests. r=mdas 2014-12-09 14:20:40 -05:00
Ryan VanderMeulen 9dc33bae19 Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Ryan VanderMeulen b2a40f89be Backed out changeset d4dfb076f5f1 (bug 1108714) because something in the push made Gij(2) permafail. 2014-12-09 12:08:45 -05:00
Chris Manchester 2f3509ec3d Bug 1108714 - Make marionette's skip_if_b2g run desktop tests. r=mdas 2014-12-08 17:21:59 -05:00
Morris Tseng c563ff4503 Bug 1092888 - Part 5: Add a parameter to toggle context menu when calling long_press. r=mdas 2014-11-16 18:52:00 +01:00
David Burns ceb88421cf Bug 1107915: Allow switching to Browser elements from Marionette; r=mdas
--HG--
extra : rebase_source : 88739c49fd635ee701af0490fab8d62be0d15d7e
2014-12-05 15:33:21 +00:00
David Burns 5dd8500c1d Bug 940954: Allow marionette to restart the browser and create a new session
This gives us the ability to restart a session from the client side, say for testing Firefox updates,
and then carry on the test. To do this it is just self.marionette.restart()

--HG--
extra : rebase_source : 536b85e5e82e12eb7710135945217dfe707e5b5d
2014-12-03 22:08:04 +00:00
Andrew Halberstadt 277bba36b7 Bug 1104742 - Marionette runner should cleanup marionette objects when gc'ed, r=AutomatedTester
--HG--
extra : rebase_source : 8a869167794d3bb439d167f4d29ceb8c820a5ebf
2014-12-04 10:17:12 -08:00
Malini Das ab425be28a Bug 1105748 - Fix Mn failure on emulator/device, r=dburns 2014-12-04 10:02:32 -08:00
Carsten "Tomcat" Book 13bd1becaf Merge mozilla-central to b2g-inbound 2014-12-03 13:45:36 +01:00
Phil Ringnalda 4eaf476a52 Back out 1b87e7511983 (bug 940954) on suspicion of causing b2g desktop Mac sqlite troubles
CLOSED TREE
2014-12-02 18:40:15 -08:00
Alexandre Lissy a20477472a Bug 1100345 - Make Mulet appear as B2G for Marionette r=jgriffin
When running Gaia Marionette integration tests, we need to talk to Mulet
like if it was a B2G device. We define the "b2g.is_mulet" pref for this
purpose.
2014-11-27 03:07:00 +01:00
Andrew Halberstadt 4a745facf7 Bug 1104941 - Bump marionette-client to 0.8.5, r=AutomatedTester
--HG--
extra : rebase_source : f6435707a5808e9119cca7bbe3ad5a8d40585b0f
2014-12-02 14:40:14 -08:00
David Burns 88fec34715 Bug 940954: Allow marionette to restart the browser and create a new session
This gives us the ability to restart a session from the client side, say for testing Firefox updates,
and then carry on the test. To do this it is just self.marionette.restart()

--HG--
extra : rebase_source : 95d0c6d4fcd30865ff7cbbf97de0e5ca09b3eaab
2014-11-26 00:33:53 +00:00
Rob Wood 1794005775 Backed out changeset 5671737e4f24 (bug 984508) because of intermittent failures 2014-11-28 11:21:43 -05:00
Rob Wood 2b4500c9e7 Backed out changeset b93c92150721 (bug 984508) because of intermittent failures 2014-11-28 11:21:21 -05:00
Chris Manchester b29e662209 Bug 1105082 - Send the correct error when attempting to navigate with marionette in chrome scope.;r=ato 2014-11-26 16:25:55 -05:00
Dave Hunt 0d8fb4da63 Bug 1097032 - Add test for expected.elements_present when there are no elements found. r=atolfsen 2014-11-25 15:20:00 -05:00
Dave Hunt df58a9adcb Bug 1015242 - Provide a combined expected condition for element present and displayed. r=atolfsen
CLOSED TREE
2014-11-26 04:19:00 -05:00
Morris Tseng c1af02f12b Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Andrew Halberstadt e2f5e08b80 Bug 1088666 - Re-organize marionette client's documentation into basic, advanced and api reference sections, r=AutomatedTester, DONTBUILD because NPOTB
--HG--
extra : rebase_source : 4dc97864c6944d1b102ab7ab98287b480fe51ad7
2014-11-24 09:49:42 -05:00
Dave Hunt ac952c506b Bug 1103956 - Remove explicit type checking from Wait class. r=atolfsen 2014-11-24 05:44:00 +01:00
Wes Kocher caad126bc8 Bug 1104301 - Re-disable this test on linux after an accidental reenabling. r=me 2014-11-24 16:23:51 -08:00
Rob Wood 4ff411c28d Bug 984508 - Marionette should monitor listeners to ensure they're still alive; r=mdas 2014-10-14 18:46:34 -04:00
Chris Manchester 6449086f53 Bug 1103071 - Modify test_switch_remote_frame for compatibility with e10s. r=jgriffin 2014-11-21 14:26:48 -05:00