Closed Bug 1362737 Opened 8 years ago Closed 8 years ago

Intermittent test_click.py TestClick.test_clicking_on_a_multiline_link | NoSuchElementException: Unable to locate element: username

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

Tracking

(firefox54 fixed, firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox54 --- fixed
firefox55 --- fixed

People

(Reporter: aryx, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure)

+++ This bug was initially created as a clone of Bug #1357696 +++ Bug 1357696 got duped against bug 1357634 but that didn't fix the issue completely, see bug 1357634 comment 39. https://treeherder.mozilla.org/logviewer.html#?job_id=97025823&repo=mozilla-inbound 15:28:45 INFO - TEST-START | test_click.py TestClick.test_clicking_on_a_multiline_link 15:28:48 ERROR - TEST-UNEXPECTED-ERROR | test_click.py TestClick.test_clicking_on_a_multiline_link | NoSuchElementException: Unable to locate element: username 15:28:48 INFO - stacktrace: 15:28:48 INFO - WebDriverError@chrome://marionette/content/error.js:212:5 15:28:48 INFO - NoSuchElementError@chrome://marionette/content/error.js:413:5 15:28:48 INFO - element.find/</<@chrome://marionette/content/element.js:278:16 15:28:48 INFO - promise callback*element.find/<@chrome://marionette/content/element.js:264:5 15:28:48 INFO - element.find@chrome://marionette/content/element.js:254:10 15:28:48 INFO - findElementContent@chrome://marionette/content/listener.js:1318:18 15:28:48 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:319:42 15:28:48 INFO - TaskImpl@resource://gre/modules/Task.jsm:277:3 15:28:48 INFO - asyncFunction@resource://gre/modules/Task.jsm:252:14 15:28:48 INFO - Task_spawn@resource://gre/modules/Task.jsm:166:12 15:28:48 INFO - TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:389:16 15:28:48 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:327:15 15:28:48 INFO - TaskImpl@resource://gre/modules/Task.jsm:277:3 15:28:48 INFO - asyncFunction@resource://gre/modules/Task.jsm:252:14 15:28:48 INFO - Task_spawn@resource://gre/modules/Task.jsm:166:12 15:28:48 INFO - dispatch/<@chrome://marionette/content/listener.js:457:15 15:28:48 INFO - Traceback (most recent call last): 15:28:48 INFO - File "c:\slave\test\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 166, in run 15:28:48 INFO - testMethod() 15:28:48 INFO - File "c:\slave\test\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_click.py", line 112, in test_clicking_on_a_multiline_link 15:28:48 INFO - self.marionette.find_element(By.ID, "username") 15:28:48 INFO - File "c:\slave\test\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1938, in find_element 15:28:48 INFO - return self._send_message("findElement", body, key="value") 15:28:48 INFO - File "c:\slave\test\build\venv\lib\site-packages\marionette_driver\decorators.py", line 23, in _ 15:28:48 INFO - return func(*args, **kwargs) 15:28:48 INFO - File "c:\slave\test\build\venv\lib\site-packages\marionette_driver\marionette.py", line 735, in _send_message 15:28:48 INFO - self._handle_error(err) 15:28:48 INFO - File "c:\slave\test\build\venv\lib\site-packages\marionette_driver\marionette.py", line 768, in _handle_error 15:28:48 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace) 15:28:48 INFO - TEST-INFO took 2320ms
1494023327193 Marionette TRACE 386 -> [0,4,"clickElement",{"id":"2887fe08-0bcd-434d-8baa-0af2901dd4be"}] 1494023327620 Marionette DEBUG Received DOM event "beforeunload" for "http://127.0.0.1:49551/clicks.html" --DOCSHELL 0B61C800 == 4 [pid = 1064] [id = {7dc6f137-aecb-4a81-871a-808e7ae75efd}] --DOCSHELL 0B61C000 == 3 [pid = 1064] [id = {a1a61aec-d141-4661-9395-8522fd25cac6}] 1494023327833 Marionette DEBUG Canceled page load listener because no navigation has been detected So it needs the patch on bug 1361983.
Depends on: 1361983
No longer depends on: 1357634
Should now be fixed by my patch on bug 1361983.
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.