Closed Bug 1013800 Opened 11 years ago Closed 11 years ago

Fix the locator of test_ftu_skip_tour.py

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: askeing, Assigned: askeing)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Bebe
: review+
RobertC
: review+
Details | Review
Buri Gaia c462d9183d294a2d8ecc472f593ea8cfa15bc9de Gecko https://hg.mozilla.org/mozilla-central/rev/9d8d16695f6a BuildID 20140520160203 Version 32.0a1 ro.build.version.incremental=324 ro.build.date=Thu Dec 19 14:04:55 CST 2013 Traceback (most recent call last): File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/ftu/test_ftu_skip_tour.py", line 42, in test_ftu_skip_tour self.ftu.enable_data() File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/ftu/app.py", line 98, in enable_data self.wait_for_element_displayed(*self._enable_data_checkbox_locator) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in wait_for_element_displayed lambda m: m.find_element(by, locator).is_displayed()) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: Traceback (most recent call last): File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 122, in until rv = condition(self.marionette) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in <lambda> lambda m: m.find_element(by, locator).is_displayed()) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 1204, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/decorators.py", line 35, in _ return func(*args, **kwargs) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 624, in _send_message self._handle_error(response) File "/var/lib/jenkins/jobs/B2G.master.pvt.hamachi.gaiatest/workspace/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette.py", line 655, in _handle_error raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace) TimeoutException: Timed out after 30.2 seconds, caused by <class 'marionette.errors.NoSuchElementException'>
Assignee: nobody → fyen
Attached file PR 19461
Attachment #8426067 - Flags: review?(zcampbell)
Attachment #8426067 - Flags: review?(florin.strugariu)
Comment on attachment 8426067 [details] [review] PR 19461 The new locator is good but the test still fails for other reason. I started an adhoc run which is failing and the test is also failing locally 100%. http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Master/job/b2g.hamachi.mozilla-central.ui.adhoc/408/console
Attachment #8426067 - Flags: review-
There is also another locator that needs to be updated, more info in the PR.
Comment on attachment 8426067 [details] [review] PR 19461 The test still fails but there is a issue in the build. The new locator is correct. We should open a new bug for the cell date issue But we should also fix the geolocation locator that also changed
Attachment #8426067 - Flags: review?(florin.strugariu) → review-
Attachment #8426067 - Flags: review?(zcampbell)
Depends on: 1013806
Depends on: 1013859
Updated the geolocation locator, but this test still be blocked by bug 1013806 and bug 1013859
Comment on attachment 8426067 [details] [review] PR 19461 The locator change looks OK This pull should bot be blocked by the bug. We can fix the locators and then Xfail this test
Attachment #8426067 - Flags: review?(robert.chira)
Attachment #8426067 - Flags: review?(florin.strugariu)
Attachment #8426067 - Flags: review-
Comment on attachment 8426067 [details] [review] PR 19461 r+
Attachment #8426067 - Flags: review?(robert.chira) → review+
Attachment #8426067 - Flags: review?(florin.strugariu) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: