Closed Bug 1057379 Opened 10 years ago Closed 10 years ago

Investigate Everythingme returns error when setting geolocation permissions

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1057273

People

(Reporter: Bebe, Unassigned)

Details

Our tests are failing to set permissions to geolocation  when running Everythingme tests


Tested the app manually and it works as expected

A error is returned:

Traceback (most recent call last):
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.2-py2.7.egg/marionette/marionette_test.py", line 153, in run
self.setUp()
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/tests/functional/everythingme/test_everythingme_launch_link.py", line 13, in setUp
self.apps.set_permission('Search', 'geolocation', 'deny')
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 50, in set_permission
(app_name, permission_name, value))
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.2-py2.7.egg/marionette/marionette.py", line 1247, in execute_async_script
filename=os.path.basename(frame[0]))
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.2-py2.7.egg/marionette/decorators.py", line 35, in _
return func(*args, **kwargs)
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.2-py2.7.egg/marionette/marionette.py", line 634, in _send_message
self._handle_error(response)
File "/var/jenkins/1/workspace/flame.mozilla-central.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.2-py2.7.egg/marionette/marionette.py", line 682, in _handle_error
raise errors.JavascriptException(message=message, status=status, stacktrace=stacktrace)
JavascriptException: JavascriptException: NS_ERROR_UNEXPECTED:
stacktrace:
execute_async_script @gaia_test.py, line 50
inline javascript, line 80
src: " mozPerms.set("


Gaia      afcdd36f13e75adcdebe57d842a277fd587faf28
Gecko     https://hg.mozilla.org/mozilla-central/rev/0b9dd32d1e16
BuildID   20140822040202
Version   34.0a1
ro.build.version.incremental=110
ro.build.date=Fri Jun 27 15:57:58 CST 2014
B1TC00011230
- "name": "Search",
- "description": "Search"
+ "name": "Browser2",
+ "description": "Gaia System Web Browser"


Jsmith Is this a valid change? Is this the new app name? Should we update our tests?
Flags: needinfo?(jsmith)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Will respond in the dupe.
Flags: needinfo?(jsmith)
You need to log in before you can comment on or make changes to this bug.