Closed
Bug 1762740
Opened 3 years ago
Closed 3 years ago
Intermittent [Tier 2] /webdriver/tests/get_element_css_value/user_prompts.py | test_default[confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404):
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1762527
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ccozmuta [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=373197219&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M8iPgjJVQQ-gNrSHmJN6rA/runs/0/artifacts/public/logs/live_backing.log
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss[capabilities0-alert-None]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss[capabilities0-confirm-False]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss[capabilities0-prompt-None]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss_and_notify[capabilities0-prompt-None]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_ignore[capabilities0-alert]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_ignore[capabilities0-confirm]
[task 2022-04-02T20:36:19.026Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_ignore[capabilities0-prompt]
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_default[alert-None]
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/get_element_css_value/user_prompts.py | test_default[confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404):
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - session = <Session 2fb380f5-b7cd-4285-81a8-b53f91986b0d>
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - expected_text = 'confirm', expected_retval = False
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - def assert_dialog_handled(session, expected_text, expected_retval):
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - # If there were any existing dialogs prior to the creation of this
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - # fixture's dialog, then the "Get Alert Text" command will return
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - # successfully. In that case, the text must be different than that
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - # of this fixture's dialog.
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - try:
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - > assert session.alert.text != expected_text, (
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - "User prompt with text '{}' was not handled.".format(expected_text))
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - expected_retval = False
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - expected_text = 'confirm'
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - prompt_retval = None
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - session = <Session 2fb380f5-b7cd-4285-81a8-b53f91986b0d>
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.027Z] 20:36:19 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:96:
<...>
[task 2022-04-02T20:36:19.033Z] 20:36:19 INFO - session = <Session 2fb380f5-b7cd-4285-81a8-b53f91986b0d>
[task 2022-04-02T20:36:19.033Z] 20:36:19 INFO - expected_text = 'confirm', expected_retval = False
[task 2022-04-02T20:36:19.033Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.033Z] 20:36:19 INFO - def assert_dialog_handled(session, expected_text, expected_retval):
[task 2022-04-02T20:36:19.033Z] 20:36:19 INFO - # If there were any existing dialogs prior to the creation of this
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - # fixture's dialog, then the "Get Alert Text" command will return
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - # successfully. In that case, the text must be different than that
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - # of this fixture's dialog.
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - try:
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - assert session.alert.text != expected_text, (
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - "User prompt with text '{}' was not handled.".format(expected_text))
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - except NoSuchAlertException:
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - # If dialog has been closed and no other one is open, check its return value
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - prompt_retval = session.execute_script(" return window.dialog_return_value;")
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - > assert prompt_retval == expected_retval
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - E assert None == False
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - E +None
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - E -False
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - expected_retval = False
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - expected_text = 'confirm'
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - prompt_retval = None
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - session = <Session 2fb380f5-b7cd-4285-81a8-b53f91986b0d>
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO -
[task 2022-04-02T20:36:19.034Z] 20:36:19 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:102: AssertionError
[task 2022-04-02T20:36:19.035Z] 20:36:19 INFO - .
[task 2022-04-02T20:36:19.035Z] 20:36:19 INFO - TEST-OK | /webdriver/tests/get_element_css_value/user_prompts.py | took 36741ms
[task 2022-04-02T20:36:19.035Z] 20:36:19 INFO - Restarting browser for new test group
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
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
•