Closed
Bug 1818893
Opened 2 years ago
Closed 1 year ago
Intermittent /webdriver/tests/send_alert_text/send.py | test_alert_element_not_interactable[alert] - assert 404 == 400
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=406930181&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Zi0i3WMTSCGmYVWb7-xLqA/runs/0/artifacts/public/logs/live_backing.log
[task 2023-02-25T13:46:20.736Z] 13:46:20 INFO - STDOUT: PASSED
[task 2023-02-25T13:46:20.736Z] 13:46:20 INFO - PID 4900 | 1677332780736 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/alert/dismiss {}
[task 2023-02-25T13:46:20.749Z] 13:46:20 INFO - PID 4900 | 1677332780748 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.750Z] 13:46:20 INFO - PID 4900 | 1677332780749 webdriver::server DEBUG -> DELETE /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window
[task 2023-02-25T13:46:20.819Z] 13:46:20 INFO - PID 4900 | 1677332780818 webdriver::server DEBUG <- 200 OK {"value":["69fc40d5-91ad-4e9d-a41b-311e73765de9"]}
[task 2023-02-25T13:46:20.820Z] 13:46:20 INFO - PID 4900 | 1677332780819 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window {"handle": "69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.829Z] 13:46:20 INFO - PID 4900 | 1677332780828 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.830Z] 13:46:20 INFO - PID 4900 | 1677332780829 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/timeouts {"implicit": 0}
[task 2023-02-25T13:46:20.843Z] 13:46:20 INFO - PID 4900 | 1677332780842 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.844Z] 13:46:20 INFO - PID 4900 | 1677332780843 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/timeouts {"pageLoad": 300000}
[task 2023-02-25T13:46:20.850Z] 13:46:20 INFO - PID 4900 | 1677332780849 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.851Z] 13:46:20 INFO - PID 4900 | 1677332780850 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/timeouts {"script": 30000}
[task 2023-02-25T13:46:20.859Z] 13:46:20 INFO - PID 4900 | 1677332780858 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.859Z] 13:46:20 INFO - PID 4900 | 1677332780859 webdriver::server DEBUG -> GET /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window
[task 2023-02-25T13:46:20.868Z] 13:46:20 INFO - PID 4900 | 1677332780867 webdriver::server DEBUG <- 200 OK {"value":"69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.869Z] 13:46:20 INFO - PID 4900 | 1677332780868 webdriver::server DEBUG -> GET /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window
[task 2023-02-25T13:46:20.880Z] 13:46:20 INFO - PID 4900 | 1677332780879 webdriver::server DEBUG <- 200 OK {"value":"69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.881Z] 13:46:20 INFO - PID 4900 | 1677332780880 webdriver::server DEBUG -> GET /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window/handles
[task 2023-02-25T13:46:20.887Z] 13:46:20 INFO - PID 4900 | 1677332780886 webdriver::server DEBUG <- 200 OK {"value":["69fc40d5-91ad-4e9d-a41b-311e73765de9"]}
[task 2023-02-25T13:46:20.888Z] 13:46:20 INFO - PID 4900 | 1677332780887 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window {"handle": "69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.895Z] 13:46:20 INFO - PID 4900 | 1677332780894 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.896Z] 13:46:20 INFO - PID 4900 | 1677332780895 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/alert/dismiss {}
[task 2023-02-25T13:46:20.903Z] 13:46:20 INFO - PID 4900 | 1677332780902 webdriver::server DEBUG <- 404 Not Found {"value":{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/Remo ... ontent/marionette/server.sys.mjs:250:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:496:20\n"}}
[task 2023-02-25T13:46:20.903Z] 13:46:20 INFO - PID 4900 | 1677332780903 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window {"handle": "69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.910Z] 13:46:20 INFO - PID 4900 | 1677332780909 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.911Z] 13:46:20 INFO - PID 4900 | 1677332780910 webdriver::server DEBUG -> GET /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window
[task 2023-02-25T13:46:20.917Z] 13:46:20 INFO - PID 4900 | 1677332780916 webdriver::server DEBUG <- 200 OK {"value":"69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.918Z] 13:46:20 INFO - PID 4900 | 1677332780917 webdriver::server DEBUG -> GET /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window/handles
[task 2023-02-25T13:46:20.925Z] 13:46:20 INFO - PID 4900 | 1677332780924 webdriver::server DEBUG <- 200 OK {"value":["69fc40d5-91ad-4e9d-a41b-311e73765de9"]}
[task 2023-02-25T13:46:20.926Z] 13:46:20 INFO - PID 4900 | 1677332780925 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/window {"handle": "69fc40d5-91ad-4e9d-a41b-311e73765de9"}
[task 2023-02-25T13:46:20.932Z] 13:46:20 INFO - PID 4900 | 1677332780932 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.933Z] 13:46:20 INFO - PID 4900 | 1677332780932 webdriver::server DEBUG -> POST /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e/frame {"id": null}
[task 2023-02-25T13:46:20.944Z] 13:46:20 INFO - PID 4900 | 1677332780943 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:20.948Z] 13:46:20 INFO - PID 4900 | 1677332780947 webdriver::server DEBUG -> DELETE /session/4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e
[task 2023-02-25T13:46:20.992Z] 13:46:20 INFO - PID 4900 | 1677332780991 webdriver::server DEBUG Teardown session
[task 2023-02-25T13:46:20.992Z] 13:46:20 INFO - PID 4900 | 1677332780991 geckodriver::android DEBUG Force stopping the Android package: org.mozilla.geckoview.test_runner
[task 2023-02-25T13:46:20.993Z] 13:46:20 INFO - PID 4900 | 1677332780991 mozdevice DEBUG Force stopping Android package: org.mozilla.geckoview.test_runner
[task 2023-02-25T13:46:20.993Z] 13:46:20 INFO - PID 4900 | 1677332780991 mozdevice TRACE execute_host_command: >> "host:transport:emulator-5554"
[task 2023-02-25T13:46:20.994Z] 13:46:20 INFO - PID 4900 | 1677332780991 mozdevice TRACE execute_host_command: << []
[task 2023-02-25T13:46:20.994Z] 13:46:20 INFO - PID 4900 | 1677332780991 mozdevice TRACE execute_host_command: >> "shell:am force-stop org.mozilla.geckoview.test_runner"
[task 2023-02-25T13:46:21.226Z] 13:46:21 INFO - PID 4900 | 1677332781224 mozdevice TRACE execute_host_command: << ""
[task 2023-02-25T13:46:21.227Z] 13:46:21 INFO - PID 4900 | 1677332781225 mozdevice TRACE execute_host_command: >> "host:transport:emulator-5554"
[task 2023-02-25T13:46:21.227Z] 13:46:21 INFO - PID 4900 | 1677332781225 mozdevice TRACE execute_host_command: << []
[task 2023-02-25T13:46:21.227Z] 13:46:21 INFO - PID 4900 | 1677332781225 mozdevice TRACE execute_host_command: >> "shell:am clear-debug-app org.mozilla.geckoview.test_runner"
[task 2023-02-25T13:46:21.455Z] 13:46:21 INFO - PID 4900 | 1677332781454 mozdevice TRACE execute_host_command: << ""
[task 2023-02-25T13:46:21.455Z] 13:46:21 INFO - PID 4900 | 1677332781454 geckodriver::android DEBUG Disabled reading from configuration file
[task 2023-02-25T13:46:21.456Z] 13:46:21 INFO - PID 4900 | 1677332781454 mozdevice DEBUG Deleting /data/local/tmp/org.mozilla.geckoview.test_runner-geckoview-config.yaml
[task 2023-02-25T13:46:21.456Z] 13:46:21 INFO - PID 4900 | 1677332781454 mozdevice TRACE execute_host_command: >> "host:transport:emulator-5554"
[task 2023-02-25T13:46:21.456Z] 13:46:21 INFO - PID 4900 | 1677332781454 mozdevice TRACE execute_host_command: << []
[task 2023-02-25T13:46:21.457Z] 13:46:21 INFO - PID 4900 | 1677332781454 mozdevice TRACE execute_host_command: >> "shell:rm -rf /data/local/tmp/org.mozilla.geckoview.test_runner-geckoview-config.yaml"
[task 2023-02-25T13:46:21.465Z] 13:46:21 INFO - PID 4900 | 1677332781464 mozdevice TRACE execute_host_command: << ""
[task 2023-02-25T13:46:21.465Z] 13:46:21 INFO - PID 4900 | 1677332781464 geckodriver::android DEBUG Deleted GeckoView configuration file
[task 2023-02-25T13:46:21.466Z] 13:46:21 INFO - PID 4900 | 1677332781464 mozdevice DEBUG Deleting /sdcard/Android/data/org.mozilla.geckoview.test_runner/files/test_root
[task 2023-02-25T13:46:21.466Z] 13:46:21 INFO - PID 4900 | 1677332781464 mozdevice TRACE execute_host_command: >> "host:transport:emulator-5554"
[task 2023-02-25T13:46:21.467Z] 13:46:21 INFO - PID 4900 | 1677332781464 mozdevice TRACE execute_host_command: << []
[task 2023-02-25T13:46:21.467Z] 13:46:21 INFO - PID 4900 | 1677332781464 mozdevice TRACE execute_host_command: >> "shell:rm -rf /sdcard/Android/data/org.mozilla.geckoview.test_runner/files/test_root"
[task 2023-02-25T13:46:21.583Z] 13:46:21 INFO - PID 4900 | 1677332781583 mozdevice TRACE execute_host_command: << ""
[task 2023-02-25T13:46:21.584Z] 13:46:21 INFO - PID 4900 | 1677332781583 geckodriver::android DEBUG Deleted test root folder: /sdcard/Android/data/org.mozilla.geckoview.test_runner/files/test_root
[task 2023-02-25T13:46:21.584Z] 13:46:21 INFO - PID 4900 | 1677332781583 mozdevice TRACE execute_host_command: >> "host:transport:emulator-5554"
[task 2023-02-25T13:46:21.585Z] 13:46:21 INFO - PID 4900 | 1677332781583 mozdevice TRACE execute_host_command: << []
[task 2023-02-25T13:46:21.585Z] 13:46:21 INFO - PID 4900 | 1677332781583 mozdevice TRACE execute_host_command: >> "host-serial:emulator-5554:killforward:tcp:33146"
[task 2023-02-25T13:46:21.586Z] 13:46:21 INFO - PID 4900 | 1677332781583 mozdevice TRACE execute_host_command: << ""
[task 2023-02-25T13:46:21.586Z] 13:46:21 INFO - PID 4900 | 1677332781583 geckodriver::android DEBUG Marionette port forward (33146 -> 2829) stopped
[task 2023-02-25T13:46:21.587Z] 13:46:21 INFO - PID 4900 | 1677332781583 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2023-02-25T13:46:21.587Z] 13:46:21 INFO - STDOUT: =================================== FAILURES ===================================
[task 2023-02-25T13:46:21.588Z] 13:46:21 INFO - STDOUT: __________________ test_alert_element_not_interactable[alert] __________________
[task 2023-02-25T13:46:21.589Z] 13:46:21 INFO - STDOUT: session = <Session 4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e>
[task 2023-02-25T13:46:21.589Z] 13:46:21 INFO - STDOUT: inline = <function inline.<locals>.inline at 0x7fdfb92a5378>
[task 2023-02-25T13:46:21.590Z] 13:46:21 INFO - STDOUT: dialog_type = 'alert'
[task 2023-02-25T13:46:21.590Z] 13:46:21 INFO - STDOUT: @pytest.mark.parametrize("dialog_type", ["alert", "confirm"])
[task 2023-02-25T13:46:21.591Z] 13:46:21 INFO - STDOUT: def test_alert_element_not_interactable(session, inline, dialog_type):
[task 2023-02-25T13:46:21.592Z] 13:46:21 INFO - STDOUT: session.url = inline("<script>window.{}('Hello');</script>".format(dialog_type))
[task 2023-02-25T13:46:21.592Z] 13:46:21 INFO - STDOUT:
[task 2023-02-25T13:46:21.592Z] 13:46:21 INFO - STDOUT: response = send_alert_text(session, "Federer")
[task 2023-02-25T13:46:21.593Z] 13:46:21 INFO - STDOUT: > assert_error(response, "element not interactable")
[task 2023-02-25T13:46:21.593Z] 13:46:21 INFO - STDOUT: dialog_type = 'alert'
[task 2023-02-25T13:46:21.594Z] 13:46:21 INFO - STDOUT: inline = <function inline.<locals>.inline at 0x7fdfb92a5378>
[task 2023-02-25T13:46:21.594Z] 13:46:21 INFO - STDOUT: response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.595Z] 13:46:21 INFO - STDOUT: session = <Session 4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e>
[task 2023-02-25T13:46:21.595Z] 13:46:21 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/send_alert_text/send.py
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_null_parameter_value
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_null_response_value
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_invalid_input[None]
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_invalid_input[text1]
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_invalid_input[text2]
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_invalid_input[42]
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_invalid_input[True]
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_no_top_browsing_context
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_no_browsing_context
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_no_user_prompt
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/send_alert_text/send.py | test_alert_element_not_interactable[alert] - assert 404 == 400
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - session = <Session 4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e>
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - inline = <function inline.<locals>.inline at 0x7fdfb92a5378>
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - dialog_type = 'alert'
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - @pytest.mark.parametrize("dialog_type", ["alert", "confirm"])
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - def test_alert_element_not_interactable(session, inline, dialog_type):
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - session.url = inline("<script>window.{}('Hello');</script>".format(dialog_type))
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - response = send_alert_text(session, "Federer")
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - > assert_error(response, "element not interactable")
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - dialog_type = 'alert'
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - inline = <function inline.<locals>.inline at 0x7fdfb92a5378>
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - session = <Session 4ebb4ef4-432c-41d5-9ad3-bb3323d15c1e>
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.600Z] 13:46:21 INFO - tests/web-platform/tests/webdriver/tests/send_alert_text/send.py:61:
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - error_code = 'element not interactable'
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - def assert_error(response, error_code):
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - """
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - Verify that the provided webdriver.Response instance described
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - a valid error response as defined by `dfn-send-an-error` and
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - the provided error code.
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - :param response: ``webdriver.Response`` instance.
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - :param error_code: String value of the expected error code
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - """
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - > assert response.status == errors[error_code]
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - E assert 404 == 400
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - E +404
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - E -400
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - error_code = 'element not interactable'
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO -
[task 2023-02-25T13:46:21.601Z] 13:46:21 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:50: AssertionError
[task 2023-02-25T13:46:21.604Z] 13:46:21 INFO - ........
[task 2023-02-25T13:46:21.604Z] 13:46:21 INFO - TEST-OK | /webdriver/tests/send_alert_text/send.py | took 18627ms
[task 2023-02-25T13:46:21.604Z] 13:46:21 INFO - Restarting browser for new test group
[task 2023-02-25T13:46:21.605Z] 13:46:21 INFO - PID 4900 | 1677332781601 webdriver::server DEBUG -> GET /status
[task 2023-02-25T13:46:21.606Z] 13:46:21 INFO - PID 4900 | 1677332781601 webdriver::server DEBUG <- 200 OK {"value":{"message":"","ready":true}}
[task 2023-02-25T13:46:21.666Z] 13:46:21 INFO - STDOUT: :61:
[task 2023-02-25T13:46:21.666Z] 13:46:21 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-02-25T13:46:21.666Z] 13:46:21 INFO - STDOUT: response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.667Z] 13:46:21 INFO - STDOUT: error_code = 'element not interactable'
[task 2023-02-25T13:46:21.667Z] 13:46:21 INFO - STDOUT: def assert_error(response, error_code):
[task 2023-02-25T13:46:21.667Z] 13:46:21 INFO - STDOUT: """
[task 2023-02-25T13:46:21.668Z] 13:46:21 INFO - STDOUT: Verify that the provided webdriver.Response instance described
[task 2023-02-25T13:46:21.668Z] 13:46:21 INFO - STDOUT: a valid error response as defined by `dfn-send-an-error` and
[task 2023-02-25T13:46:21.668Z] 13:46:21 INFO - STDOUT: the provided error code.
[task 2023-02-25T13:46:21.669Z] 13:46:21 INFO - STDOUT:
[task 2023-02-25T13:46:21.669Z] 13:46:21 INFO - STDOUT: :param response: ``webdriver.Response`` instance.
[task 2023-02-25T13:46:21.670Z] 13:46:21 INFO - STDOUT: :param error_code: String value of the expected error code
[task 2023-02-25T13:46:21.670Z] 13:46:21 INFO - STDOUT: """
[task 2023-02-25T13:46:21.670Z] 13:46:21 INFO - STDOUT: > assert response.status == errors[error_code]
[task 2023-02-25T13:46:21.671Z] 13:46:21 INFO - STDOUT: E assert 404 == 400
[task 2023-02-25T13:46:21.671Z] 13:46:21 INFO - STDOUT: E +404
[task 2023-02-25T13:46:21.671Z] 13:46:21 INFO - STDOUT: E -400
[task 2023-02-25T13:46:21.671Z] 13:46:21 INFO - STDOUT: error_code = 'element not interactable'
[task 2023-02-25T13:46:21.672Z] 13:46:21 INFO - STDOUT: response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-02-25T13:46:21.672Z] 13:46:21 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/asserts.py
[task 2023-02-25T13:46:21.672Z] 13:46:21 INFO - STDOUT: :50: AssertionError
[task 2023-02-25T13:46:21.673Z] 13:46:21 INFO - STDOUT: =========================== short test summary info ============================
[task 2023-02-25T13:46:21.673Z] 13:46:21 INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/send_alert_text/send.py::test_alert_element_not_interactable[alert]
[task 2023-02-25T13:46:21.673Z] 13:46:21 INFO - STDOUT: ======================== 1 failed, 18 passed in 18.39s =========================
[task 2023-02-25T13:46:21.673Z] 13:46:21 INFO - Closing logging queue
[task 2023-02-25T13:46:21.674Z] 13:46:21 INFO - queue closed
[task 2023-02-25T13:46:21.769Z] 13:46:21 INFO - PID 4959 | 1677332781767 geckodriver INFO Listening on 127.0.0.1:59170
[task 2023-02-25T13:46:21.769Z] 13:46:21 INFO - Starting runner
[task 2023-02-25T13:46:22.009Z] 13:46:22 INFO - TEST-START | /webdriver/tests/status/status.py
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 14•1 year ago
|
||
Potentially fixed by bug 1848167. Lets reopen if the problem is still persistent.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•