Closed Bug 1116870 Opened 9 years ago Closed 9 years ago

[2.1] search-id test fails

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file)

54 bytes, text/x-github-pull-request
atsai
: review+
Details | Review
On 2.1, the search-id test fails with this stack trace:

  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 738, in cli
    _run(args, logger)
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 671, in _run
    browser = m.find_element('css selector', 'iframe[src="app://browser.gaiamobile.org/index.html"]')
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 1193, in find_element
    response = self._send_message('findElement', 'value', **kwargs)
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/decorators.py", line 35, in _
    return func(*args, **kwargs)
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 613, in _send_message
    self._handle_error(response)
  File "/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/marionette_client-0.7.10-py2.7.egg/marionette/marionette.py", line 647, in _handle_error
    raise errors.NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: iframe[src="app://browser.gaiamobile.org/index.html"]

It looks like the browser's src field is likely different in 2.1.
the 2.1 browser is implemented quite differently; the gaiatest tests can be used to see the differences:  https://github.com/mozilla-b2g/gaia/tree/v2.1/tests/python/gaia-ui-tests/gaiatest/tests/functional/browser
Attached file github PR
Attachment #8543077 - Flags: review?(atsai)
Assignee: nobody → jgriffin
Fixed by https://github.com/mozilla-b2g/fxos-certsuite/commit/c116cf3f8fe7246f3c287d8b4a83639a1cded8d6.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8543077 [details] [review]
github PR

It's caused by moving browser into system app. r=me
Attachment #8543077 - Flags: review?(atsai) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: