Perma Tier2 [Tvw] /webdriver/tests/send_alert_text/send.py | test_alert_unsupported_operation - assert 404 == 500
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(firefox67 affected)
Tracking | Status | |
---|---|---|
firefox67 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell needswork:owner])
#[markdown(off)]
Filed by: nbeleuzu [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=228806777&repo=autoland
08:39:45 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_alert_element_not_interactable[confirm]
08:39:45 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/send_alert_text/send.py | test_alert_unsupported_operation - assert 404 == 500
08:39:45 INFO - session = <Session 228a4588-7100-4d41-a5c1-e3c0708dfb0b>
08:39:45 INFO -
08:39:45 INFO - def test_alert_unsupported_operation(session):
08:39:45 INFO - session.url = basic_authentication()
08:39:45 INFO -
08:39:45 INFO - response = send_alert_text(session, "Federer")
08:39:45 INFO - > assert_error(response, "unsupported operation")
08:39:45 INFO -
08:39:45 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
08:39:45 INFO - session = <Session 228a4588-7100-4d41-a5c1-e3c0708dfb0b>
08:39:45 INFO -
08:39:45 INFO - tests\web-platform\tests\webdriver\tests\send_alert_text\send.py:63:
08:39:45 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
08:39:45 INFO -
08:39:45 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
08:39:45 INFO - error_code = 'unsupported operation'
08:39:45 INFO -
08:39:45 INFO - def assert_error(response, error_code):
08:39:45 INFO - """
08:39:45 INFO - Verify that the provided webdriver.Response instance described
08:39:45 INFO - a valid error response as defined by `dfn-send-an-error` and
08:39:45 INFO - the provided error code.
08:39:45 INFO -
08:39:45 INFO - :param response: ``webdriver.Response`` instance.
08:39:45 INFO - :param error_code: String value of the expected error code
08:39:45 INFO - """
08:39:45 INFO - > assert response.status == errors[error_code]
08:39:45 INFO - E assert 404 == 500
08:39:45 INFO - E + where 404 = <Response status=404 error=<NoSuchAlertException http_status=404>>.status
08:39:45 INFO -
08:39:45 INFO - error_code = 'unsupported operation'
08:39:45 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
08:39:45 INFO -
08:39:45 INFO - tests\web-platform\tests\webdriver\tests\support\asserts.py:50: AssertionError
Comment hidden (Intermittent Failures Robot) |
Comment 2•5 years ago
|
||
Appeared when Bug 1502360 landed, Henrik, can you take a look?
Comment hidden (Intermittent Failures Robot) |
Comment 4•5 years ago
|
||
Basically the same as bug 1528463 but it fails when checking for the return value, and not for the failing page to load. Bug 1528463 should fix it.
Updated•5 years ago
|
Comment 6•1 year ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Description
•