Closed
Bug 1242634
Opened 8 years ago
Closed 8 years ago
test_logout.py : ElementNotVisibleException: ElementNotVisibleException: Element is not currently visible and may not be manipulated
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: MaxIvanov, Assigned: mbryant)
Details
Attachments
(1 file, 1 obsolete file)
Description: Test case fails with "ElementNotVisibleException" Steps: 1. Update a flame device to 20160125030234 2. Run this test case http://lxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/bugzillalite/test_logout.py Actual result: "ElementNotVisibleException" Expected result: Test completes successfully. Repro Rate: Reproduced via Jenkins adhoc (0/5 passing) http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc.bitbar/414/HTML_Report/ Traceback (most recent call last): File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-2.0.0-py2.7.egg/marionette/marionette_test.py", line 344, in run testMethod() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/bugzillalite/test_logout.py", line 15, in test_logout_BugzillaLite bugzilla_lite.logout() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/bugzillalite/app.py", line 29, in logout profile_element.tap() File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.1.1-py2.7.egg/marionette_driver/marionette.py", line 84, in tap self.marionette._send_message("singleTap", body) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.1.1-py2.7.egg/marionette_driver/decorators.py", line 36, in _ return func(*args, **kwargs) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.1.1-py2.7.egg/marionette_driver/marionette.py", line 741, in _send_message self._handle_error(err) File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_driver-1.1.1-py2.7.egg/marionette_driver/marionette.py", line 802, in _handle_error raise errors.lookup(error)(message, stacktrace=stacktrace) ElementNotVisibleException: ElementNotVisibleException: Element is not currently visible and may not be manipulated
Comment 1•8 years ago
|
||
Michael, could you take a look at this failure, perhaps?
Assignee: nobody → mbryant
Comment 2•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8713886 -
Flags: review?(martijn.martijn)
Assignee | ||
Updated•8 years ago
|
Attachment #8713886 -
Flags: review?(jlorenzo)
Comment 3•8 years ago
|
||
Comment on attachment 8713886 [details] [review] [gaia] ubermarklar:1242634 > mozilla-b2g:master Thanks! Looks good, although perhaps the '>' selector part is a bit too strict for my liking, but I don't mind.
Attachment #8713886 -
Flags: review?(martijn.martijn) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8713886 [details] [review] [gaia] ubermarklar:1242634 > mozilla-b2g:master After looking at a the DOM, there are now many elements that matches `a[href='/profile/]`. So, Marionette picked the first one available, which turned out to be invisible. Then, the fix is correct. Like Martijn, I'd delete the ">", which makes the selector a bit too restrictive. Apart from that, everything is good!
Attachment #8713886 -
Flags: review?(jlorenzo) → review+
Comment 5•8 years ago
|
||
I realized this test has never gotten landed. Do you have any trouble merging the patch, Michael?
Flags: needinfo?(mbryant)
Comment 6•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(mbryant)
Attachment #8722524 -
Flags: review?(jlorenzo)
Comment 7•8 years ago
|
||
Comment on attachment 8722524 [details] [review] [gaia] ubermarklar:1242634 > mozilla-b2g:master Looks good to me. Do you have the rights to merge the PR yourself or do you want me to handle it?
Attachment #8722524 -
Flags: review?(jlorenzo) → review+
Updated•8 years ago
|
Attachment #8713886 -
Attachment is obsolete: true
Assignee | ||
Comment 8•8 years ago
|
||
I don't have the rights so if you want to handle it that'd be fine.
Comment 9•8 years ago
|
||
Fine by me! Landed in master at: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=37693720645f1ab14a4fc337278a0316ff38036d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•