Closed
Bug 1665801
Opened 4 years ago
Closed 4 years ago
Intermittent /webdriver/tests/element_click/click.py | test_no_browsing_context - AssertionError: assert 'no such element' == 'no such window'
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1665250
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: assertion, intermittent-failure)
Filed by: michael [at] masterwayz.nl
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=316001425&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/L3Jf7FdQTOCnzydz5E47Lw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/element_click/click.py | test_no_browsing_context - AssertionError: assert 'no such element' == 'no such window'
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO - session = <Session 386f208d-e111-40e6-ae6d-6a08804d42ea>, closed_frame = None
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO - def test_no_browsing_context(session, closed_frame):
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO - element = Element("foo", session)
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.336Z] 23:04:03 INFO - response = element_click(session, element)
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - > assert_error(response, "no such window")
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - closed_frame = None
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - element = <Element foo>
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - response = <Response status=404 error=<NoSuchElementException http_status=404>>
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - session = <Session 386f208d-e111-40e6-ae6d-6a08804d42ea>
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - tests/web-platform/tests/webdriver/tests/element_click/click.py:34:
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.337Z] 23:04:03 INFO - response = <Response status=404 error=<NoSuchElementException http_status=404>>
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - error_code = 'no such window'
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - def assert_error(response, error_code):
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - """
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - Verify that the provided webdriver.Response instance described
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - a valid error response as defined by `dfn-send-an-error` and
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO - the provided error code.
[task 2020-09-17T23:04:03.338Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - :param response: ``webdriver.Response`` instance.
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - :param error_code: String value of the expected error code
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - """
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - assert response.status == errors[error_code]
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - assert "value" in response.body
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - > assert response.body["value"]["error"] == error_code
[task 2020-09-17T23:04:03.339Z] 23:04:03 INFO - E AssertionError: assert 'no such element' == 'no such window'
[task 2020-09-17T23:04:03.340Z] 23:04:03 INFO - E - no such element
[task 2020-09-17T23:04:03.340Z] 23:04:03 INFO - E + no such window
[task 2020-09-17T23:04:03.340Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.341Z] 23:04:03 INFO - error_code = 'no such window'
[task 2020-09-17T23:04:03.341Z] 23:04:03 INFO - response = <Response status=404 error=<NoSuchElementException http_status=404>>
[task 2020-09-17T23:04:03.341Z] 23:04:03 INFO -
[task 2020-09-17T23:04:03.342Z] 23:04:03 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:54: AssertionError```
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Comment hidden (Intermittent Failures Robot) |
Comment 3•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•