Closed
Bug 1162404
Opened 10 years ago
Closed 8 years ago
[v2.2][Gaia::UI Tests]The tap_menu() in Email app.py:"NoSuchElementException: NoSuchElementException: Unable to locate element: #cardContainer .card.center .fld-nav-toolbar"
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v2.2 affected)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | affected |
People
(Reporter: liuke, Unassigned)
References
Details
Attachments
(1 file)
1.14 KB,
text/x-python
|
Details |
[Description]
The tap_menu() in Email app.py fails.
[Steps to Reproduce]
Run the tap_menu() in Email app.py
[Expected Results]
Device should enter the Menu page.
[Actual Results]
Device can't pop up the Menu page, because there is some problem with the value of "_menu_button_locator".
[Reproduction Frequency]
Always, 5/5
Traceback (most recent call last):
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-
py2.7.egg/marionette/marionette_test.py", line 268, in run
testMethod()
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/test_tap-menu.py", line 31, in test_tap_menu
toolbar = self.email.header.tap_menu()
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 214, in tap_menu
Wait(self.marionette).until(lambda m: toolbar.is_visible)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/wait.py", line
122, in until
rv = condition(self.marionette)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 214, in <lambda>
Wait(self.marionette).until(lambda m: toolbar.is_visible)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 277, in is_visible
return self.marionette.find_element(*self._toolbar_locator).location['x'] == 0
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/marionette.py",
line 1369, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/decorators.py",
line 36, in _
return func(*args, **kwargs)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/marionette.py",
line 634, in _send_message
self._handle_error(response)
File "/home/rose/worksapce/gaia/tests/python/gaia-ui-tests/0506/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g37_v2_2-0.1-py2.7.egg/marionette/marionette.py",
line 673, in _handle_error
raise errors.NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: #cardContainer .card.center .fld-nav-toolbar
[Build info]
Build ID 20150506002501
Gaia Revision 772a9491909abd02dc67278dd453746e2dd358a8
Gaia Date 2015-05-05 02:02:24
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/3af6a0a79227
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150506.040209
Firmware Date Wed May 6 04:02:20 EDT 2015
Bootloader L1TC000118D0
[Note]
Issue DOES NOT REPRODUCE manually - 5/5 passing. If you change the "_menu_button_locator = (By.CSS_SELECTOR, '.card.center .msg-folder-list-btn')" to "_menu_button_locator =
(By.CSS_SELECTOR, '#cardContainer .card.center .msg-folder-list-btn')", the device displays the Menu page successfully.
Reporter | ||
Updated•10 years ago
|
status-b2g-v2.2:
--- → affected
Comment 1•10 years ago
|
||
In which test is the tap_menu() in Email app.py being used? I can't seem to find it.
If it isn't used in any test, it might be better to just removed it completely.
Comment 3•10 years ago
|
||
Hi Martijn,
The attachment is a test script from Lance. He would like to create a test script. It is not a test script in Smoketests/Non-Smokestest. Thanks!
Flags: needinfo?(edchen)
Comment 4•10 years ago
|
||
Oh, ok. I think it would make sense to make a non-smoke test out of.
Comment 5•10 years ago
|
||
I don't think we should file bugs on tests that are not checked into the Gaia repository, fwiw. It's confusing.
I'm fine with actually checking those tests actually in the Gaia repository, which would make this a valid bug then.
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•