Intermittent /webdriver/tests/minimize_window/user_prompts.py | test_accept[capabilities0-prompt-] - assert False
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, regression)
#[markdown(off)]
Filed by: btara [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=242516881&repo=mozilla-inbound
08:17:37 INFO - STDOUT: =================================== FAILURES ===================================
08:17:37 INFO - STDOUT: ______________________ test_accept[capabilities0-prompt-] ______________________
08:17:37 INFO - STDOUT: check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x10a27a320>
08:17:37 INFO - STDOUT: dialog_type = 'prompt', retval = ''
08:17:37 INFO - STDOUT: @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"})
08:17:37 INFO - STDOUT: @pytest.mark.parametrize("dialog_type, retval", [
08:17:37 INFO - STDOUT: ("alert", None),
08:17:37 INFO - STDOUT: ("confirm", True),
08:17:37 INFO - STDOUT: ("prompt", ""),
08:17:37 INFO - STDOUT: ])
08:17:37 INFO - STDOUT: def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval):
08:17:37 INFO - STDOUT: > check_user_prompt_closed_without_exception(dialog_type, retval)
08:17:37 INFO - STDOUT: check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x10a27a320>
08:17:37 INFO - STDOUT: dialog_type = 'prompt'
08:17:37 INFO - STDOUT: retval = ''
08:17:37 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window/user_prompts.py
08:17:37 INFO - STDOUT: :68:
08:17:37 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
08:17:37 INFO - STDOUT: dialog_type = 'prompt', retval = ''
08:17:37 INFO - STDOUT: def check_user_prompt_closed_without_exception(dialog_type, retval):
08:17:37 INFO - STDOUT: assert not document_hidden(session)
08:17:37 INFO - STDOUT: create_dialog(dialog_type, text=dialog_type)
08:17:37 INFO - STDOUT:
08:17:37 INFO - STDOUT: response = minimize(session)
08:17:37 INFO - STDOUT: assert_success(response)
08:17:37 INFO - STDOUT:
08:17:37 INFO - STDOUT: assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval)
08:17:37 INFO - STDOUT: > assert document_hidden(session)
08:17:37 INFO - STDOUT: E assert False
08:17:37 INFO - STDOUT: E + where False = document_hidden(<Session fbb91af6-b99d-cb4e-a4ec-d22edc7ff11b>)
08:17:37 INFO - STDOUT: create_dialog = <function create_dialog at 0x10a27a0c8>
08:17:37 INFO - STDOUT: dialog_type = 'prompt'
08:17:37 INFO - STDOUT: response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
08:17:37 INFO - STDOUT: retval = ''
08:17:37 INFO - STDOUT: session = <Session fbb91af6-b99d-cb4e-a4ec-d22edc7ff11b>
08:17:37 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window/user_prompts.py
08:17:37 INFO - STDOUT: :24: AssertionError
08:17:37 INFO - STDOUT: =============================== warnings summary ===============================
08:17:37 INFO - STDOUT: <undetermined location>
08:17:37 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
08:17:37 INFO - STDOUT: Module already imported so cannot be rewritten: tests.support.fixtures
08:17:37 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
08:17:37 INFO - STDOUT: ============== 1 failed, 17 passed, 2 warnings in 175.38 seconds ===============
08:17:37 INFO -
08:17:37 INFO - TEST-PASS | /webdriver/tests/minimize_window/user_prompts.py | test_accept[capabilities0-alert-None]
08:17:37 INFO - TEST-PASS | /webdriver/tests/minimize_window/user_prompts.py | test_accept[capabilities0-confirm-True]
08:17:37 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/minimize_window/user_prompts.py | test_accept[capabilities0-prompt-] - assert False
08:17:37 INFO - check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x10a27a320>
08:17:37 INFO - dialog_type = 'prompt', retval = ''
08:17:37 INFO -
08:17:37 INFO - @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"})
08:17:37 INFO - @pytest.mark.parametrize("dialog_type, retval", [
08:17:37 INFO - ("alert", None),
08:17:37 INFO - ("confirm", True),
08:17:37 INFO - ("prompt", ""),
08:17:37 INFO - ])
08:17:37 INFO - def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval):
08:17:37 INFO - > check_user_prompt_closed_without_exception(dialog_type, retval)
08:17:37 INFO -
08:17:37 INFO - check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x10a27a320>
08:17:37 INFO - dialog_type = 'prompt'
08:17:37 INFO - retval = ''
08:17:37 INFO -
08:17:37 INFO - tests/web-platform/tests/webdriver/tests/minimize_window/user_prompts.py:68:
08:17:37 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
08:17:37 INFO -
08:17:37 INFO - dialog_type = 'prompt', retval = ''
08:17:37 INFO -
08:17:37 INFO - def check_user_prompt_closed_without_exception(dialog_type, retval):
08:17:37 INFO - assert not document_hidden(session)
08:17:37 INFO - create_dialog(dialog_type, text=dialog_type)
08:17:37 INFO -
08:17:37 INFO - response = minimize(session)
08:17:37 INFO - assert_success(response)
08:17:37 INFO -
08:17:37 INFO - assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval)
08:17:37 INFO - > assert document_hidden(session)
08:17:37 INFO - E assert False
08:17:37 INFO - E + where False = document_hidden(<Session fbb91af6-b99d-cb4e-a4ec-d22edc7ff11b>)
08:17:37 INFO -
08:17:37 INFO - create_dialog = <function create_dialog at 0x10a27a0c8>
08:17:37 INFO - dialog_type = 'prompt'
08:17:37 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
08:17:37 INFO - retval = ''
08:17:37 INFO - session = <Session fbb91af6-b99d-cb4e-a4ec-d22edc7ff11b>
08:17:37 INFO -
08:17:37 INFO - tests/web-platform/tests/webdriver/tests/minimize_window/user_prompts.py:24: AssertionError
08:17:37 INFO - ...............
08:17:37 INFO - TEST-OK | /webdriver/tests/minimize_window/user_prompts.py | took 175456ms
Comment hidden (Intermittent Failures Robot) |
Comment 2•6 years ago
|
||
Comment 3•2 years ago
|
||
Description
•