Back to build
Raw log | Switch to full mode | Login

python -u /b/swarming/w/ir/kitchen-checkout/build/scripts/tools/runit.py --show-path --with-third-party-lib -- python /b/swarming/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py --verbose -o /b/swarming/w/ir/tmp/t/tmp5sJTrr.json --task-output-dir /b/swarming/w/ir/tmp/t/tmpawvPY7 --merge-script /b/swarming/w/ir/cache/builder/src/testing/merge_scripts/standard_isolated_script_merge.py --merge-script-stdout-file /b/swarming/w/ir/tmp/t/tmpFumATjmerge_script_log --merge-additional-args '[]' --build-properties '{"bot_id": "swarm2892-c4", "branch": "refs/heads/master", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1552786237684182, "id": "8918779333992065440", "project": "chromium", "tags": ["build_address:luci.chromium.ci/linux-tcmalloc-rel/8667", "builder:linux-tcmalloc-rel", "buildset:commit/git/ea9077b3af407be0e97766f16f773703edf4627b", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/ea9077b3af407be0e97766f16f773703edf4627b", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9084209396287257712", "scheduler_job_id:chromium/linux-tcmalloc-rel", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "linux-tcmalloc-rel", "buildnumber": 8667, "got_angle_revision": "38e282570676f3e434482f8a02ea539b286fd1fa", "got_dawn_revision": "931311700c7c4b76a15c23eee8792dda125fb97e", "got_nacl_revision": "1ed9878b8eb68c1e0d0268754dafcf83e747fa8f", "got_revision": "ea9077b3af407be0e97766f16f773703edf4627b", "got_revision_cp": "refs/heads/master@{#641464}", "got_swarming_client_revision": "7a61cf37d6a0163f0ec02d495289a1d038e62457", "got_v8_revision": "f413181b62ee4ad78b9ef3d58c4f395794e16bf1", "got_v8_revision_cp": "refs/heads/7.5.59@{#1}", "got_webrtc_revision": "69008a87185992aa348ece3f893f6a84f8786ae8", "got_webrtc_revision_cp": "refs/heads/master@{#27145}", "mastername": "chromium.fyi", "path_config": "generic", "recipe": "chromium", "repository": "https://chromium.googlesource.com/chromium/src.git", "revision": "ea9077b3af407be0e97766f16f773703edf4627b"}' --summary-json-file /b/swarming/w/ir/tmp/t/tmpvxKVd2.json -- swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/swarming/w/ir/tmp/t/tmpWDCdAx.json in dir /b/swarming/w/ir/k: allow_subannotations: False cmd: ['python', '-u', '/b/swarming/w/ir/kitchen-checkout/build/scripts/tools/runit.py', '--show-path', '--with-third-party-lib', '--', 'python', '/b/swarming/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py', '--verbose', '-o', '/b/swarming/w/ir/tmp/t/tmp5sJTrr.json', '--task-output-dir', '/b/swarming/w/ir/tmp/t/tmpawvPY7', '--merge-script', '/b/swarming/w/ir/cache/builder/src/testing/merge_scripts/standard_isolated_script_merge.py', '--merge-script-stdout-file', '/b/swarming/w/ir/tmp/t/tmpFumATjmerge_script_log', '--merge-additional-args', '[]', '--build-properties', '{"bot_id": "swarm2892-c4", "branch": "refs/heads/master", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1552786237684182, "id": "8918779333992065440", "project": "chromium", "tags": ["build_address:luci.chromium.ci/linux-tcmalloc-rel/8667", "builder:linux-tcmalloc-rel", "buildset:commit/git/ea9077b3af407be0e97766f16f773703edf4627b", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/ea9077b3af407be0e97766f16f773703edf4627b", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9084209396287257712", "scheduler_job_id:chromium/linux-tcmalloc-rel", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "linux-tcmalloc-rel", "buildnumber": 8667, "got_angle_revision": "38e282570676f3e434482f8a02ea539b286fd1fa", "got_dawn_revision": "931311700c7c4b76a15c23eee8792dda125fb97e", "got_nacl_revision": "1ed9878b8eb68c1e0d0268754dafcf83e747fa8f", "got_revision": "ea9077b3af407be0e97766f16f773703edf4627b", "got_revision_cp": "refs/heads/master@{#641464}", "got_swarming_client_revision": "7a61cf37d6a0163f0ec02d495289a1d038e62457", "got_v8_revision": "f413181b62ee4ad78b9ef3d58c4f395794e16bf1", "got_v8_revision_cp": "refs/heads/7.5.59@{#1}", "got_webrtc_revision": "69008a87185992aa348ece3f893f6a84f8786ae8", "got_webrtc_revision_cp": "refs/heads/master@{#27145}", "mastername": "chromium.fyi", "path_config": "generic", "recipe": "chromium", "repository": "https://chromium.googlesource.com/chromium/src.git", "revision": "ea9077b3af407be0e97766f16f773703edf4627b"}', '--summary-json-file', '/b/swarming/w/ir/tmp/t/tmpvxKVd2.json', '--', 'swarming', 'collect', '-server', 'https://chromium-swarm.appspot.com', '-worker', '50', '-task-summary-python', '-task-output-stdout', 'all', '-verbose', '-requests-json', '/b/swarming/w/ir/tmp/t/tmpWDCdAx.json'] env: {'CHROME_HEADLESS': '1'} env_prefixes: {'PATH': '/b/swarming/w/ir/cache/swarming_client'} env_suffixes: {} infra_step: False name_tokens: ('webdriver_tests_suite',) ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: ADDRFAM: inet BOTO_CONFIG: /b/swarming/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CHROME_HEADLESS: 1 CIPD_CACHE_DIR: /b/swarming/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 34375 DOCKER_CONFIG: /b/swarming/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/swarming/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot IFACE: eth0 INFRA_GIT_WRAPPER_HOME: /b/swarming/w/ir/tmp/git_home_task LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8918779333992065440 LOGDOG_STREAM_PROJECT: chromium LOGDOG_STREAM_SERVER_PATH: unix:/b/swarming/w/ir/tmp/ld.sock LOGICAL: eth0 LUCI_CONTEXT: /b/swarming/w/itSLdxZU/luci_context.425336273 MAC_CHROMIUM_TMPDIR: /b/swarming/w/ir/tmp/t METHOD: dhcp NO_GCE_CHECK: False PATH: /b/swarming/w/ir/cache/swarming_client:/b/swarming/w/ir/cipd_bin_packages:/b/swarming/w/ir/cipd_bin_packages/bin:/b/swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD: /b/swarming/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 ROOT_SETUP_LOG: /var/log/messages/chromebuild/root-setup.log SHLVL: 1 STARTUP_LOG: /var/log/messages/chromebuild/startup.log SWARMING_BOT_ID: swarm2892-c4 SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 43a2173f34324711 TEMP: /b/swarming/w/ir/tmp/t TEMPDIR: /b/swarming/w/ir/tmp/t TERM: linux TMP: /b/swarming/w/ir/tmp/t TMPDIR: /b/swarming/w/ir/tmp/t UPSTART_EVENTS: net-device-up UPSTART_INSTANCE: UPSTART_JOB: chromebuild-startup USER: chrome-bot USERNAME: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/swarming/w/ir/cache/vpython _: /b/swarming/w/ir/cipd_bin_packages/vpython Set PYTHONPATH: /b/swarming/w/ir/kitchen-checkout/build/scripts:/b/swarming/w/ir/kitchen-checkout/build/site_config:/b/swarming/w/ir/kitchen-checkout/build/third_party:/b/swarming/w/ir/kitchen-checkout/build/third_party/buildbot_8_4p1:/b/swarming/w/ir/kitchen-checkout/build/third_party/buildbot_slave_8_4:/b/swarming/w/ir/kitchen-checkout/build/third_party/coverage-3.7.1:/b/swarming/w/ir/kitchen-checkout/build/third_party/decorator_3_3_1:/b/swarming/w/ir/kitchen-checkout/build/third_party/google_api_python_client:/b/swarming/w/ir/kitchen-checkout/build/third_party/httplib2/python2:/b/swarming/w/ir/kitchen-checkout/build/third_party/infra_libs:/b/swarming/w/ir/kitchen-checkout/build/third_party/jinja2:/b/swarming/w/ir/kitchen-checkout/build/third_party/markupsafe:/b/swarming/w/ir/kitchen-checkout/build/third_party/oauth2client:/b/swarming/w/ir/kitchen-checkout/build/third_party/pyasn1:/b/swarming/w/ir/kitchen-checkout/build/third_party/pyasn1-modules:/b/swarming/w/ir/kitchen-checkout/build/third_party/python-rsa:/b/swarming/w/ir/kitchen-checkout/build/third_party/requests_2_10_0:/b/swarming/w/ir/kitchen-checkout/build/third_party/setuptools-0.6c11:/b/swarming/w/ir/kitchen-checkout/build/third_party/sqlalchemy_0_7_1:/b/swarming/w/ir/kitchen-checkout/build/third_party/sqlalchemy_migrate_0_7_1:/b/swarming/w/ir/kitchen-checkout/build/third_party/tempita_0_5:/b/swarming/w/ir/kitchen-checkout/build/third_party/twisted_10_2:/b/swarming/w/ir/kitchen-checkout/build/third_party/uritemplate:/b/swarming/w/ir/kitchen-checkout/build/third_party/site-packages 2019-03-16 19:10:14,165 - root: [DEBUG] Using task_output_dir: '/b/swarming/w/ir/tmp/t/tmpawvPY7' 2019-03-16 19:10:14,165 - root: [WARNING] task_output_dir '/b/swarming/w/ir/tmp/t/tmpawvPY7' already exists! 2019-03-16 19:10:14,165 - root: [WARNING] task_output_dir existing content: [] 2019-03-16 19:10:14,165 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/swarming/w/ir/tmp/t/tmpWDCdAx.json -output-dir /b/swarming/w/ir/tmp/t/tmpawvPY7 -task-summary-json /b/swarming/w/ir/tmp/t/tmpvxKVd2.json [D2019-03-16T19:10:14.171588-07:00 7398 0 auth.go:1265] Minting a new token {"key":"luci_ctx/807c7711d99b0b4014f10c604b7961592d4312a33952e27222e1cd6f14d24652", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-16T19:10:14.171654-07:00 7398 0 luci_ctx.go:138] POST http://127.0.0.1:43173/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/807c7711d99b0b4014f10c604b7961592d4312a33952e27222e1cd6f14d24652", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-16T19:10:14.173415-07:00 7398 0 auth.go:1222] Token expires in 9m47.826598454s {"key":"luci_ctx/807c7711d99b0b4014f10c604b7961592d4312a33952e27222e1cd6f14d24652", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-16T19:10:15.413678-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:16.615318-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:17.850436-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:19.143466-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:20.711347-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:22.322437-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:23.970687-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:25.651890-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:27.178846-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:28.770139-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:30.421454-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:32.098662-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:33.829156-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:35.602015-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:37.525118-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:39.492567-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:41.528813-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 [D2019-03-16T19:10:43.711737-07:00 7398 0 collect.go:344] Waiting task_id: 43a22a1c520e0910 43a22a1c520e0910: exit 0 Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 LANG=en_US.UTF-8 Command: /b/s/w/ir/.swarming_module_cache/vpython/b3f287/bin/python ../../testing/xvfb.py ../../chrome/test/chromedriver/test/run_webdriver_tests.py -v --chromedriver=chromedriver --isolated-script-test-output=/b/s/w/ioIasxYF/results.json --test-path=../../third_party/blink/web_tests/external/wpt/webdriver/tests/ --isolated-script-test-output=/b/s/w/ioIasxYF/output.json --isolated-script-test-perf-output=/b/s/w/ioIasxYF/perftest-output.json Additional test environment: CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox CHROME_HEADLESS=1 LANG=en_US.UTF-8 Command: /b/s/w/ir/.swarming_module_cache/vpython/b3f287/bin/python ../../chrome/test/chromedriver/test/run_webdriver_tests.py -v --chromedriver=chromedriver --isolated-script-test-output=/b/s/w/ioIasxYF/results.json --test-path=../../third_party/blink/web_tests/external/wpt/webdriver/tests/ --isolated-script-test-output=/b/s/w/ioIasxYF/output.json --isolated-script-test-perf-output=/b/s/w/ioIasxYF/perftest-output.json 2019-03-16 18:54:43,318 - blinkpy.common.system.log_utils: [DEBUG] Debug logging enabled. 2019-03-16 18:54:43,382 - blinkpy.web_tests.servers.server_base: [WARNING] Failed to remove old wptserve access_log files 2019-03-16 18:54:43,382 - blinkpy.web_tests.servers.server_base: [WARNING] Failed to remove old wptserve error_log files 2019-03-16 18:54:43,383 - blinkpy.web_tests.servers.server_base: [DEBUG] all ports are available 2019-03-16 18:54:43,383 - blinkpy.web_tests.servers.server_base: [DEBUG] Starting wptserve server, cmd="['/b/s/w/ir/.swarming_module_cache/vpython/b3f287/bin/python', '-u', '/b/s/w/ir/third_party/blink/tools/blinkpy/third_party/wpt/wpt/wpt', 'serve', '--config', '/b/s/w/itGIQBl1/tmp_1msnn.json', '--doc_root', '/b/s/w/ir/third_party/blink/web_tests/external/wpt']" 2019-03-16 18:54:43,386 - blinkpy.common.system.executive: [DEBUG] Checking whether pid 26484 is alive. 2019-03-16 18:54:43,386 - blinkpy.web_tests.servers.server_base: [DEBUG] Server NOT running on http://localhost:8001 : [Errno 111] Connection refused 2019-03-16 18:54:43,386 - blinkpy.web_tests.servers.server_base: [DEBUG] Waiting for action: <bound method WPTServe._is_server_running_on_all_ports of <blinkpy.web_tests.servers.wptserve.WPTServe object at 0x7f7c8c351ad0>> 2019-03-16 18:54:44,387 - blinkpy.common.system.executive: [DEBUG] Checking whether pid 26484 is alive. 2019-03-16 18:54:44,388 - blinkpy.web_tests.servers.server_base: [INFO] Server running on http://localhost:8001 2019-03-16 18:54:44,388 - blinkpy.web_tests.servers.server_base: [INFO] Server running on http://localhost:8081 2019-03-16 18:54:44,388 - blinkpy.web_tests.servers.server_base: [INFO] Server running on https://localhost:8444 2019-03-16 18:54:44,389 - blinkpy.web_tests.servers.server_base: [INFO] Server running on ws://localhost:9001 2019-03-16 18:54:44,389 - blinkpy.web_tests.servers.server_base: [INFO] Server running on wss://localhost:9444 2019-03-16 18:54:44,389 - blinkpy.web_tests.servers.server_base: [DEBUG] wptserve successfully started (pid = 26484) Starting ChromeDriver 75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}) on port 9500 Only local connections are allowed. Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code. ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items ========================= no tests ran in 0.00 seconds ========================= ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/interface.html (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/interface.html' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/screenshot.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 8.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py F [ 5%] FFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== _______________________ test_accept[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bc195f0> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session a784af1620942c410952dde82be3350f>, method = 'GET' url = 'session/a784af1620942c410952dde82be3350f/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_accept[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bba5758> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session a784af1620942c410952dde82be3350f>, method = 'GET' url = 'session/a784af1620942c410952dde82be3350f/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_accept[capabilities0-prompt] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bba5938> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session a784af1620942c410952dde82be3350f>, method = 'GET' url = 'session/a784af1620942c410952dde82be3350f/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _________________ test_accept_and_notify[capabilities0-alert] __________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bc195f0> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_accept_and_notify[capabilities0-confirm] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bba5ed8> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _________________ test_accept_and_notify[capabilities0-prompt] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bba5e60> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_dismiss[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb8500> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 6d823ecd22380272df7f24ccdee65eeb>, method = 'GET' url = 'session/6d823ecd22380272df7f24ccdee65eeb/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _____________________ test_dismiss[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bc198c0> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 6d823ecd22380272df7f24ccdee65eeb>, method = 'GET' url = 'session/6d823ecd22380272df7f24ccdee65eeb/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_dismiss[capabilities0-prompt] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bc19848> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:26: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 6d823ecd22380272df7f24ccdee65eeb>, method = 'GET' url = 'session/6d823ecd22380272df7f24ccdee65eeb/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _________________ test_dismiss_and_notify[capabilities0-alert] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb87d0> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_dismiss_and_notify[capabilities0-confirm] ________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb8a28> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_dismiss_and_notify[capabilities0-prompt] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb8cf8> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _______________________ test_ignore[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb8668> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_ignore[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb87d0> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_ignore[capabilities0-prompt] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bbb8ed8> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _____________________________ test_default[alert] ______________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bb0e500> dialog_type = 'alert' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ____________________________ test_default[confirm] _____________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bb0e758> dialog_type = 'confirm' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _____________________________ test_default[prompt] _____________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8bb0ea28> dialog_type = 'prompt' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_screenshot/user_prompts.py:22: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 failed, 1 warnings in 9.97 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_async_script/collections.py . [ 12%] ....... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 8 passed, 1 warnings in 3.15 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_async_script/execute_async.py . [ 12%] ....... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 8 passed, 1 warnings in 2.94 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_async_script/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.18 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/content_editable.py F [ 50%] F [100%] =================================== FAILURES =================================== _______________________ test_sets_insertion_point_to_end _______________________ session = <Session 283975588d93098a64507f5382ea51be> def test_sets_insertion_point_to_end(session): session.url = inline('<div contenteditable=true>Hello,</div>') input = session.find.css("div", all=False) input.send_keys(' world!') text = session.execute_script('return arguments[0].innerText', args=[input]) > assert "Hello, world!" == text.strip() E AssertionError: assert 'Hello, world!' == 'world!Hello,' E - Hello, world! E + world!Hello, ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/content_editable.py:11: AssertionError ______________ test_sets_insertion_point_to_after_last_text_node _______________ session = <Session 283975588d93098a64507f5382ea51be> def test_sets_insertion_point_to_after_last_text_node(session): session.url = inline('<div contenteditable=true>Hel<span>lo</span>,</div>') input = session.find.css("div", all=False) input.send_keys(" world!") text = session.execute_script("return arguments[0].innerText", args=[input]) > assert "Hello, world!" == text.strip() E AssertionError: assert 'Hello, world!' == 'world!Hello,' E - Hello, world! E + world!Hello, ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/content_editable.py:23: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 failed, 1 warnings in 0.92 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/send_keys.py . [ 11%] ........ [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 9 passed, 1 warnings in 3.60 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 11 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/interactability.py . [ 9%] F......... [100%] =================================== FAILURES =================================== ____________________ test_document_element_is_interactable _____________________ session = <Session 283975588d93098a64507f5382ea51be> def test_document_element_is_interactable(session): session.url = inline(""" <html onkeypress="document.querySelector('input').value += event.key"> <input> </html> """) body = session.find.css("body", all=False) element = session.find.css(":root", all=False) result = session.find.css("input", all=False) # By default body is the active element assert session.active_element == body response = element_send_keys(session, element, "foo") assert_success(response) > assert session.active_element == element E assert <Element 499f969b-4874-49e8-9cae-122f8cc3557f> == <Element 9dde5a15-ccf7-4d39-ba65-4f219093625c> E + where <Element 499f969b-4874-49e8-9cae-122f8cc3557f> = <Session 283975588d93098a64507f5382ea51be>.active_element ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/interactability.py:48: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 1 failed, 10 passed, 1 warnings in 4.81 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/form_controls.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.81 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.38 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/scroll_into_view.py F [ 20%] .FF. [100%] =================================== FAILURES =================================== _______________ test_element_outside_of_not_scrollable_viewport ________________ session = <Session 8d603bfe459bc5dcc6be9d7572b8499b> def test_element_outside_of_not_scrollable_viewport(session): session.url = inline("<input style=\"position: relative; left: -9999px;\">") element = session.find.css("input", all=False) response = element_send_keys(session, element, "foo") > assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/scroll_into_view.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<WebDriverException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: element not interactable (400): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d16085831d ExecuteSendKeysToElement() E #4 0x55d160875c62 base::internal::Invoker<>::Run() E #5 0x55d160856776 ExecuteElementCommand() E #6 0x55d160875d6e base::internal::Invoker<>::Run() E #7 0x55d16087f807 ExecuteWindowCommand() E #8 0x55d160875b33 base::internal::Invoker<>::Run() E #9 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #10 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #11 0x55d1609e0845 base::TaskAnnotator::RunTask() E #12 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #13 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #14 0x55d1609bafaa base::MessagePumpDefault::Run() E #15 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #16 0x55d1609cb1bd base::RunLoop::Run() E #17 0x55d1609fbb8f base::Thread::ThreadMain() E #18 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #19 0x7f4ce222b184 start_thread E #20 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _________ test_option_select_container_outside_of_scrollable_viewport __________ session = <Session 8d603bfe459bc5dcc6be9d7572b8499b> def test_option_select_container_outside_of_scrollable_viewport(session): session.url = inline(""" <select style="margin-top: 102vh;"> <option value="foo">foo</option> <option value="bar" id="bar">bar</option> </select> """) element = session.find.css("option#bar", all=False) select = session.find.css("select", all=False) response = element_send_keys(session, element, "bar") > assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/scroll_into_view.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<WebDriverException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: element not interactable (400): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d16085831d ExecuteSendKeysToElement() E #4 0x55d160875c62 base::internal::Invoker<>::Run() E #5 0x55d160856776 ExecuteElementCommand() E #6 0x55d160875d6e base::internal::Invoker<>::Run() E #7 0x55d16087f807 ExecuteWindowCommand() E #8 0x55d160875b33 base::internal::Invoker<>::Run() E #9 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #10 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #11 0x55d1609e0845 base::TaskAnnotator::RunTask() E #12 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #13 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #14 0x55d1609bafaa base::MessagePumpDefault::Run() E #15 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #16 0x55d1609cb1bd base::RunLoop::Run() E #17 0x55d1609fbb8f base::Thread::ThreadMain() E #18 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #19 0x7f4ce222b184 start_thread E #20 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _______________ test_option_stays_outside_of_scrollable_viewport _______________ session = <Session 8d603bfe459bc5dcc6be9d7572b8499b> def test_option_stays_outside_of_scrollable_viewport(session): session.url = inline(""" <select multiple style="height: 105vh; margin-top: 100vh;"> <option value="foo" id="foo" style="height: 100vh;">foo</option> <option value="bar" id="bar" style="background-color: yellow;">bar</option> </select> """) select = session.find.css("select", all=False) option_foo = session.find.css("option#foo", all=False) option_bar = session.find.css("option#bar", all=False) response = element_send_keys(session, option_bar, "bar") > assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/scroll_into_view.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<WebDriverException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: element not interactable (400): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d16085831d ExecuteSendKeysToElement() E #4 0x55d160875c62 base::internal::Invoker<>::Run() E #5 0x55d160856776 ExecuteElementCommand() E #6 0x55d160875d6e base::internal::Invoker<>::Run() E #7 0x55d16087f807 ExecuteWindowCommand() E #8 0x55d160875b33 base::internal::Invoker<>::Run() E #9 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #10 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #11 0x55d1609e0845 base::TaskAnnotator::RunTask() E #12 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #13 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #14 0x55d1609bafaa base::MessagePumpDefault::Run() E #15 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #16 0x55d1609cb1bd base::RunLoop::Run() E #17 0x55d1609fbb8f base::Thread::ThreadMain() E #18 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #19 0x7f4ce222b184 start_thread E #20 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 3 failed, 2 passed, 1 warnings in 2.22 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/events.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 passed, 1 warnings in 2.11 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 16 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_send_keys/file_upload.py . [ 6%] ............... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 16 passed, 1 warnings in 7.06 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_cookie/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.75 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_cookie/delete.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.11 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/back/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 11.83 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/back/back.py . [ 14%] ...... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 7 passed, 1 warnings in 3.86 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_css_value/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.50 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_css_value/get.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 passed, 1 warnings in 2.01 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/switch_to_window/switch.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.79 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_element/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.45 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 38 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_element/find.py . [ 2%] ..................................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 38 passed, 1 warnings in 14.15 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.58 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 70 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py F [ 1%] ................................F.....................FFF............ [100%] =================================== FAILURES =================================== __________________________ test_null_parameter_value ___________________________ session = <Session b3fabeb5d29719112e3b1429eb83054b> http = <tests.support.http_request.HTTPRequest object at 0x7f7c8b07f9d0> def test_null_parameter_value(session, http): path = "/session/{session_id}/window/rect".format(**vars(session)) with http.post(path, None) as response: > assert_error(Response.from_http(response), "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {"y": 100, "width": 800, "x": 100, "height": 600}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ___________________________ test_width_height_floats ___________________________ session = <Session b3fabeb5d29719112e3b1429eb83054b> def test_width_height_floats(session): response = set_window_rect(session, {"width": 500.5, "height": 420}) value = assert_success(response) > assert value["width"] == 500 E assert 508 == 500 ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py:80: AssertionError __________________________ test_fully_exit_fullscreen __________________________ session = <Session b3fabeb5d29719112e3b1429eb83054b> def test_fully_exit_fullscreen(session): session.window.fullscreen() > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session b3fabeb5d29719112e3b1429eb83054b>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py:136: AssertionError _________________________ test_restore_from_minimized __________________________ session = <Session b3fabeb5d29719112e3b1429eb83054b> def test_restore_from_minimized(session): session.window.minimize() assert document_hidden(session) response = set_window_rect(session, {"width": 450, "height": 450}) value = assert_success(response) > assert value["width"] == 450 E assert 508 == 450 ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py:152: AssertionError _________________________ test_restore_from_maximized __________________________ session = <Session b3fabeb5d29719112e3b1429eb83054b> def test_restore_from_maximized(session): original_size = session.window.size session.window.maximize() assert session.window.size != original_size response = set_window_rect(session, {"width": 400, "height": 400}) value = assert_success(response) > assert value["width"] == 400 E assert 508 == 400 ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_window_rect/set.py:165: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 5 failed, 65 passed, 1 warnings in 29.11 seconds =============== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_session/delete.py . [ 50%] F [100%] =================================== FAILURES =================================== ______________________ test_dismissed_beforeunload_prompt ______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> def test_dismissed_beforeunload_prompt(session): session.url = inline(""" <input type="text"> <script> window.addEventListener("beforeunload", function (event) { event.preventDefault(); }); </script> """) session.find.css("input", all=False).send_keys("foo") response = delete_session(session) assert_success(response) # A beforeunload prompt has to be automatically dismissed, and the session deleted with pytest.raises(error.InvalidSessionIdException): > session.alert.text E Failed: DID NOT RAISE <class 'webdriver.error.InvalidSessionIdException'> ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_session/delete.py:39: Failed =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 1 passed, 1 warnings in 1.09 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 24 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py . [ 4%] EFFFFFFFFFFFFFFFFFFFFFF [100%] ==================================== ERRORS ==================================== __________________ ERROR at setup of test_no_browsing_context __________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> create_window = <function create_window at 0x7f7c8b0f5398> @pytest.fixture def closed_window(session, create_window): original_handle = session.window_handle > new_handle = create_window() ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/fixtures.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def create_window(): windows_before = session.handles name = session.execute_script("window.open()") > assert len(session.handles) == len(windows_before) + 1 E AssertionError: assert 1 == (1 + 1) E + where 1 = len({'message': 'invalid session id\n (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'}) E + where {'message': 'invalid session id\n (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'} = <Session bb93ff30c02495ba849c134ce7cc097c>.handles E + and 1 = len({'message': 'invalid session id\n (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'}) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/fixtures.py:93: AssertionError =================================== FAILURES =================================== __________________________ test_click_at_coordinates ___________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b0b7ad0> def test_click_at_coordinates(session, test_actions_page, mouse_chain): div_point = { "x": 82, "y": 187, } mouse_chain \ .pointer_move(div_point["x"], div_point["y"], duration=1000) \ .click() \ .perform() events = get_events(session) > assert len(events) == 4 E AssertionError: assert 1 == 4 E + where 1 = len({'message': 'invalid session id\n (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'}) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:39: AssertionError _______________________ test_context_menu_at_coordinates _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b1888d0> def test_context_menu_at_coordinates(session, test_actions_page, mouse_chain): div_point = { "x": 82, "y": 187, } mouse_chain \ .pointer_move(div_point["x"], div_point["y"]) \ .pointer_down(button=2) \ .pointer_up(button=2) \ .perform() events = get_events(session) expected = [ {"type": "mousedown", "button": 2}, {"type": "contextmenu", "button": 2}, ] > assert len(events) == 4 E AssertionError: assert 1 == 4 E + where 1 = len({'message': 'invalid session id\n (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'}) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:69: AssertionError __________________________ test_click_element_center ___________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8af8ae50> def test_click_element_center(session, test_actions_page, mouse_chain): outer = session.find.css("#outer", all=False) > center = get_inview_center(outer.rect, get_viewport_rect(session)) E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:80: AttributeError ____________________________ test_click_navigation _____________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> url = <function url at 0x7f7c8b17c578> def test_click_navigation(session, url): destination = url("/webdriver/tests/actions/support/test_actions_wdspec.html") start = link_doc(destination) def click(link): mouse_chain = session.actions.sequence( "pointer", "pointer_id", {"pointerType": "mouse"}) mouse_chain.click(element=link).perform() session.url = start error_message = "Did not navigate to %s" % destination click(session.find.css("#link", all=False)) > Poll(session, message=error_message).until(lambda s: s.url == destination) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.support.sync.Poll object at 0x7f7c8b0b7790> condition = <function <lambda> at 0x7f7c8b17c050> def until(self, condition): """ This will repeatedly evaluate `condition` in anticipation for a truthy return value, or the timeout to expire. A condition that returns `None` or does not evaluate to true will fully elapse its timeout before raising, unless the `raises` keyword argument is `None`, in which case the condition's return value is propagated unconditionally. If an exception is raised in `condition` and it's not ignored, this function will raise immediately. If the exception is ignored it will be swallowed and polling will resume until either the condition meets the return requirements or the timeout duration is reached. :param condition: A callable function whose return value will be returned by this function. """ rv = None last_exc = None start = self.clock.time() end = start + self.timeout while not self.clock.time() >= end: try: next = self.clock.time() + self.interval rv = condition(self.session) except (KeyboardInterrupt, SystemExit): raise except self.exceptions: last_exc = sys.exc_info() # re-adjust the interval depending on how long # the callback took to evaluate the condition interval_new = max(next - self.clock.time(), 0) if not rv: self.clock.sleep(interval_new) continue if rv is not None: return rv self.clock.sleep(interval_new) if self.exc_cls is not None: elapsed = round((self.clock.time() - start), 1) message = "" if self.exc_msg is not None: message = " with message: {}".format(self.exc_msg) raise self.exc_cls( "Timed out after {} seconds{}".format(elapsed, message), > cause=last_exc) E TypeError: __init__() got an unexpected keyword argument 'cause' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/sync.py:144: TypeError __________________________ test_drag_and_drop[20-0-0] __________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b0b7d90> dx = 20, dy = 0, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[20-0-300] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b187050> dx = 20, dy = 0, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[20-0-800] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afd9ad0> dx = 20, dy = 0, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError __________________________ test_drag_and_drop[0-15-0] __________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b08e590>, dx = 0 dy = 15, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[0-15-300] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b187a10>, dx = 0 dy = 15, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[0-15-800] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b0b7c90>, dx = 0 dy = 15, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[10-15-0] __________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8af8ad90> dx = 10, dy = 15, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[10-15-300] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afd92d0> dx = 10, dy = 15, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[10-15-800] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b08e9d0> dx = 10, dy = 15, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[-20-0-0] __________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b187a50> dx = -20, dy = 0, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[-20-0-300] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b08e890> dx = -20, dy = 0, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[-20-0-800] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b188890> dx = -20, dy = 0, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _________________________ test_drag_and_drop[10--15-0] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b08e350> dx = 10, dy = -15, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[10--15-300] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b08eb10> dx = 10, dy = -15, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[10--15-800] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afd9d90> dx = 10, dy = -15, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError ________________________ test_drag_and_drop[-10--15-0] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afd9c10> dx = -10, dy = -15, drag_duration = 0 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _______________________ test_drag_and_drop[-10--15-300] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b0b7bd0> dx = -10, dy = -15, drag_duration = 300 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError _______________________ test_drag_and_drop[-10--15-800] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b098350> dx = -10, dy = -15, drag_duration = 800 @pytest.mark.parametrize("drag_duration", [0, 300, 800]) @pytest.mark.parametrize("dx, dy", [ (20, 0), (0, 15), (10, 15), (-20, 0), (10, -15), (-10, -15) ]) def test_drag_and_drop(session, test_actions_page, mouse_chain, dx, dy, drag_duration): drag_target = session.find.css("#dragTarget", all=False) > initial_rect = drag_target.rect E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer.py:124: AttributeError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =========== 22 failed, 1 passed, 1 warnings, 1 error in 6.74 seconds =========== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 1 item ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/sequence.py E [100%] ==================================== ERRORS ==================================== ___________ ERROR at setup of test_perform_no_actions_send_no_events ___________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_perform_no_actions_send_no_events'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 warnings, 1 error in 0.08 seconds ====================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py F [ 11%] FFFFF... [100%] =================================== FAILURES =================================== ______________________ test_pause_positive_integer[none] _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'none' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_positive_integer(session, action_type): for valid_duration in [0, 1]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": valid_duration }] }] response = perform_actions(session, actions) assert_success(response) actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": -1 }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _______________________ test_pause_positive_integer[key] _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'key' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_positive_integer(session, action_type): for valid_duration in [0, 1]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": valid_duration }] }] response = perform_actions(session, actions) assert_success(response) actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": -1 }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _____________________ test_pause_positive_integer[pointer] _____________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'pointer' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_positive_integer(session, action_type): for valid_duration in [0, 1]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": valid_duration }] }] response = perform_actions(session, actions) assert_success(response) actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": -1 }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ________________________ test_pause_invalid_types[none] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'none' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_invalid_types(session, action_type): for invalid_type in [0.0, None, "foo", True, [], {}]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": invalid_type }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ________________________ test_pause_invalid_types[key] _________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'key' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_invalid_types(session, action_type): for invalid_type in [0.0, None, "foo", True, [], {}]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": invalid_type }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ______________________ test_pause_invalid_types[pointer] _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, action_type = 'pointer' @pytest.mark.parametrize("action_type", ["none", "key", "pointer"]) def test_pause_invalid_types(session, action_type): for invalid_type in [0.0, None, "foo", True, [], {}]: actions = [{ "type": action_type, "id": "foobar", "actions": [{ "type": "pause", "duration": invalid_type }] }] response = perform_actions(session, actions) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/validity.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 6, "sessionId": "bb93ff30c02495ba849c134ce7...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 6 failed, 3 passed, 1 warnings in 0.61 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_dblclick.py F [ 50%] F [100%] =================================== FAILURES =================================== _______________________ test_dblclick_at_coordinates[0] ________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8ae588d0> click_pause = 0 @pytest.mark.parametrize("click_pause", [0, 200]) def test_dblclick_at_coordinates(session, test_actions_page, mouse_chain, click_pause): div_point = { "x": 82, "y": 187, } mouse_chain \ .pointer_move(div_point["x"], div_point["y"]) \ .click() \ .pause(click_pause) \ .click() \ .perform() events = get_events(session) > assert_move_to_coordinates(div_point, "outer", events) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_dblclick.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ point = {'x': 82, 'y': 187}, target = 'outer' events = {'message': 'invalid session id (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'} def assert_move_to_coordinates(point, target, events): for e in events: > if e["type"] != "mousemove": E TypeError: string indices must be integers ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:192: TypeError ______________________ test_dblclick_at_coordinates[200] _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8aebc790> click_pause = 200 @pytest.mark.parametrize("click_pause", [0, 200]) def test_dblclick_at_coordinates(session, test_actions_page, mouse_chain, click_pause): div_point = { "x": 82, "y": 187, } mouse_chain \ .pointer_move(div_point["x"], div_point["y"]) \ .click() \ .pause(click_pause) \ .click() \ .perform() events = get_events(session) > assert_move_to_coordinates(div_point, "outer", events) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_dblclick.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ point = {'x': 82, 'y': 187}, target = 'outer' events = {'message': 'invalid session id (Driver info: chromedriver=75.0.3736.0 (ea9077b3af407be0e97766f16f773703edf4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)'} def assert_move_to_coordinates(point, target, events): for e in events: > if e["type"] != "mousemove": E TypeError: string indices must be integers ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:192: TypeError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 failed, 1 warnings in 0.17 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py F [ 11%] FFFFFFFF [100%] =================================== FAILURES =================================== _____________________________ test_viewport_inside _____________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b2684d0> def test_viewport_inside(session, mouse_chain): point = {"x": 50, "y": 50} session.url = origin_doc("width: 100px; height: 50px; background: green;") mouse_chain \ .pointer_move(point["x"], point["y"], origin="viewport") \ .perform() click_coords = session.execute_script("return window.coords;") > assert pytest.approx(click_coords["x"], point["x"]) E KeyError: 'x' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:31: KeyError ____________________________ test_viewport_outside _____________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8ae58e90> def test_viewport_outside(session, mouse_chain): with pytest.raises(MoveTargetOutOfBoundsException): mouse_chain \ > .pointer_move(-50, -50, origin="viewport") \ .perform() E Failed: DID NOT RAISE <class 'webdriver.error.MoveTargetOutOfBoundsException'> ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:38: Failed _____________________________ test_pointer_inside ______________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afc3890> def test_pointer_inside(session, mouse_chain): start_point = {"x": 50, "y": 50} offset = {"x": 10, "y": 5} session.url = origin_doc("width: 100px; height: 50px; background: green;") mouse_chain \ .pointer_move(start_point["x"], start_point["y"]) \ .pointer_move(offset["x"], offset["y"], origin="pointer") \ .perform() click_coords = session.execute_script("return window.coords;") > assert pytest.approx(click_coords["x"], start_point["x"] + offset["x"]) E KeyError: 'x' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:53: KeyError _____________________________ test_pointer_outside _____________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8afe76d0> def test_pointer_outside(session, mouse_chain): with pytest.raises(MoveTargetOutOfBoundsException): mouse_chain \ > .pointer_move(-50, -50, origin="pointer") \ .perform() E Failed: DID NOT RAISE <class 'webdriver.error.MoveTargetOutOfBoundsException'> ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:60: Failed __________________________ test_element_center_point ___________________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8af98cd0> def test_element_center_point(session, mouse_chain): session.url = origin_doc("width: 100px; height: 50px; background: green;") elem = session.find.css("#inner", all=False) > center = get_inview_center(elem.rect, get_viewport_rect(session)) E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:67: AttributeError ____________________ test_element_center_point_with_offset _____________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b187990> def test_element_center_point_with_offset(session, mouse_chain): session.url = origin_doc("width: 100px; height: 50px; background: green;") elem = session.find.css("#inner", all=False) > center = get_inview_center(elem.rect, get_viewport_rect(session)) E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:81: AttributeError _______________ test_element_in_view_center_point_partly_visible _______________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8af9ca50> def test_element_in_view_center_point_partly_visible(session, mouse_chain): session.url = origin_doc("""width: 100px; height: 50px; background: green; position: relative; left: -50px; top: -25px;""") elem = session.find.css("#inner", all=False) > center = get_inview_center(elem.rect, get_viewport_rect(session)) E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:96: AttributeError ______________________ test_element_larger_than_viewport _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8aff6690> def test_element_larger_than_viewport(session, mouse_chain): session.url = origin_doc("width: 300vw; height: 300vh; background: green;") elem = session.find.css("#inner", all=False) > center = get_inview_center(elem.rect, get_viewport_rect(session)) E AttributeError: 'dict' object has no attribute 'rect' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:110: AttributeError ______________________ test_element_outside_of_view_port _______________________ session = <Session bb93ff30c02495ba849c134ce7cc097c> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8b12f110> def test_element_outside_of_view_port(session, mouse_chain): session.url = origin_doc("""width: 100px; height: 50px; background: green; position: relative; left: -200px; top: -100px;""") elem = session.find.css("#inner", all=False) with pytest.raises(MoveTargetOutOfBoundsException): mouse_chain \ > .pointer_move(0, 0, origin=elem) \ .perform() E Failed: DID NOT RAISE <class 'webdriver.error.MoveTargetOutOfBoundsException'> ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_origin.py:128: Failed =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 9 failed, 1 warnings in 0.76 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 92 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_events.py E [ 1%] EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 79%] EEEEEEEEEEEEEEEEEEE [100%] ==================================== ERRORS ==================================== ______________ ERROR at setup of test_keyup_only_sends_no_events _______________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_keyup_only_sends_no_events'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_modifier_key_sends_correct_events[\ue00a-ALT] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue00a-ALT]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_modifier_key_sends_correct_events[\ue009-CONTROL] ___ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue009-CONTROL]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_modifier_key_sends_correct_events[\ue03d-META] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue03d-META]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_modifier_key_sends_correct_events[\ue008-SHIFT] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue008-SHIFT]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_modifier_key_sends_correct_events[\ue052-R_ALT] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue052-R_ALT]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError __ ERROR at setup of test_modifier_key_sends_correct_events[\ue051-R_CONTROL] __ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue051-R_CONTROL]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_modifier_key_sends_correct_events[\ue053-R_META] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue053-R_META]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_modifier_key_sends_correct_events[\ue050-R_SHIFT] ___ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_modifier_key_sends_correct_events[\\ue050-R_SHIFT]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_non_printable_key_sends_events[\ue00c-ESCAPE] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_non_printable_key_sends_events[\\ue00c-ESCAPE]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_non_printable_key_sends_events[\ue014-RIGHT] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_non_printable_key_sends_events[\\ue014-RIGHT]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[a-KeyA0] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[a-KeyA0]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[a-KeyA1] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[a-KeyA1]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events["-Quote] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events["-Quote]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[,-Comma] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[,-Comma]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_printable_key_sends_correct_events[\xe0-] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[\\xe0-]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[\u0416-] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[\\u0416-]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_printable_key_sends_correct_events[@-Digit2] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[@-Digit2]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[\u2603-] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[\\u2603-]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_printable_key_sends_correct_events[\uf6c2-] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_printable_key_sends_correct_events[\\uf6c2-]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_sequence_of_keydown_printable_keys_sends_events ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_sequence_of_keydown_printable_keys_sends_events'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _ ERROR at setup of test_sequence_of_keydown_printable_characters_sends_events _ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_sequence_of_keydown_printable_characters_sends_events'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD9-expected0] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD9-expected0]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[RETURN-expected1] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[RETURN-expected1]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[HELP-expected2] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[HELP-expected2]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[SHIFT-expected3] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[SHIFT-expected3]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_special_key_sends_keydown[R_ARROWRIGHT-expected4] ___ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_ARROWRIGHT-expected4]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[ESCAPE-expected5] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[ESCAPE-expected5]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[PAGE_UP-expected6] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[PAGE_UP-expected6]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[R_PAGEUP-expected7] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_PAGEUP-expected7]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ________ ERROR at setup of test_special_key_sends_keydown[UP-expected8] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[UP-expected8]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[DOWN-expected9] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[DOWN-expected9]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F12-expected10] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F12-expected10]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[META-expected11] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[META-expected11]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[BACKSPACE-expected12] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[BACKSPACE-expected12]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[MULTIPLY-expected13] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[MULTIPLY-expected13]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[HOME-expected14] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[HOME-expected14]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[NULL-expected15] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NULL-expected15]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[SUBTRACT-expected16] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[SUBTRACT-expected16]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[CONTROL-expected17] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[CONTROL-expected17]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[INSERT-expected18] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[INSERT-expected18]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[R_META-expected19] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_META-expected19]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[SEMICOLON-expected20] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[SEMICOLON-expected20]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[SPACE-expected21] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[SPACE-expected21]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD4-expected22] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD4-expected22]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[RIGHT-expected23] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[RIGHT-expected23]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[TAB-expected24] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[TAB-expected24]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[R_ALT-expected25] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_ALT-expected25]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD0-expected26] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD0-expected26]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[DECIMAL-expected27] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[DECIMAL-expected27]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[LEFT-expected28] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[LEFT-expected28]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[R_DELETE-expected29] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_DELETE-expected29]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[PAGE_DOWN-expected30] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[PAGE_DOWN-expected30]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[PAUSE-expected31] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[PAUSE-expected31]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[END-expected32] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[END-expected32]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[DIVIDE-expected33] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[DIVIDE-expected33]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[R_ARROWUP-expected34] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_ARROWUP-expected34]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD3-expected35] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD3-expected35]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[CLEAR-expected36] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[CLEAR-expected36]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_special_key_sends_keydown[R_ARROWLEFT-expected37] ___ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_ARROWLEFT-expected37]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[EQUALS-expected38] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[EQUALS-expected38]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_special_key_sends_keydown[R_PAGEDOWN-expected39] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_PAGEDOWN-expected39]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[ADD-expected40] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[ADD-expected40]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD1-expected41] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD1-expected41]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[R_INSERT-expected42] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_INSERT-expected42]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[ENTER-expected43] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[ENTER-expected43]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[CANCEL-expected44] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[CANCEL-expected44]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD6-expected45] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD6-expected45]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F10-expected46] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F10-expected46]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F11-expected47] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F11-expected47]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ______ ERROR at setup of test_special_key_sends_keydown[R_END-expected48] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_END-expected48]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD7-expected49] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD7-expected49]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD2-expected50] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD2-expected50]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F1-expected51] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F1-expected51]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F2-expected52] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F2-expected52]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F3-expected53] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F3-expected53]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F4-expected54] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F4-expected54]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F5-expected55] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F5-expected55]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F6-expected56] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F6-expected56]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F7-expected57] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F7-expected57]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F8-expected58] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F8-expected58]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[F9-expected59] ________ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[F9-expected59]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD8-expected60] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD8-expected60]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[NUMPAD5-expected61] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[NUMPAD5-expected61]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[R_CONTROL-expected62] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_CONTROL-expected62]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[R_HOME-expected63] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_HOME-expected63]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _ ERROR at setup of test_special_key_sends_keydown[ZENKAKUHANKAKU-expected64] __ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[ZENKAKUHANKAKU-expected64]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[R_SHIFT-expected65] _____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_SHIFT-expected65]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ____ ERROR at setup of test_special_key_sends_keydown[SEPARATOR-expected66] ____ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[SEPARATOR-expected66]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _______ ERROR at setup of test_special_key_sends_keydown[ALT-expected67] _______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[ALT-expected67]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError ___ ERROR at setup of test_special_key_sends_keydown[R_ARROWDOWN-expected68] ___ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[R_ARROWDOWN-expected68]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError _____ ERROR at setup of test_special_key_sends_keydown[DELETE-expected69] ______ session = <Session bb93ff30c02495ba849c134ce7cc097c>, test_actions_page = None request = <SubRequest 'key_reporter' for <Function 'test_special_key_sends_keydown[DELETE-expected69]'>> @pytest.fixture def key_reporter(session, test_actions_page, request): """Represents focused input element from `test_keys_page` fixture.""" input_el = session.find.css("#keys", all=False) > input_el.click() E AttributeError: 'dict' object has no attribute 'click' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/conftest.py:33: AttributeError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 warnings, 92 error in 6.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.87 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_modifiers.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.88 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_shortcuts.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.47 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.65 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/none.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.76 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_contextmenu.py F [ 33%] FF [100%] =================================== FAILURES =================================== ______________________ test_control_click[\ue009-ctrlKey] ______________________ session = <Session a16eb9190502562adb8abb9193d85997>, test_actions_page = None key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a86c450> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8a86c4d0> modifier = '', prop = 'ctrlKey' @pytest.mark.parametrize("modifier, prop", [ (Keys.CONTROL, "ctrlKey"), (Keys.R_CONTROL, "ctrlKey"), ]) def test_control_click(session, test_actions_page, key_chain, mouse_chain, modifier, prop): os = session.capabilities["platformName"] key_chain \ .pause(0) \ .key_down(modifier) \ .pause(200) \ .key_up(modifier) outer = session.find.css("#outer", all=False) mouse_chain.click(element=outer) session.actions.perform([key_chain.dict, mouse_chain.dict]) if os == "windows": expected = [ {"type": "mousemove"}, {"type": "mousedown"}, {"type": "mouseup"}, {"type": "click"}, ] else: expected = [ {"type": "mousemove"}, {"type": "mousedown"}, {"type": "contextmenu"}, {"type": "mouseup"}, ] defaults = { "altKey": False, "metaKey": False, "shiftKey": False, "ctrlKey": False } for e in expected: e.update(defaults) if e["type"] != "mousemove": e[prop] = True filtered_events = [filter_dict(e, expected[0]) for e in get_events(session)] > assert expected == filtered_events E AssertionError: assert [{'altKey': F...: False, ...}] == [{'altKey': Fa...: False, ...}] E At index 2 diff: {'altKey': False, 'shiftKey': False, 'metaKey': False, 'type': 'contextmenu', 'ctrlKey': True} != {'altKey': False, 'shiftKey': False, 'metaKey': False, 'type': u'mouseup', 'ctrlKey': True} E Use -v to get the full diff ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_contextmenu.py:46: AssertionError ______________________ test_control_click[\ue051-ctrlKey] ______________________ session = <Session a16eb9190502562adb8abb9193d85997>, test_actions_page = None key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a8b0650> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8a8b03d0> modifier = '', prop = 'ctrlKey' @pytest.mark.parametrize("modifier, prop", [ (Keys.CONTROL, "ctrlKey"), (Keys.R_CONTROL, "ctrlKey"), ]) def test_control_click(session, test_actions_page, key_chain, mouse_chain, modifier, prop): os = session.capabilities["platformName"] key_chain \ .pause(0) \ .key_down(modifier) \ .pause(200) \ .key_up(modifier) outer = session.find.css("#outer", all=False) mouse_chain.click(element=outer) session.actions.perform([key_chain.dict, mouse_chain.dict]) if os == "windows": expected = [ {"type": "mousemove"}, {"type": "mousedown"}, {"type": "mouseup"}, {"type": "click"}, ] else: expected = [ {"type": "mousemove"}, {"type": "mousedown"}, {"type": "contextmenu"}, {"type": "mouseup"}, ] defaults = { "altKey": False, "metaKey": False, "shiftKey": False, "ctrlKey": False } for e in expected: e.update(defaults) if e["type"] != "mousemove": e[prop] = True filtered_events = [filter_dict(e, expected[0]) for e in get_events(session)] > assert expected == filtered_events E AssertionError: assert [{'altKey': F...: False, ...}] == [{'altKey': Fa...: False, ...}] E At index 2 diff: {'altKey': False, 'shiftKey': False, 'metaKey': False, 'type': 'contextmenu', 'ctrlKey': True} != {'altKey': False, 'shiftKey': False, 'metaKey': False, 'type': u'mouseup', 'ctrlKey': True} E Use -v to get the full diff ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_contextmenu.py:46: AssertionError __________________________ test_release_control_click __________________________ session = <Session a16eb9190502562adb8abb9193d85997> key_reporter = <Element 8e625000-7627-48f3-821e-b5939de70be7> key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a85f810> mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8a85f990> def test_release_control_click(session, key_reporter, key_chain, mouse_chain): # The context menu stays visible during subsequent tests so let's not # display it in the first place. session.execute_script(""" var keyReporter = document.getElementById("keys"); document.addEventListener("contextmenu", function(e) { e.preventDefault(); }); """) key_chain \ .pause(0) \ .key_down(Keys.CONTROL) mouse_chain \ .pointer_move(0, 0, origin=key_reporter) \ .pointer_down() session.actions.perform([key_chain.dict, mouse_chain.dict]) session.execute_script(""" var keyReporter = document.getElementById("keys"); keyReporter.addEventListener("mousedown", recordPointerEvent); keyReporter.addEventListener("mouseup", recordPointerEvent); resetEvents(); """) session.actions.release() expected = [ {"type": "mouseup"}, {"type": "keyup"}, ] events = [filter_dict(e, expected[0]) for e in get_events(session)] > assert events == expected E AssertionError: assert [{'type': 'keyup'}] == [{'type': 'mouseup'}, {'type': 'keyup'}] E At index 0 diff: {'type': u'keyup'} != {'type': 'mouseup'} E Right contains more items, first extra item: {'type': 'keyup'} E Use -v to get the full diff ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_contextmenu.py:77: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 failed, 1 warnings in 1.76 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_modifier_click.py . [ 14%] ...... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 7 passed, 1 warnings in 6.15 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_special_keys.py F [ 12%] FFF.... [100%] =================================== FAILURES =================================== _______________ test_codepoint_keys_behave_correctly[\U0001f604] _______________ session = <Session a16eb9190502562adb8abb9193d85997> key_reporter = <Element 0ef289ef-f632-465b-85ce-c0b38c0ccced> key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a7a1cd0> value = '😄' @pytest.mark.parametrize("value", [ (u"\U0001F604"), (u"\U0001F60D"), (u"\u0BA8\u0BBF"), (u"\u1100\u1161\u11A8"), ]) def test_codepoint_keys_behave_correctly(session, key_reporter, key_chain, value): # Not using key_chain.send_keys() because we always want to treat value as # one character here. `len(value)` varies by platform for non-BMP characters, # so we don't want to iterate over value. key_chain \ .key_down(value) \ .key_up(value) \ .perform() # events sent by major browsers are inconsistent so only check key value > assert get_keys(key_reporter) == value E AssertionError: assert '\uf604' == '\U0001f604' E - \uf604 E + \U0001f604 ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_special_keys.py:24: AssertionError _______________ test_codepoint_keys_behave_correctly[\U0001f60d] _______________ session = <Session a16eb9190502562adb8abb9193d85997> key_reporter = <Element d6e17d5d-2243-4b4c-b488-412eccf5698c> key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a7a72d0> value = '😍' @pytest.mark.parametrize("value", [ (u"\U0001F604"), (u"\U0001F60D"), (u"\u0BA8\u0BBF"), (u"\u1100\u1161\u11A8"), ]) def test_codepoint_keys_behave_correctly(session, key_reporter, key_chain, value): # Not using key_chain.send_keys() because we always want to treat value as # one character here. `len(value)` varies by platform for non-BMP characters, # so we don't want to iterate over value. key_chain \ .key_down(value) \ .key_up(value) \ .perform() # events sent by major browsers are inconsistent so only check key value > assert get_keys(key_reporter) == value E AssertionError: assert '\uf60d' == '\U0001f60d' E - \uf60d E + \U0001f60d ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_special_keys.py:24: AssertionError ______________ test_codepoint_keys_behave_correctly[\u0ba8\u0bbf] ______________ session = <Session a16eb9190502562adb8abb9193d85997> key_reporter = <Element 658cda1c-06f6-4f0a-8fe5-e8a502bb96ea> key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a7c5bd0> value = 'நி' @pytest.mark.parametrize("value", [ (u"\U0001F604"), (u"\U0001F60D"), (u"\u0BA8\u0BBF"), (u"\u1100\u1161\u11A8"), ]) def test_codepoint_keys_behave_correctly(session, key_reporter, key_chain, value): # Not using key_chain.send_keys() because we always want to treat value as # one character here. `len(value)` varies by platform for non-BMP characters, # so we don't want to iterate over value. key_chain \ .key_down(value) \ > .key_up(value) \ .perform() ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_special_keys.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:115: in perform self.session.actions.perform([self.dict]) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:221: in perform return self.session.send_session_command("POST", "actions", body) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session a16eb9190502562adb8abb9193d85997>, method = 'POST' url = 'session/a16eb9190502562adb8abb9193d85997/actions' body = {'actions': [{'actions': [{'type': 'keyDown', 'value': 'நி'}, {'type': 'keyUp', 'value': 'நி'}], 'id': 'keyboard_id', 'type': 'key'}]} def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E InvalidArgumentException: invalid argument (400): from invalid argument: 'value' must be a single Unicode code point E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16088416f ProcessInputActionSequence() E #4 0x55d160884f1f ExecutePerformActions() E #5 0x55d160875c62 base::internal::Invoker<>::Run() E #6 0x55d16087f807 ExecuteWindowCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: InvalidArgumentException ___________ test_codepoint_keys_behave_correctly[\u1100\u1161\u11a8] ___________ session = <Session a16eb9190502562adb8abb9193d85997> key_reporter = <Element 7d6fc111-8e35-4761-aa19-e4e531b90ea5> key_chain = <webdriver.client.ActionSequence object at 0x7f7c8a74ce90> value = '각' @pytest.mark.parametrize("value", [ (u"\U0001F604"), (u"\U0001F60D"), (u"\u0BA8\u0BBF"), (u"\u1100\u1161\u11A8"), ]) def test_codepoint_keys_behave_correctly(session, key_reporter, key_chain, value): # Not using key_chain.send_keys() because we always want to treat value as # one character here. `len(value)` varies by platform for non-BMP characters, # so we don't want to iterate over value. key_chain \ .key_down(value) \ > .key_up(value) \ .perform() ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/key_special_keys.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:115: in perform self.session.actions.perform([self.dict]) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:221: in perform return self.session.send_session_command("POST", "actions", body) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session a16eb9190502562adb8abb9193d85997>, method = 'POST' url = 'session/a16eb9190502562adb8abb9193d85997/actions' body = {'actions': [{'actions': [{'type': 'keyDown', 'value': '각'}, {'type': 'keyUp', 'value': '각'}], 'id': 'keyboard_id', 'type': 'key'}]} def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E InvalidArgumentException: invalid argument (400): from invalid argument: 'value' must be a single Unicode code point E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16088416f ProcessInputActionSequence() E #4 0x55d160884f1f ExecutePerformActions() E #5 0x55d160875c62 base::internal::Invoker<>::Run() E #6 0x55d16087f807 ExecuteWindowCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: InvalidArgumentException =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 4 failed, 4 passed, 1 warnings in 3.81 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_pause_dblclick.py F [ 50%] . [100%] =================================== FAILURES =================================== ______________ test_dblclick_with_pause_after_second_pointerdown _______________ session = <Session a16eb9190502562adb8abb9193d85997>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c8a758b10> def test_dblclick_with_pause_after_second_pointerdown(session, test_actions_page, mouse_chain): outer = session.find.css("#outer", all=False) center = get_inview_center(outer.rect, get_viewport_rect(session)) mouse_chain \ .pointer_move(int(center["x"]), int(center["y"])) \ .click() \ .pointer_down() \ .pause(_DBLCLICK_INTERVAL + 10) \ .pointer_up() \ .perform() events = get_events(session) expected = [ {"type": "mousedown", "button": 0}, {"type": "mouseup", "button": 0}, {"type": "click", "button": 0}, {"type": "mousedown", "button": 0}, {"type": "mouseup", "button": 0}, {"type": "click", "button": 0}, {"type": "dblclick", "button": 0}, ] > assert len(events) == 8 E AssertionError: assert 7 == 8 E + where 7 = len([{'altKey': False, 'button': 0, 'buttons': 0, 'ctrlKey': False, ...}, {'altKey': False, 'button': 0, 'buttons': 1, 'ct...on': 0, 'buttons': 1, 'ctrlKey': False, ...}, {'altKey': False, 'button': 0, 'buttons': 0, 'ctrlKey': False, ...}, ...]) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/pointer_pause_dblclick.py:27: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 1 passed, 1 warnings in 2.15 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/test_actions_wdspec.html (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/test_actions_wdspec.html' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/mouse.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/mouse.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/keys.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/keys.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/refine.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions/support/refine.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/screenshot.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.26 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py F [ 5%] FFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== _______________________ test_accept[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a5ea050> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 7a5c3f02e75e10fb68d3e812ac855ebd>, method = 'GET' url = 'session/7a5c3f02e75e10fb68d3e812ac855ebd/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_accept[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a5ea758> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 7a5c3f02e75e10fb68d3e812ac855ebd>, method = 'GET' url = 'session/7a5c3f02e75e10fb68d3e812ac855ebd/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_accept[capabilities0-prompt] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cb578> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session 7a5c3f02e75e10fb68d3e812ac855ebd>, method = 'GET' url = 'session/7a5c3f02e75e10fb68d3e812ac855ebd/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _________________ test_accept_and_notify[capabilities0-alert] __________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cb758> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_accept_and_notify[capabilities0-confirm] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cba28> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _________________ test_accept_and_notify[capabilities0-prompt] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbb18> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_accept_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_dismiss[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbc80> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session bef3329fa2b6ac1e80a6d79a4f88ea14>, method = 'GET' url = 'session/bef3329fa2b6ac1e80a6d79a4f88ea14/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _____________________ test_dismiss[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbde8> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session bef3329fa2b6ac1e80a6d79a4f88ea14>, method = 'GET' url = 'session/bef3329fa2b6ac1e80a6d79a4f88ea14/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException ______________________ test_dismiss[capabilities0-prompt] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbc08> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:32: in check_user_prompt_not_closed_without_exception assert session.alert.text == dialog_type ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:20: in inner return func(self, *args, **kwargs) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:354: in text return self.session.send_session_command("GET", "alert/text") ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:508: in send_session_command return self.send_command(method, url, body) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Session bef3329fa2b6ac1e80a6d79a4f88ea14>, method = 'GET' url = 'session/bef3329fa2b6ac1e80a6d79a4f88ea14/alert/text', body = None def send_command(self, method, url, body=None): """ Send a command to the remote end and validate its success. :param method: HTTP method to use in request. :param uri: "Command part" of the HTTP request URL, e.g. `window/rect`. :param body: Optional body of the HTTP request. :return: `None` if the HTTP response body was empty, otherwise the `value` field returned after parsing the response body as JSON. :raises error.WebDriverException: If the remote end returns an error. :raises ValueError: If the response body does not contain a `value` key. """ response = self.transport.send( method, url, body, encoder=protocol.Encoder, decoder=protocol.Decoder, session=self) if response.status != 200: err = error.from_response(response) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None > raise err E NoSuchAlertException: no such alert (404): (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608d9ef2 Status::Status() E #3 0x55d1608d5bb4 JavaScriptDialogManager::GetDialogMessage() E #4 0x55d1608417b8 ExecuteGetAlertText() E #5 0x55d160875cbb base::internal::Invoker<>::Run() E #6 0x55d1608416e0 ExecuteAlertCommand() E #7 0x55d160875b33 base::internal::Invoker<>::Run() E #8 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #9 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #10 0x55d1609e0845 base::TaskAnnotator::RunTask() E #11 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #12 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #13 0x55d1609bafaa base::MessagePumpDefault::Run() E #14 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #15 0x55d1609cb1bd base::RunLoop::Run() E #16 0x55d1609fbb8f base::Thread::ThreadMain() E #17 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #18 0x7f4ce222b184 start_thread E #19 0x7f4ce0a4f03d clone ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/client.py:472: NoSuchAlertException _________________ test_dismiss_and_notify[capabilities0-alert] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbb90> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_dismiss_and_notify[capabilities0-confirm] ________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4500> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ________________ test_dismiss_and_notify[capabilities0-prompt] _________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4758> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_dismiss_and_notify(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _______________________ test_ignore[capabilities0-alert] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4a28> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_ignore[capabilities0-confirm] ______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4c80> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ______________________ test_ignore[capabilities0-prompt] _______________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4de8> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _____________________________ test_default[alert] ______________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4cbcf8> dialog_type = 'alert' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : alert} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError ____________________________ test_default[confirm] _____________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4140> dialog_type = 'confirm' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : confirm} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _____________________________ test_default[prompt] _____________________________ check_user_prompt_not_closed_without_exception = <function check_user_prompt_not_closed_without_exception at 0x7f7c8a4f4e60> dialog_type = 'prompt' @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_default(check_user_prompt_not_closed_without_exception, dialog_type): > check_user_prompt_not_closed_without_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/take_element_screenshot/user_prompts.py:28: in check_user_prompt_not_closed_without_exception value = assert_success(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unexpected alert open (500): {Alert text : prompt} E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d16087f6a1 ExecuteWindowCommand() E #4 0x55d160875b33 base::internal::Invoker<>::Run() E #5 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #6 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #7 0x55d1609e0845 base::TaskAnnotator::RunTask() E #8 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #9 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #10 0x55d1609bafaa base::MessagePumpDefault::Run() E #11 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #12 0x55d1609cb1bd base::RunLoop::Run() E #13 0x55d1609fbb8f base::Thread::ThreadMain() E #14 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #15 0x7f4ce222b184 start_thread E #16 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 failed, 1 warnings in 10.23 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py F [ 25%] FFF [100%] =================================== FAILURES =================================== _________________________________ test_new_tab _________________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_new_tab(session): original_handles = session.handles > response = new_window(session, type_hint="tab") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a5f6518> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ________________________ test_new_tab_opens_about_blank ________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_new_tab_opens_about_blank(session): > response = new_window(session, type_hint="tab") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a549518> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_new_tab_sets_no_window_name _______________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_new_tab_sets_no_window_name(session): > response = new_window(session, type_hint="tab") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3ea0e0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _________________________ test_new_tab_sets_no_opener __________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_new_tab_sets_no_opener(session): > response = new_window(session, type_hint="tab") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_tab.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a4884d0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 failed, 1 warnings in 1.44 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py F [ 11%] FFFFFFFF [100%] =================================== FAILURES =================================== __________________________ test_null_parameter_value ___________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> http = <tests.support.http_request.HTTPRequest object at 0x7f7c8a3b6310> def test_null_parameter_value(session, http): path = "/session/{session_id}/window/new".format(**vars(session)) with http.post(path, None) as response: > assert_error(Response.from_http(response), "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a4097e8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________________ test_no_browsing_context ___________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> closed_window = 'CDwindow-C10D7C3B7F6068FB21782C5597046047' def test_no_browsing_context(session, closed_window): > response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a4bc2d8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________________ test_type_with_invalid_type[True] _______________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3>, type_hint = True @pytest.mark.parametrize("type_hint", [True, 42, 4.2, [], {}]) def test_type_with_invalid_type(session, type_hint): > response = new_window(session, type_hint) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a42cb90> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_type_with_invalid_type[42] ________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3>, type_hint = 42 @pytest.mark.parametrize("type_hint", [True, 42, 4.2, [], {}]) def test_type_with_invalid_type(session, type_hint): > response = new_window(session, type_hint) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3c40e0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_type_with_invalid_type[4.2] _______________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3>, type_hint = 4.2 @pytest.mark.parametrize("type_hint", [True, 42, 4.2, [], {}]) def test_type_with_invalid_type(session, type_hint): > response = new_window(session, type_hint) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a47abd8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_type_with_invalid_type[type_hint3] ____________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3>, type_hint = [] @pytest.mark.parametrize("type_hint", [True, 42, 4.2, [], {}]) def test_type_with_invalid_type(session, type_hint): > response = new_window(session, type_hint) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3955f0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_type_with_invalid_type[type_hint4] ____________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3>, type_hint = {} @pytest.mark.parametrize("type_hint", [True, 42, 4.2, [], {}]) def test_type_with_invalid_type(session, type_hint): > response = new_window(session, type_hint) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a770488> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError __________________________ test_type_with_null_value ___________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_type_with_null_value(session): original_handles = session.handles > response = new_window(session, type_hint=None) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a770fc8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _________________________ test_type_with_unknown_value _________________________ session = <Session 6d0380d64d1b525d9489ff11ef96c2f3> def test_type_with_unknown_value(session): original_handles = session.handles > response = new_window(session, type_hint="foo") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8aa776c8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 9 failed, 1 warnings in 3.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py F [ 5%] FFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== ____________________ test_accept[capabilities0-alert-None] _____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a5ea5f0> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a616638> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_accept[capabilities0-confirm-True] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a5ea410> dialog_type = 'confirm', retval = True @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a56ebd8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________________ test_accept[capabilities0-prompt-] ______________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a5ea0c8> dialog_type = 'prompt', retval = '' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:76: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3950e0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________ test_accept_and_notify[capabilities0-alert-None] _______________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a7af500> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a779998> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________ test_accept_and_notify[capabilities0-confirm-True] ______________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3ac500> dialog_type = 'confirm', retval = True @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a6dbd88> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ________________ test_accept_and_notify[capabilities0-prompt-] _________________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3ac848> dialog_type = 'prompt', retval = '' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a8512d8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ____________________ test_dismiss[capabilities0-alert-None] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a3aca28> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a6d6cb0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError __________________ test_dismiss[capabilities0-confirm-False] ___________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a3acb18> dialog_type = 'confirm', retval = False @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a63eb48> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_dismiss[capabilities0-prompt-None] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c8a7af500> dialog_type = 'prompt', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:21: in check_user_prompt_closed_without_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a56ebd8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________ test_dismiss_and_notify[capabilities0-alert-None] _______________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3ac848> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a7049e0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_dismiss_and_notify[capabilities0-confirm-False] _____________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3ac410> dialog_type = 'confirm', retval = False @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a77a2d8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________ test_dismiss_and_notify[capabilities0-prompt-None] ______________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3acd70> dialog_type = 'prompt', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a6f0ef0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_ignore[capabilities0-alert] _______________________ check_user_prompt_not_closed_but_exception = <function check_user_prompt_not_closed_but_exception at 0x7f7c8a3ac500> dialog_type = 'alert' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_but_exception, dialog_type): > check_user_prompt_not_closed_but_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:58: in check_user_prompt_not_closed_but_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a6ca950> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________________ test_ignore[capabilities0-confirm] ______________________ check_user_prompt_not_closed_but_exception = <function check_user_prompt_not_closed_but_exception at 0x7f7c8a3ac938> dialog_type = 'confirm' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_but_exception, dialog_type): > check_user_prompt_not_closed_but_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:58: in check_user_prompt_not_closed_but_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a8b8908> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________________ test_ignore[capabilities0-prompt] _______________________ check_user_prompt_not_closed_but_exception = <function check_user_prompt_not_closed_but_exception at 0x7f7c8b09e320> dialog_type = 'prompt' @pytest.mark.capabilities({"unhandledPromptBehavior": "ignore"}) @pytest.mark.parametrize("dialog_type", ["alert", "confirm", "prompt"]) def test_ignore(check_user_prompt_not_closed_but_exception, dialog_type): > check_user_prompt_not_closed_but_exception(dialog_type) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:58: in check_user_prompt_not_closed_but_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a76f680> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________________ test_default[alert-None] ___________________________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a3ac8c0> dialog_type = 'alert', retval = None @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_default(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a616c20> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _________________________ test_default[confirm-False] __________________________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a7400c8> dialog_type = 'confirm', retval = False @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_default(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8af9d170> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError __________________________ test_default[prompt-None] ___________________________ check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x7f7c8a740578> dialog_type = 'prompt', retval = None @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_default(check_user_prompt_closed_with_exception, dialog_type, retval): > check_user_prompt_closed_with_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:41: in check_user_prompt_closed_with_exception response = new_window(session) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/user_prompts.py:11: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3af6c8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 failed, 1 warnings in 8.87 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py F [ 25%] FFF [100%] =================================== FAILURES =================================== ____________________________ test_type_with_window _____________________________ session = <Session cf684d8470216a741dc011c54e152d48> def test_type_with_window(session): original_handles = session.handles > response = new_window(session, type_hint="window") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a8d4878> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ______________________ test_new_window_opens_about_blank _______________________ session = <Session cf684d8470216a741dc011c54e152d48> def test_new_window_opens_about_blank(session): > response = new_window(session, type_hint="window") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a3c8908> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_new_window_sets_no_window_name ______________________ session = <Session cf684d8470216a741dc011c54e152d48> def test_new_window_sets_no_window_name(session): > response = new_window(session, type_hint="window") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a5f60e0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ________________________ test_new_window_sets_no_opener ________________________ session = <Session cf684d8470216a741dc011c54e152d48> def test_new_window_sets_no_opener(session): > response = new_window(session, type_hint="window") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_window/new_window.py:9: in new_window {"type": type_hint}) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8a720ab8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 failed, 1 warnings in 1.44 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 6 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/accept_alert/accept.py . [ 16%] ..... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 6 passed, 1 warnings in 2.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/close_window/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.24 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/close_window/close.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 2.04 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 6 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/refresh/refresh.py . [ 16%] ..... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 6 passed, 1 warnings in 2.73 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/refresh/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.98 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/maximize_window/stress.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 5 passed, 1 warnings in 19.00 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/maximize_window/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.06 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/maximize_window/maximize.py . [ 14%] F....F [100%] =================================== FAILURES =================================== __________________________ test_fully_exit_fullscreen __________________________ session = <Session 98cca98d2c70a10b030dd56d3255b559> def test_fully_exit_fullscreen(session): session.window.fullscreen() > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session 98cca98d2c70a10b030dd56d3255b559>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/maximize_window/maximize.py:19: AssertionError ____________________ test_maximize_when_resized_to_max_size ____________________ session = <Session 01e23ab590f5070f338c9dba41862125> def test_maximize_when_resized_to_max_size(session): # Determine the largest available window size by first maximising # the window and getting the window rect dimensions. # # Then resize the window to the maximum available size. session.end() session.window.maximize() available = session.window.size session.end() session.window.size = available # In certain window managers a window extending to the full available # dimensions of the screen may not imply that the window is maximised, # since this is often a special state. If a remote end expects a DOM # resize event, this may not fire if the window has already reached # its expected dimensions. before = session.window.size session.window.maximize() > assert session.window.size == before E assert (1280, 800) == (1279, 799) E At index 0 diff: 1280 != 1279 E Use -v to get the full diff ../../third_party/blink/web_tests/external/wpt/webdriver/tests/maximize_window/maximize.py:93: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 2 failed, 5 passed, 1 warnings in 4.86 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_page_source/source.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.80 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_page_source/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.57 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.62 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 81 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/clear.py . [ 1%] ...........................................................FF..........F [ 90%] ...F.... [100%] =================================== FAILURES =================================== _____________________________ test_contenteditable _____________________________ session = <Session f603235d5a74a73bbaaabc892d5fafba> add_event_listeners = <function add_event_listeners at 0x7f7c89e640c8> tracked_events = ['blur', 'change', 'focus'] def test_contenteditable(session, add_event_listeners, tracked_events): session.url = inline("<p contenteditable>foobar</p>") element = session.find.css("p", all=False) add_event_listeners(element, tracked_events) assert element.property("innerHTML") == "foobar" response = element_clear(session, element) assert_success(response) > assert element.property("innerHTML") == "" E AssertionError: assert ' ' == '' E Strings contain only whitespace, escaping them using repr() E - ' ' E ? - E + '' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/clear.py:269: AssertionError _______________________________ test_designmode ________________________________ session = <Session f603235d5a74a73bbaaabc892d5fafba> def test_designmode(session): session.url = inline("foobar") element = session.find.css("body", all=False) assert element.property("innerHTML") == "foobar" session.execute_script("document.designMode = 'on'") response = element_clear(session, element) assert_success(response) > assert element.property("innerHTML") == "<br>" E AssertionError: assert ' ' == '<br>' E Strings contain only whitespace, escaping them using repr() E - ' ' E + '<br>' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/clear.py:282: AssertionError __ test_resettable_element_does_not_satisfy_validation_constraints[month-foo] __ session = <Session f603235d5a74a73bbaaabc892d5fafba>, type = 'month' invalid_value = 'foo' @pytest.mark.parametrize("type,invalid_value", [("number", "foo"), ("range", "foo"), ("email", "foo"), ("url", "foo"), ("color", "foo"), ("date", "foo"), ("datetime", "foo"), ("datetime-local", "foo"), ("time", "foo"), ("month", "foo"), ("week", "foo")]) def test_resettable_element_does_not_satisfy_validation_constraints(session, type, invalid_value): """ Some UAs allow invalid input to certain types of constrained form controls. For example, Gecko allows non-valid characters to be typed into <input type=number> but Chrome does not. Since we want to test that Element Clear works for clearing the invalid characters in these UAs, it is fine to skip this test where UAs do not allow the element to not satisfy its constraints. """ session.url = inline("<input type=%s>" % type) element = session.find.css("input", all=False) def is_valid(element): return session.execute_script(""" var input = arguments[0]; return input.validity.valid; """, args=(element,)) # value property does not get updated if the input is invalid element.send_keys(invalid_value) # UA does not allow invalid input for this form control type if is_valid(element): return response = element_clear(session, element) assert_success(response) > assert is_valid(element) E assert False E + where False = <function is_valid at 0x7f7c89e64938>(<Element 455e59da-4464-4001-a0bc-cf911c8f2976>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/clear.py:337: AssertionError _______________________ test_non_editable_inputs[hidden] _______________________ session = <Session f603235d5a74a73bbaaabc892d5fafba>, type = 'hidden' @pytest.mark.parametrize("type", ["checkbox", "radio", "hidden", "submit", "button", "image"]) def test_non_editable_inputs(session, type): session.url = inline("<input type=%s>" % type) element = session.find.css("input", all=False) response = element_clear(session, element) > assert_error(response, "invalid element state") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_clear/clear.py:352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<WebDriverException http_status=400>> error_code = 'invalid element state' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ assert response.status == errors[error_code] assert "value" in response.body > assert response.body["value"]["error"] == error_code E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:52: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 4 failed, 77 passed, 1 warnings in 34.94 seconds =============== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_current_url/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.64 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_current_url/get.py . [ 11%] ....F... [100%] =================================== FAILURES =================================== ____________________________ test_set_malformed_url ____________________________ session = <Session da018a57840843ce76e10fd99365c56a> def test_set_malformed_url(session): result = session.transport.send("POST", "session/%s/url" % session.session_id, {"url": "foo"}) > assert_error(result, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_current_url/get.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnknownErrorException http_status=500>> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 8 passed, 1 warnings in 3.67 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_alert_text/get.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 passed, 1 warnings in 1.92 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/fullscreen.py . [ 25%] F.F [100%] =================================== FAILURES =================================== _______________________________ test_fullscreen ________________________________ session = <Session da018a57840843ce76e10fd99365c56a> def test_fullscreen(session): response = fullscreen(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/fullscreen.py:19: AssertionError _____________________ test_fullscreen_twice_is_idempotent ______________________ session = <Session da018a57840843ce76e10fd99365c56a> def test_fullscreen_twice_is_idempotent(session): assert not is_fullscreen(session) first_response = fullscreen(session) assert_success(first_response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/fullscreen.py:44: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 2 failed, 2 passed, 1 warnings in 2.13 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py F [ 20%] FFFF [100%] =================================== FAILURES =================================== ________________________________ test_stress[0] ________________________________ session = <Session da018a57840843ce76e10fd99365c56a>, i = 0 @pytest.mark.parametrize("i", range(5)) def test_stress(session, i): assert not is_fullscreen(session) response = fullscreen_window(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py:19: AssertionError ________________________________ test_stress[1] ________________________________ session = <Session da018a57840843ce76e10fd99365c56a>, i = 1 @pytest.mark.parametrize("i", range(5)) def test_stress(session, i): assert not is_fullscreen(session) response = fullscreen_window(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py:19: AssertionError ________________________________ test_stress[2] ________________________________ session = <Session da018a57840843ce76e10fd99365c56a>, i = 2 @pytest.mark.parametrize("i", range(5)) def test_stress(session, i): assert not is_fullscreen(session) response = fullscreen_window(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py:19: AssertionError ________________________________ test_stress[3] ________________________________ session = <Session da018a57840843ce76e10fd99365c56a>, i = 3 @pytest.mark.parametrize("i", range(5)) def test_stress(session, i): assert not is_fullscreen(session) response = fullscreen_window(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py:19: AssertionError ________________________________ test_stress[4] ________________________________ session = <Session da018a57840843ce76e10fd99365c56a>, i = 4 @pytest.mark.parametrize("i", range(5)) def test_stress(session, i): assert not is_fullscreen(session) response = fullscreen_window(session) assert_success(response) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session da018a57840843ce76e10fd99365c56a>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/stress.py:19: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 failed, 1 warnings in 2.86 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py F [ 5%] FF...FFF......... [100%] =================================== FAILURES =================================== ____________________ test_accept[capabilities0-alert-None] _____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89c25668> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'alert', retval = None def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session 096ecdbe77d76d127a77e9a8a2943fe7>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError ___________________ test_accept[capabilities0-confirm-True] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89c25c08> dialog_type = 'confirm', retval = True @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'confirm', retval = True def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session 096ecdbe77d76d127a77e9a8a2943fe7>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError ______________________ test_accept[capabilities0-prompt-] ______________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89c25e60> dialog_type = 'prompt', retval = '' @pytest.mark.capabilities({"unhandledPromptBehavior": "accept"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", True), ("prompt", ""), ]) def test_accept(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'prompt', retval = '' def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session 096ecdbe77d76d127a77e9a8a2943fe7>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError ____________________ test_dismiss[capabilities0-alert-None] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89c25f50> dialog_type = 'alert', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'alert', retval = None def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session ca4729615863be44a3bb5e1c0ae923e1>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError __________________ test_dismiss[capabilities0-confirm-False] ___________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89ae0488> dialog_type = 'confirm', retval = False @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'confirm', retval = False def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session ca4729615863be44a3bb5e1c0ae923e1>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError ___________________ test_dismiss[capabilities0-prompt-None] ____________________ check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception at 0x7f7c89ae0668> dialog_type = 'prompt', retval = None @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"}) @pytest.mark.parametrize("dialog_type, retval", [ ("alert", None), ("confirm", False), ("prompt", None), ]) def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval): > check_user_prompt_closed_without_exception(dialog_type, retval) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dialog_type = 'prompt', retval = None def check_user_prompt_closed_without_exception(dialog_type, retval): assert not is_fullscreen(session) create_dialog(dialog_type, text=dialog_type) response = fullscreen(session) assert_success(response) assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval) > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session ca4729615863be44a3bb5e1c0ae923e1>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/fullscreen_window/user_prompts.py:25: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 6 failed, 12 passed, 1 warnings in 10.40 seconds =============== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 6 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/dismiss_alert/dismiss.py . [ 16%] ..... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 6 passed, 1 warnings in 2.31 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_elements_from_element/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.95 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 37 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_elements_from_element/find.py . [ 2%] .................................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 37 passed, 1 warnings in 15.02 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 6 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/cyclic.py . [ 16%] ..... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 6 passed, 1 warnings in 2.17 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/execute.py . [ 11%] .F...... [100%] =================================== FAILURES =================================== _____________________________ test_ending_comment ______________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_ending_comment(session): response = execute_script(session, "return 1; // foo") > assert_success(response, 1) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/execute.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnknownErrorException http_status=500>> value = 1 def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unknown error (500): Runtime.evaluate threw exception: SyntaxError: Unexpected end of input E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d1608e148a internal::EvaluateScript() E #4 0x55d1608dc595 internal::EvaluateScriptAndGetValue() E #5 0x55d1608dc330 WebViewImpl::EvaluateScript() E #6 0x55d1608dc8b7 WebViewImpl::CallFunction() E #7 0x55d16087fd79 ExecuteExecuteScript() E #8 0x55d160875c62 base::internal::Invoker<>::Run() E #9 0x55d16087f807 ExecuteWindowCommand() E #10 0x55d160875b33 base::internal::Invoker<>::Run() E #11 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #12 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #13 0x55d1609e0845 base::TaskAnnotator::RunTask() E #14 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #15 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #16 0x55d1609bafaa base::MessagePumpDefault::Run() E #17 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #18 0x55d1609cb1bd base::RunLoop::Run() E #19 0x55d1609fbb8f base::Thread::ThreadMain() E #20 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #21 0x7f4ce222b184 start_thread E #22 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 8 passed, 1 warnings in 3.27 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/collections.py . [ 12%] ....... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 8 passed, 1 warnings in 3.12 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 10 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py F [ 10%] FFFFFFFFF [100%] =================================== FAILURES =================================== _____________________________ test_promise_resolve _____________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_resolve(session): response = execute_script(session, """ return Promise.resolve('foobar'); """) > assert_success(response, "foobar") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}>, value = 'foobar' def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ assert response.status == 200, str(response.error) if value is not None: > assert response.body["value"] == value E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:69: AssertionError _________________________ test_promise_resolve_delayed _________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_resolve_delayed(session): response = execute_script(session, """ return new Promise( (resolve) => setTimeout( () => resolve('foobar'), 50 ) ); """) > assert_success(response, "foobar") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}>, value = 'foobar' def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ assert response.status == 200, str(response.error) if value is not None: > assert response.body["value"] == value E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:69: AssertionError ___________________________ test_promise_all_resolve ___________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_all_resolve(session): response = execute_script(session, """ return Promise.all([ Promise.resolve(1), Promise.resolve(2) ]); """) > assert_success(response, [1, 2]) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}>, value = [1, 2] def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ assert response.status == 200, str(response.error) if value is not None: > assert response.body["value"] == value E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:69: AssertionError __________________________ test_await_promise_resolve __________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_await_promise_resolve(session): response = execute_script(session, """ const res = await Promise.resolve('foobar'); return res; """) > assert_success(response, "foobar") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnknownErrorException http_status=500>> value = 'foobar' def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: unknown error (500): Runtime.evaluate threw exception: SyntaxError: await is only valid in async function E (Session info: chrome=75.0.3736.0) E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d1608e148a internal::EvaluateScript() E #4 0x55d1608dc595 internal::EvaluateScriptAndGetValue() E #5 0x55d1608dc330 WebViewImpl::EvaluateScript() E #6 0x55d1608dc8b7 WebViewImpl::CallFunction() E #7 0x55d16087fd79 ExecuteExecuteScript() E #8 0x55d160875c62 base::internal::Invoker<>::Run() E #9 0x55d16087f807 ExecuteWindowCommand() E #10 0x55d160875b33 base::internal::Invoker<>::Run() E #11 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #12 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #13 0x55d1609e0845 base::TaskAnnotator::RunTask() E #14 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #15 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #16 0x55d1609bafaa base::MessagePumpDefault::Run() E #17 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #18 0x55d1609cb1bd base::RunLoop::Run() E #19 0x55d1609fbb8f base::Thread::ThreadMain() E #20 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #21 0x7f4ce222b184 start_thread E #22 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError _____________________________ test_promise_reject ______________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_reject(session): response = execute_script(session, """ return Promise.reject(new Error('my error')); """) > assert_error(response, "javascript error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}> error_code = 'javascript error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _________________________ test_promise_reject_delayed __________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_reject_delayed(session): response = execute_script(session, """ return new Promise( (resolve, reject) => setTimeout( () => reject(new Error('my error')), 50 ) ); """) > assert_error(response, "javascript error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}> error_code = 'javascript error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ___________________________ test_promise_all_reject ____________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_all_reject(session): response = execute_script(session, """ return Promise.all([ Promise.resolve(1), Promise.reject(new Error('error')) ]); """) > assert_error(response, "javascript error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}> error_code = 'javascript error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError __________________________ test_await_promise_reject ___________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_await_promise_reject(session): response = execute_script(session, """ await Promise.reject(new Error('my error')); return 'foo'; """) > assert_error(response, "javascript error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=500 error=<UnknownErrorException http_status=500>> error_code = 'javascript error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ assert response.status == errors[error_code] assert "value" in response.body > assert response.body["value"]["error"] == error_code E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:52: AssertionError _________________________ test_promise_resolve_timeout _________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_resolve_timeout(session): session.timeouts.script = .1 response = execute_script(session, """ return new Promise( (resolve) => setTimeout( () => resolve(), 1000 ) ); """) > assert_error(response, "timeout error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}>, error_code = 'timeout error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E KeyError: 'timeout error' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: KeyError _________________________ test_promise_reject_timeout __________________________ session = <Session f6460b9c4f6a9cb0b1e76053563b1a62> def test_promise_reject_timeout(session): session.timeouts.script = .1 response = execute_script(session, """ return new Promise( (resolve, reject) => setTimeout( () => reject(new Error('my error')), 1000 ) ); """) > assert_error(response, "timeout error") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/promise.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {}}>, error_code = 'timeout error' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E KeyError: 'timeout error' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: KeyError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 10 failed, 1 warnings in 3.61 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 8.97 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/json_serialize_windowproxy.py F [ 33%] FF [100%] =================================== FAILURES =================================== _____________________________ test_initial_window ______________________________ session = <Session 4d9bdcaf7a4aa5a8ecc4800b0cf45bf8> def test_initial_window(session): # non-auxiliary top-level browsing context response = execute_script(session, "return window;") raw_json = assert_success(response) > obj = json.loads(raw_json) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/json_serialize_windowproxy.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../.swarming_module/lib/python2.7/json/__init__.py:339: in loads return _default_decoder.decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <json.decoder.JSONDecoder object at 0x7f7c8c634d10>, s = [] _w = <built-in method match of _sre.SRE_Pattern object at 0x7f7c8c43ed50> def decode(self, s, _w=WHITESPACE.match): """Return the Python representation of ``s`` (a ``str`` or ``unicode`` instance containing a JSON document) """ > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) E TypeError: expected string or buffer ../../.swarming_module/lib/python2.7/json/decoder.py:364: TypeError _______________________________ test_window_open _______________________________ session = <Session 4d9bdcaf7a4aa5a8ecc4800b0cf45bf8> def test_window_open(session): # auxiliary browsing context session.execute_script("window.foo = window.open()") response = execute_script(session, "return window.foo;") raw_json = assert_success(response) > obj = json.loads(raw_json) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/json_serialize_windowproxy.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../.swarming_module/lib/python2.7/json/__init__.py:339: in loads return _default_decoder.decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <json.decoder.JSONDecoder object at 0x7f7c8c634d10>, s = [] _w = <built-in method match of _sre.SRE_Pattern object at 0x7f7c8c43ed50> def decode(self, s, _w=WHITESPACE.match): """Return the Python representation of ``s`` (a ``str`` or ``unicode`` instance containing a JSON document) """ > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) E TypeError: expected string or buffer ../../.swarming_module/lib/python2.7/json/decoder.py:364: TypeError __________________________________ test_frame __________________________________ session = <Session 4d9bdcaf7a4aa5a8ecc4800b0cf45bf8> def test_frame(session): # nested browsing context append = """ window.frame = document.createElement('iframe'); document.body.appendChild(frame); """ session.execute_script(append) response = execute_script(session, "return frame.contentWindow;") raw_json = assert_success(response) > obj = json.loads(raw_json) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/execute_script/json_serialize_windowproxy.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../.swarming_module/lib/python2.7/json/__init__.py:339: in loads return _default_decoder.decode(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <json.decoder.JSONDecoder object at 0x7f7c8c634d10>, s = [] _w = <built-in method match of _sre.SRE_Pattern object at 0x7f7c8c43ed50> def decode(self, s, _w=WHITESPACE.match): """Return the Python representation of ``s`` (a ``str`` or ``unicode`` instance containing a JSON document) """ > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) E TypeError: expected string or buffer ../../.swarming_module/lib/python2.7/json/decoder.py:364: TypeError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 failed, 1 warnings in 1.18 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/is_element_selected/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.01 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 6 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/is_element_selected/selected.py . [ 16%] ..... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 6 passed, 1 warnings in 2.41 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/add_cookie/add.py . [ 12%] ....... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 8 passed, 1 warnings in 3.10 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/add_cookie/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.43 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 14 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/send_alert_text/send.py . [ 7%] ............. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 14 passed, 1 warnings in 5.35 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/status/status.py . [ 50%] F [100%] =================================== FAILURES =================================== ______________ test_status_with_session_running_on_endpoint_node _______________ session = <Session 9f77682dc219b23ae2b0e1eed7df5b17> def test_status_with_session_running_on_endpoint_node(session): response = get_status(session) value = assert_success(response) > assert value["ready"] is False E assert True is False ../../third_party/blink/web_tests/external/wpt/webdriver/tests/status/status.py:25: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 1 passed, 1 warnings in 0.37 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/navigate_to/navigate.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.14 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/navigate_to/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.17 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_title/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.26 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_title/get.py . [ 14%] ...... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 7 passed, 1 warnings in 2.72 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_element_from_element/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 10.06 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 37 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_element_from_element/find.py . [ 2%] .................................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 37 passed, 1 warnings in 14.26 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_timeouts/get.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.05 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_handles/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 8.79 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_handles/get.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.18 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_text/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.60 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_text/get.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.17 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/forward/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 12.07 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/forward/forward.py . [ 14%] ...... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 7 passed, 1 warnings in 3.82 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_handle/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 8.72 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_handle/get.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.75 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 26 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py F [ 3%] FFFFFFFFFFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== _____________________ test_invalid_parameters[parameters0] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': {'name': 23}, 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88bf6680> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters1] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': {}, 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a9a830> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters2] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': {'name': 'geolocation'}, 'state': 'Granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88babd40> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters3] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': 23, 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b44170> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters4] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': 'geolocation', 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b876c8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters5] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': [{'name': 'geolocation'}], 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a9a320> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters6] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = [{'descriptor': {'name': 'geolocation'}, 'state': 'granted'}] @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88ac0c20> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________________ test_invalid_parameters[parameters7] _____________________ session = <Session 2b303344efbc518bad9e39e723ec91da> parameters = {'descriptor': {'name': 'geolocation'}, 'oneRealm': 23, 'state': 'granted'} @pytest.mark.parametrize("parameters", [ #{ "descriptor": { "name": "geolocation" }, "state": "granted" } { "descriptor": { "name": 23 }, "state": "granted" }, { "descriptor": { }, "state": "granted" }, { "descriptor": { "name": "geolocation" }, "state": "Granted" }, { "descriptor": 23, "state": "granted" }, { "descriptor": "geolocation", "state": "granted" }, { "descriptor": [ { "name": "geolocation" } ], "state": "granted" }, [ { "descriptor": { "name": "geolocation" }, "state": "granted" } ], { "descriptor": { "name": "geolocation" }, "state": "granted", "oneRealm": 23 } ]) def test_invalid_parameters(session, parameters): response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b05248> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_non_secure_context[granted] _______________________ session = <Session 2b303344efbc518bad9e39e723ec91da> url = <function url at 0x7f7c88aebc08>, state = 'granted' @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) def test_non_secure_context(session, url, state): session.url = url("/common/blank.html", protocol="http") response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > { "descriptor": { "name": "push" }, "state": state } ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a5e290> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_non_secure_context[denied] ________________________ session = <Session 2b303344efbc518bad9e39e723ec91da> url = <function url at 0x7f7c88aebcf8>, state = 'denied' @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) def test_non_secure_context(session, url, state): session.url = url("/common/blank.html", protocol="http") response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > { "descriptor": { "name": "push" }, "state": state } ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b00908> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_non_secure_context[prompt] ________________________ session = <Session 2b303344efbc518bad9e39e723ec91da> url = <function url at 0x7f7c88ac1578>, state = 'prompt' @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) def test_non_secure_context(session, url, state): session.url = url("/common/blank.html", protocol="http") response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > { "descriptor": { "name": "push" }, "state": state } ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a61f38> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting0-granted] ___________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'granted' realmSetting = {'oneRealm': True} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88ac0368> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting0-denied] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'denied' realmSetting = {'oneRealm': True} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88ac0710> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting0-prompt] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'prompt' realmSetting = {'oneRealm': True} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88abb290> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting1-granted] ___________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'granted' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a96560> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting1-denied] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'denied' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88ac0cf8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting1-prompt] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'prompt' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a8a050> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting2-granted] ___________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'granted' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88acc1b8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting2-denied] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'denied' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b00998> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ___________________ test_set_to_state[realmSetting2-prompt] ____________________ session = <Session 2b303344efbc518bad9e39e723ec91da>, state = 'prompt' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": True }, { "oneRealm": False }, {} ]) def test_set_to_state(session, state, realmSetting): parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88b65a28> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting0-granted] _____________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88ac55f0>, state = 'granted' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88abb170> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting0-denied] ______________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88aeba28>, state = 'denied' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88bab680> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting0-prompt] ______________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88ac5b18>, state = 'prompt' realmSetting = {'oneRealm': False} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a9d7a0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting1-granted] _____________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88ac5e60>, state = 'granted' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a61cb0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting1-denied] ______________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88ac5ed8>, state = 'denied' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88a5ee18> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _____________ test_set_to_state_cross_realm[realmSetting1-prompt] ______________ session = <Session 2b303344efbc518bad9e39e723ec91da> create_window = <function create_window at 0x7f7c88ac5b18>, state = 'prompt' realmSetting = {} @pytest.mark.parametrize("state", ["granted", "denied", "prompt"]) @pytest.mark.parametrize("realmSetting", [ { "oneRealm": False }, {} ]) def test_set_to_state_cross_realm(session, create_window, state, realmSetting): original_window = session.window_handle session.window_handle = create_window() parameters = { "descriptor": { "name": "geolocation" }, "state": state } parameters.update(realmSetting) response = session.transport.send( "POST", "/session/{session_id}/permissions".format(**vars(session)), > parameters ) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/permissions/set.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c88ad9fc8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 26 failed, 1 warnings in 9.73 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/release.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.75 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/sequence.py . [ 25%] ..F [100%] =================================== FAILURES =================================== _____________ test_no_release_mouse_sequence_keeps_dblclick_state ______________ session = <Session 2b303344efbc518bad9e39e723ec91da>, test_actions_page = None mouse_chain = <webdriver.client.ActionSequence object at 0x7f7c88964c90> def test_no_release_mouse_sequence_keeps_dblclick_state(session, test_actions_page, mouse_chain): reporter = session.find.css("#outer", all=False) mouse_chain \ .click(element=reporter) \ .perform() mouse_chain \ .perform() events = get_events(session) expected = [ {"type": "mousedown", "button": 0}, {"type": "mouseup", "button": 0}, {"type": "click", "button": 0}, {"type": "mousedown", "button": 0}, {"type": "mouseup", "button": 0}, {"type": "click", "button": 0}, {"type": "dblclick", "button": 0}, ] filtered_events = [filter_dict(e, expected[0]) for e in events] > assert expected == filtered_events[1:] E AssertionError: assert [{'button': 0...'click'}, ...] == [{'button': 0,...pe': 'click'}] E Left contains more items, first extra item: {'button': 0, 'type': 'dblclick'} E Use -v to get the full diff ../../third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/sequence.py:82: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 3 passed, 1 warnings in 1.84 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/support/test_actions_wdspec.html (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/support/test_actions_wdspec.html' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/support/refine.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/release_actions/support/refine.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/minimize_window/stress.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 5 passed, 1 warnings in 17.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/minimize_window/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 99.66 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/minimize_window/minimize.py . [ 20%] F... [100%] =================================== FAILURES =================================== __________________________ test_fully_exit_fullscreen __________________________ session = <Session df010e386810121f8c64c95dce6e4054> def test_fully_exit_fullscreen(session): session.window.fullscreen() > assert is_fullscreen(session) E assert False E + where False = is_fullscreen(<Session df010e386810121f8c64c95dce6e4054>) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/minimize_window/minimize.py:19: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 1 failed, 4 passed, 1 warnings in 11.40 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_rect/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.99 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_rect/get.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.69 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/navigate.py . [ 20%] ...[1552788405.877][SEVERE]: Unable to receive message from renderer [1552788405.881][SEVERE]: Unable to receive message from renderer [1552788405.884][SEVERE]: Unable to receive message from renderer . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 passed, 1 warnings in 2.57 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 12 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/interactability.py . [ 8%] ........... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 12 passed, 1 warnings in 5.08 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 11 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/center_point.py . [ 9%] .......... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 11 passed, 1 warnings in 4.88 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.94 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/bubbling.py . [ 33%] F. [100%] =================================== FAILURES =================================== _____________________________ test_spin_event_loop _____________________________ session = <Session 2a060708c07563601e543280fccebc0c> def test_spin_event_loop(session): """ Wait until the user agent event loop has spun enough times to process the DOM events generated by clicking. """ session.url = inline(""" <style> body * { margin: 10px; padding: 10px; border: 1px solid blue; } </style> <div id=three>THREE <div id=two>TWO <div id=one>ONE</div> </div> </div> <script> window.delayedClicks = []; var elements = document.querySelectorAll("div"); for (var level = 0; level < elements.length; level++) { elements[level].addEventListener("click", function(clickEvent) { var target = clickEvent.currentTarget; setTimeout(function() { window.delayedClicks.push(target); }, 100); }); } </script> """) three, two, one = session.find.css("div") one.click() delayed_clicks = session.execute_script("return window.delayedClicks") > assert one in delayed_clicks E assert <Element 4186aac8-0d4b-4dd2-8750-35d9f86d1d5c> in [] ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/bubbling.py:84: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 2 passed, 1 warnings in 1.33 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 10 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py . [ 10%] FFFFFFFFF [100%] =================================== FAILURES =================================== __________________ test_partially_visible_does_not_scroll[9] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 9 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 191 == 0 E + where 191 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[8] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 8 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 192 == 0 E + where 192 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[7] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 7 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 193 == 0 E + where 193 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[6] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 6 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 194 == 0 E + where 194 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[5] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 5 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 195 == 0 E + where 195 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[4] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 4 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 196 == 0 E + where 196 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[3] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 3 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 197 == 0 E + where 197 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[2] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 2 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 198 == 0 E + where 198 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError __________________ test_partially_visible_does_not_scroll[1] ___________________ session = <Session 2a060708c07563601e543280fccebc0c>, offset = 1 @pytest.mark.parametrize("offset", range(9, 0, -1)) def test_partially_visible_does_not_scroll(session, offset): session.url = inline(""" <style> body {{ margin: 0; padding: 0; }} div {{ background: blue; height: 200px; /* make N pixels visible in the viewport */ margin-top: calc(100vh - {offset}px); }} </style> <div></div> <script> window.clicks = []; let target = document.querySelector("div"); target.addEventListener("click", function(e) {{ window.clicks.push([e.clientX, e.clientY]); }}); </script> """.format(offset=offset)) target = session.find.css("div", all=False) assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 response = element_click(session, target) assert_success(response) > assert session.execute_script("return window.scrollY || document.documentElement.scrollTop") == 0 E AssertionError: assert 199 == 0 E + where 199 = <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>>('return window.scrollY || document.documentElement.scrollTop') E + where <bound method Session.execute_script of <Session 2a060708c07563601e543280fccebc0c>> = <Session 2a060708c07563601e543280fccebc0c>.execute_script ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/scroll_into_view.py:70: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 9 failed, 1 passed, 1 warnings in 5.38 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 1 item ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/file_upload.py F [100%] =================================== FAILURES =================================== ____________________________ test_file_upload_state ____________________________ session = <Session 2a060708c07563601e543280fccebc0c> def test_file_upload_state(session): session.url = inline("<input type=file>") element = session.find.css("input", all=False) response = element_click(session, element) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/file_upload.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": null}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 failed, 1 warnings in 0.68 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 1 item ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/stale.py . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 passed, 1 warnings in 0.43 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/click.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.86 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 11 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/select.py . [ 9%] .......... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 11 passed, 1 warnings in 5.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/support/close_window.html (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/support/close_window.html' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/support/input.html (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/element_click/support/input.html' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/timeouts.py . [ 12%] ....... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 8 passed, 1 warnings in 1.82 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 27 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/create_alwaysMatch.py . [ 3%] ......F................... [100%] =================================== FAILURES =================================== ______________________ test_valid[pageLoadStrategy-eager] ______________________ new_session = <function new_session at 0x7f7c880ba8c0> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c880ba938> key = 'pageLoadStrategy', value = 'eager' @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data)) def test_valid(new_session, add_browser_capabilities, key, value): response, _ = new_session({"capabilities": { "alwaysMatch": add_browser_capabilities({key: value})}}) > assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/create_alwaysMatch.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<InvalidArgumentException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: invalid argument (400): 'pageLoadStrategy=eager' not yet supported E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d160848155 Capabilities::CheckSupport() E #4 0x55d160877a15 ExecuteInitSession() E #5 0x55d160875b33 base::internal::Invoker<>::Run() E #6 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #7 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #8 0x55d1609e0845 base::TaskAnnotator::RunTask() E #9 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #10 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #11 0x55d1609bafaa base::MessagePumpDefault::Run() E #12 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #13 0x55d1609cb1bd base::RunLoop::Run() E #14 0x55d1609fbb8f base::Thread::ThreadMain() E #15 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #16 0x7f4ce222b184 start_thread E #17 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 1 failed, 26 passed, 1 warnings in 8.83 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 206 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/invalid_capabilities.py FE [ 0%] FEFEFE.................................................................. [ 33%] ........................................................................ [ 68%] ................................................................ [100%] ==================================== ERRORS ==================================== _____________ ERROR at teardown of test_invalid_capabilites[None] ______________ request = <SubRequest 'new_session' for <Function 'test_invalid_capabilites[None]'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError _______________ ERROR at teardown of test_invalid_capabilites[1] _______________ request = <SubRequest 'new_session' for <Function 'test_invalid_capabilites[1]'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError ______________ ERROR at teardown of test_invalid_capabilites[{}] _______________ request = <SubRequest 'new_session' for <Function 'test_invalid_capabilites[{}]'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError ____________ ERROR at teardown of test_invalid_capabilites[value3] _____________ request = <SubRequest 'new_session' for <Function 'test_invalid_capabilites[value3]'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError =================================== FAILURES =================================== ________________________ test_invalid_capabilites[None] ________________________ new_session = <function new_session at 0x7f7c88192d70>, value = None @pytest.mark.parametrize("value", [None, 1, "{}", []]) def test_invalid_capabilites(new_session, value): response, _ = new_session({"capabilities": value}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/invalid_capabilities.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "cf835580d3740a223ac1a2fb3...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _________________________ test_invalid_capabilites[1] __________________________ new_session = <function new_session at 0x7f7c87fc2848>, value = 1 @pytest.mark.parametrize("value", [None, 1, "{}", []]) def test_invalid_capabilites(new_session, value): response, _ = new_session({"capabilities": value}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/invalid_capabilities.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "b8bc9e8b4864511693551e327...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _________________________ test_invalid_capabilites[{}] _________________________ new_session = <function new_session at 0x7f7c87fc2c08>, value = '{}' @pytest.mark.parametrize("value", [None, 1, "{}", []]) def test_invalid_capabilites(new_session, value): response, _ = new_session({"capabilities": value}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/invalid_capabilities.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "d63556e6c7e8defb99f8d52dd...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _______________________ test_invalid_capabilites[value3] _______________________ new_session = <function new_session at 0x7f7c87fc2f50>, value = [] @pytest.mark.parametrize("value", [None, 1, "{}", []]) def test_invalid_capabilites(new_session, value): response, _ = new_session({"capabilities": value}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/invalid_capabilities.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "39ccda53f2fe61d206e31fe0b...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========== 4 failed, 202 passed, 1 warnings, 4 error in 1.23 seconds =========== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 8 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/default_values.py . [ 12%] FFE..FE.F [100%] ==================================== ERRORS ==================================== ___________________ ERROR at teardown of test_no_capabilites ___________________ request = <SubRequest 'new_session' for <Function 'test_no_capabilites'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError ______________________ ERROR at teardown of test_desired _______________________ request = <SubRequest 'new_session' for <Function 'test_desired'>> configuration = {'capabilities': {'goog:chromeOptions': {'args': ['--host-resolver-rules=MAP nonexistent.*.test ~NOTFOUND, MAP *.test ...efs': {'profile': {'default_content_setting_values': {'popups': 1}}}, 'w3c': True}}, 'host': '127.0.0.1', 'port': 9500} current_session = <Session (disconnected)> @pytest.fixture(name="new_session") def fixture_new_session(request, configuration, current_session): """Start a new session for tests which themselves test creating new sessions. :param body: The content of the body for the new session POST request. :param delete_existing_session: Allows the fixture to delete an already created custom session before the new session is getting created. This is useful for tests which call this fixture multiple times within the same test. """ custom_session = {} transport = HTTPWireProtocol( configuration["host"], configuration["port"], url_prefix="/", ) def _delete_session(session_id): transport.send("DELETE", "session/{}".format(session_id)) def new_session(body, delete_existing_session=False): # If there is an active session from the global session fixture, # delete that one first if current_session is not None: current_session.end() if delete_existing_session: _delete_session(custom_session["session"]["sessionId"]) response = transport.send("POST", "session", body) if response.status == 200: custom_session["session"] = response.body["value"] return response, custom_session.get("session", None) yield new_session if custom_session.get("session") is not None: > _delete_session(custom_session["session"]["sessionId"]) E KeyError: 'sessionId' ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/conftest.py:65: KeyError =================================== FAILURES =================================== ___________________________ test_repeat_new_session ____________________________ new_session = <function new_session at 0x7f7c87d32230> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c87d322a8> def test_repeat_new_session(new_session, add_browser_capabilities): response, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}}) assert_success(response) response, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}}) > assert_error(response, "session not created") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/default_values.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": {"sessionId": "f853bd5c165f195ccecfc490c5fce...", "platformName": "linux", "unhandledPromptBehavior": "dismiss and notify"}}}> error_code = 'session not created' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _____________________________ test_no_capabilites ______________________________ new_session = <function new_session at 0x7f7c87e7b938> def test_no_capabilites(new_session): response, _ = new_session({}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/default_values.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "724838d5e825c293e78e5669a...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError _________________________________ test_desired _________________________________ new_session = <function new_session at 0x7f7c87fc2ed8> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c87fc2b18> def test_desired(new_session, add_browser_capabilities): response, _ = new_session({"desiredCapbilities": add_browser_capabilities({})}) > assert_error(response, "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/default_values.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"status": 33, "sessionId": "61bc8500746ab16f99a6db776...f4627b-refs/heads/master@{#641464}),platform=Linux 4.4.0-78-generic x86_64)"}}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError ________________________ test_valid_but_unmatchable_key ________________________ new_session = <function new_session at 0x7f7c87d32500> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c87d32578> def test_valid_but_unmatchable_key(new_session, add_browser_capabilities): response, _ = new_session({"capabilities": {"firstMatch": [ add_browser_capabilities({"pageLoadStrategy": "eager", "foo:unmatchable": True}), {"pageLoadStrategy": "none"}, ]}}) > value = assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/default_values.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<InvalidArgumentException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: invalid argument (400): 'pageLoadStrategy=eager' not yet supported E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d160848155 Capabilities::CheckSupport() E #4 0x55d160877a15 ExecuteInitSession() E #5 0x55d160875b33 base::internal::Invoker<>::Run() E #6 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #7 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #8 0x55d1609e0845 base::TaskAnnotator::RunTask() E #9 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #10 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #11 0x55d1609bafaa base::MessagePumpDefault::Run() E #12 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #13 0x55d1609cb1bd base::RunLoop::Run() E #14 0x55d1609fbb8f base::Thread::ThreadMain() E #15 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #16 0x7f4ce222b184 start_thread E #17 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =========== 4 failed, 4 passed, 1 warnings, 2 error in 2.12 seconds ============ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 1 item ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/platform_name.py . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 passed, 1 warnings in 0.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 27 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/create_firstMatch.py . [ 3%] ......F................... [100%] =================================== FAILURES =================================== ______________________ test_valid[pageLoadStrategy-eager] ______________________ new_session = <function new_session at 0x7f7c88ac5f50> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c887215f0> key = 'pageLoadStrategy', value = 'eager' @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data)) def test_valid(new_session, add_browser_capabilities, key, value): response, _ = new_session({"capabilities": { "firstMatch": [add_browser_capabilities({key: value})]}}) > assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/create_firstMatch.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<InvalidArgumentException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: invalid argument (400): 'pageLoadStrategy=eager' not yet supported E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d160848155 Capabilities::CheckSupport() E #4 0x55d160877a15 ExecuteInitSession() E #5 0x55d160875b33 base::internal::Invoker<>::Run() E #6 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #7 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #8 0x55d1609e0845 base::TaskAnnotator::RunTask() E #9 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #10 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #11 0x55d1609bafaa base::MessagePumpDefault::Run() E #12 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #13 0x55d1609cb1bd base::RunLoop::Run() E #14 0x55d1609fbb8f base::Thread::ThreadMain() E #15 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #16 0x7f4ce222b184 start_thread E #17 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 1 failed, 26 passed, 1 warnings in 8.76 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 9 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/merge.py . [ 11%] ......FF [100%] =================================== FAILURES =================================== ___________________________ test_merge_platformName ____________________________ new_session = <function new_session at 0x7f7c88192ed8> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c88721938> @pytest.mark.skipif(platform_name is None, reason="Unsupported platform {}".format(platform_name)) def test_merge_platformName(new_session, add_browser_capabilities): response, _ = new_session({"capabilities": { "alwaysMatch": add_browser_capabilities({"timeouts": {"script": 10}}), "firstMatch": [{ "platformName": platform_name.upper(), "pageLoadStrategy": "none", }, { "platformName": platform_name, "pageLoadStrategy": "eager", }]}}) value = assert_success(response) assert value["capabilities"]["platformName"] == platform_name > assert value["capabilities"]["pageLoadStrategy"] == "eager" E AssertionError: assert 'none' == 'eager' E - none E + eager ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/merge.py:58: AssertionError ____________________________ test_merge_browserName ____________________________ new_session = <function new_session at 0x7f7c87e7bf50> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c87e7b500> def test_merge_browserName(new_session, add_browser_capabilities): response, session = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}}) value = assert_success(response) browser_settings = { "browserName": value["capabilities"]["browserName"], "browserVersion": value["capabilities"]["browserVersion"], } response, _ = new_session({"capabilities": { "alwaysMatch": add_browser_capabilities({"timeouts": {"script": 10}}), "firstMatch": [{ "browserName": browser_settings["browserName"] + "invalid", "pageLoadStrategy": "none", }, { "browserName": browser_settings["browserName"], "pageLoadStrategy": "eager", }]}}, delete_existing_session=True) > value = assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/merge.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<InvalidArgumentException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: invalid argument (400): 'pageLoadStrategy=eager' not yet supported E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d160848155 Capabilities::CheckSupport() E #4 0x55d160877a15 ExecuteInitSession() E #5 0x55d160875b33 base::internal::Invoker<>::Run() E #6 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #7 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #8 0x55d1609e0845 base::TaskAnnotator::RunTask() E #9 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #10 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #11 0x55d1609bafaa base::MessagePumpDefault::Run() E #12 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #13 0x55d1609cb1bd base::RunLoop::Run() E #14 0x55d1609fbb8f base::Thread::ThreadMain() E #15 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #16 0x7f4ce222b184 start_thread E #17 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 2 failed, 7 passed, 1 warnings in 1.40 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/response.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 6.49 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 1 item ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/page_load_strategy.py F [100%] =================================== FAILURES =================================== ____________________________ test_pageLoadStrategy _____________________________ new_session = <function new_session at 0x7f7c88183140> add_browser_capabilities = <function add_browser_capabilities at 0x7f7c88183230> def test_pageLoadStrategy(new_session, add_browser_capabilities): response, _ = new_session({"capabilities": { "alwaysMatch": add_browser_capabilities({"pageLoadStrategy": "eager"})}}) > value = assert_success(response) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/page_load_strategy.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response status=400 error=<InvalidArgumentException http_status=400>> value = None def assert_success(response, value=None): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param value: Expected value of the response body, if any. """ > assert response.status == 200, str(response.error) E AssertionError: invalid argument (400): 'pageLoadStrategy=eager' not yet supported E E Remote-end stacktrace: E E #0 0x55d160a13939 base::debug::CollectStackTrace() E #1 0x55d1609ad6b3 base::debug::StackTrace::StackTrace() E #2 0x55d1608da17e Status::Status() E #3 0x55d160848155 Capabilities::CheckSupport() E #4 0x55d160877a15 ExecuteInitSession() E #5 0x55d160875b33 base::internal::Invoker<>::Run() E #6 0x55d16085477e (anonymous namespace)::ExecuteSessionCommandOnSessionThread() E #7 0x55d1608555c5 base::internal::Invoker<>::RunOnce() E #8 0x55d1609e0845 base::TaskAnnotator::RunTask() E #9 0x55d1609e13b5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() E #10 0x55d1609e1187 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() E #11 0x55d1609bafaa base::MessagePumpDefault::Run() E #12 0x55d1609e1aa7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() E #13 0x55d1609cb1bd base::RunLoop::Run() E #14 0x55d1609fbb8f base::Thread::ThreadMain() E #15 0x55d160a1e17e base::(anonymous namespace)::ThreadFunc() E #16 0x7f4ce222b184 start_thread E #17 0x7f4ce0a4f03d clone ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:66: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 failed, 1 warnings in 0.08 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/support/create.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/new_session/support/create.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/is_element_enabled/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.55 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 35 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/is_element_enabled/enabled.py . [ 2%] .................................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 35 passed, 1 warnings in 13.72 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_all_cookies/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.49 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/delete_all_cookies/delete.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.77 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_active_element/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.53 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 7 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_active_element/get.py . [ 14%] .....F [100%] =================================== FAILURES =================================== ________________________ test_missing_document_element _________________________ session = <Session 34ec442918c7aa33cd5c748afd96307d> def test_missing_document_element(session): session.url = inline("<body></body>") session.execute_script(""" if (document.body.remove) { document.body.remove(); } else { document.body.removeNode(true); }""") response = get_active_element(session) > assert_error(response, "no such element") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_active_element/get.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": null}> error_code = 'no such element' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ================ 1 failed, 6 passed, 1 warnings in 2.77 seconds ================ ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 3 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/switch_to_parent_frame/switch.py . [ 33%] .. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 3 passed, 1 warnings in 1.33 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 8.77 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 42 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py F [ 2%] .FFFF.................................... [100%] =================================== FAILURES =================================== __________________________ test_null_parameter_value ___________________________ session = <Session eb2adda4b03f5d6e928b39fd38bbc59b> http = <tests.support.http_request.HTTPRequest object at 0x7f7c8776b650> def test_null_parameter_value(session, http): path = "/session/{session_id}/timeouts".format(**vars(session)) with http.post(path, None) as response: > assert_error(Response.from_http(response), "invalid argument") ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Responsetatus=200 body={"value": null}> error_code = 'invalid argument' def assert_error(response, error_code): """ Verify that the provided webdriver.Response instance described a valid error response as defined by `dfn-send-an-error` and the provided error code. :param response: ``webdriver.Response`` instance. :param error_code: String value of the expected error code """ > assert response.status == errors[error_code] E AssertionError ../../third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.py:50: AssertionError __________________________ test_parameters_invalid[1] __________________________ session = <Session eb2adda4b03f5d6e928b39fd38bbc59b>, value = 1 @pytest.mark.parametrize("value", [1, "{}", False, []]) def test_parameters_invalid(session, value): > response = set_timeouts(session, value) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:11: in set_timeouts timeouts) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c877df3f8> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _________________________ test_parameters_invalid[{}] __________________________ session = <Session eb2adda4b03f5d6e928b39fd38bbc59b>, value = '{}' @pytest.mark.parametrize("value", [1, "{}", False, []]) def test_parameters_invalid(session, value): > response = set_timeouts(session, value) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:11: in set_timeouts timeouts) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c87791cb0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError ________________________ test_parameters_invalid[False] ________________________ session = <Session eb2adda4b03f5d6e928b39fd38bbc59b>, value = False @pytest.mark.parametrize("value", [1, "{}", False, []]) def test_parameters_invalid(session, value): > response = set_timeouts(session, value) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:11: in set_timeouts timeouts) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c876d1050> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError _______________________ test_parameters_invalid[value3] ________________________ session = <Session eb2adda4b03f5d6e928b39fd38bbc59b>, value = [] @pytest.mark.parametrize("value", [1, "{}", False, []]) def test_parameters_invalid(session, value): > response = set_timeouts(session, value) ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../third_party/blink/web_tests/external/wpt/webdriver/tests/set_timeouts/set.py:11: in set_timeouts timeouts) ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:174: in send return Response.from_http(response, decoder=decoder, **codec_kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'webdriver.transport.Response'> http_response = <httplib.HTTPResponse instance at 0x7f7c8771c8c0> decoder = <class 'json.decoder.JSONDecoder'>, kwargs = {} @classmethod def from_http(cls, http_response, decoder=json.JSONDecoder, **kwargs): try: body = json.load(http_response, cls=decoder, **kwargs) except ValueError: raise ValueError("Failed to decode response body as JSON:\n" + > http_response.read()) E ValueError: Failed to decode response body as JSON: ../../third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/webdriver/webdriver/transport.py:44: ValueError =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 5 failed, 37 passed, 1 warnings in 14.46 seconds =============== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_named_cookie/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.50 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_named_cookie/get.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.66 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_property/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.58 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 5 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_property/get.py . [ 20%] .... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 5 passed, 1 warnings in 2.02 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_attribute/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.70 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 24 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_attribute/get.py . [ 4%] ....................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 24 passed, 1 warnings in 10.83 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/defaults.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/defaults.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/image.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/image.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/merge_dictionaries.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/merge_dictionaries.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/inline.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/inline.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/sync.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/sync.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/helpers.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/helpers.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/http_request.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/http_request.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 0 items =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/asserts.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ========================== 1 warnings in 0.00 seconds ========================== ERROR: not found: /b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/__pycache__/fixtures.cpython-27-PYTEST.pyc (no name '/b/s/w/ir/third_party/blink/web_tests/external/wpt/webdriver/tests/support/__pycache__/fixtures.cpython-27-PYTEST.pyc' in any of []) ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_elements/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.47 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 38 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/find_elements/find.py . [ 2%] ..................................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 38 passed, 1 warnings in 14.74 seconds ==================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_tag_name/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 9.78 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 4 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_element_tag_name/get.py . [ 25%] ... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 4 passed, 1 warnings in 1.62 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 20 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/switch_to_frame/switch.py . [ 5%] ................... [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 20 passed, 1 warnings in 8.52 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 18 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_rect/user_prompts.py . [ 5%] ................. [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================== 18 passed, 1 warnings in 8.90 seconds ===================== ============================= test session starts ============================== platform linux2 -- Python 2.7.14+chromium14, pytest-3.6.2, py-1.5.3, pluggy-0.7.1 rootdir: /b/s/w/ir, inifile: collected 2 items ../../third_party/blink/web_tests/external/wpt/webdriver/tests/get_window_rect/get.py . [ 50%] . [100%] =============================== warnings summary =============================== <undetermined location> Module already imported so cannot be rewritten: tests.support.fixtures -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 2 passed, 1 warnings in 0.76 seconds ===================== 2019-03-16 19:10:40,273 - blinkpy.web_tests.servers.server_base: [DEBUG] Attempting to shut down wptserve server at pid 26484 2019-03-16 19:10:40,273 - blinkpy.common.system.executive: [DEBUG] Checking whether pid 26484 is alive. 2019-03-16 19:10:40,273 - blinkpy.web_tests.servers.wptserve: [DEBUG] pid 26484 is running, killing it 2019-03-16 19:10:40,274 - blinkpy.web_tests.servers.server_base: [DEBUG] Waiting for action: <bound method WPTServe._check_and_kill of <blinkpy.web_tests.servers.wptserve.WPTServe object at 0x7f7c8c351ad0>> 2019-03-16 19:10:41,274 - blinkpy.common.system.executive: [DEBUG] Checking whether pid 26484 is alive. 2019-03-16 19:10:41,275 - blinkpy.web_tests.servers.wptserve: [DEBUG] pid 26484 is not running 2019-03-16 19:10:41,275 - blinkpy.web_tests.servers.server_base: [DEBUG] wptserve server at pid 26484 stopped 2019-03-16 19:10:44,703 - root: [DEBUG] Contents of task_output_dir: ['/b/swarming/w/ir/tmp/t/tmpawvPY7/43a22a1c520e0910'] 2019-03-16 19:10:44,703 - root: [DEBUG] Found shard_json_files: ['/b/swarming/w/ir/tmp/t/tmpawvPY7/43a22a1c520e0910/output.json'] 2019-03-16 19:10:44,703 - root: [INFO] merge_cmd: /b/swarming/w/ir/cache/vpython/ba947a/bin/python /b/swarming/w/ir/cache/builder/src/testing/merge_scripts/standard_isolated_script_merge.py --build-properties {"bot_id": "swarm2892-c4", "branch": "refs/heads/master", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1552786237684182, "id": "8918779333992065440", "project": "chromium", "tags": ["build_address:luci.chromium.ci/linux-tcmalloc-rel/8667", "builder:linux-tcmalloc-rel", "buildset:commit/git/ea9077b3af407be0e97766f16f773703edf4627b", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/ea9077b3af407be0e97766f16f773703edf4627b", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9084209396287257712", "scheduler_job_id:chromium/linux-tcmalloc-rel", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "linux-tcmalloc-rel", "buildnumber": 8667, "got_angle_revision": "38e282570676f3e434482f8a02ea539b286fd1fa", "got_dawn_revision": "931311700c7c4b76a15c23eee8792dda125fb97e", "got_nacl_revision": "1ed9878b8eb68c1e0d0268754dafcf83e747fa8f", "got_revision": "ea9077b3af407be0e97766f16f773703edf4627b", "got_revision_cp": "refs/heads/master@{#641464}", "got_swarming_client_revision": "7a61cf37d6a0163f0ec02d495289a1d038e62457", "got_v8_revision": "f413181b62ee4ad78b9ef3d58c4f395794e16bf1", "got_v8_revision_cp": "refs/heads/7.5.59@{#1}", "got_webrtc_revision": "69008a87185992aa348ece3f893f6a84f8786ae8", "got_webrtc_revision_cp": "refs/heads/master@{#27145}", "mastername": "chromium.fyi", "path_config": "generic", "recipe": "chromium", "repository": "https://chromium.googlesource.com/chromium/src.git", "revision": "ea9077b3af407be0e97766f16f773703edf4627b"} --summary-json /b/swarming/w/ir/tmp/t/tmpvxKVd2.json --task-output-dir /b/swarming/w/ir/tmp/t/tmpawvPY7 -o /b/swarming/w/ir/tmp/t/tmp5sJTrr.json /b/swarming/w/ir/tmp/t/tmpawvPY7/43a22a1c520e0910/output.json Running ['/b/swarming/w/ir/cache/vpython/ba947a/bin/python', '/b/swarming/w/ir/cache/builder/src/testing/merge_scripts/standard_isolated_script_merge.py', '--build-properties', '{"bot_id": "swarm2892-c4", "branch": "refs/heads/master", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1552786237684182, "id": "8918779333992065440", "project": "chromium", "tags": ["build_address:luci.chromium.ci/linux-tcmalloc-rel/8667", "builder:linux-tcmalloc-rel", "buildset:commit/git/ea9077b3af407be0e97766f16f773703edf4627b", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/ea9077b3af407be0e97766f16f773703edf4627b", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9084209396287257712", "scheduler_job_id:chromium/linux-tcmalloc-rel", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "linux-tcmalloc-rel", "buildnumber": 8667, "got_angle_revision": "38e282570676f3e434482f8a02ea539b286fd1fa", "got_dawn_revision": "931311700c7c4b76a15c23eee8792dda125fb97e", "got_nacl_revision": "1ed9878b8eb68c1e0d0268754dafcf83e747fa8f", "got_revision": "ea9077b3af407be0e97766f16f773703edf4627b", "got_revision_cp": "refs/heads/master@{#641464}", "got_swarming_client_revision": "7a61cf37d6a0163f0ec02d495289a1d038e62457", "got_v8_revision": "f413181b62ee4ad78b9ef3d58c4f395794e16bf1", "got_v8_revision_cp": "refs/heads/7.5.59@{#1}", "got_webrtc_revision": "69008a87185992aa348ece3f893f6a84f8786ae8", "got_webrtc_revision_cp": "refs/heads/master@{#27145}", "mastername": "chromium.fyi", "path_config": "generic", "recipe": "chromium", "repository": "https://chromium.googlesource.com/chromium/src.git", "revision": "ea9077b3af407be0e97766f16f773703edf4627b"}', '--summary-json', '/b/swarming/w/ir/tmp/t/tmpvxKVd2.json', '--task-output-dir', '/b/swarming/w/ir/tmp/t/tmpawvPY7', '-o', '/b/swarming/w/ir/tmp/t/tmp5sJTrr.json', '/b/swarming/w/ir/tmp/t/tmpawvPY7/43a22a1c520e0910/output.json'] in None (env: None) Command ['/b/swarming/w/ir/cache/vpython/ba947a/bin/python', '/b/swarming/w/ir/cache/builder/src/testing/merge_scripts/standard_isolated_script_merge.py', '--build-properties', '{"bot_id": "swarm2892-c4", "branch": "refs/heads/master", "buildbucket": {"build": {"bucket": "luci.chromium.ci", "created_by": "project:chromium", "created_ts": 1552786237684182, "id": "8918779333992065440", "project": "chromium", "tags": ["build_address:luci.chromium.ci/linux-tcmalloc-rel/8667", "builder:linux-tcmalloc-rel", "buildset:commit/git/ea9077b3af407be0e97766f16f773703edf4627b", "buildset:commit/gitiles/chromium.googlesource.com/chromium/src/+/ea9077b3af407be0e97766f16f773703edf4627b", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9084209396287257712", "scheduler_job_id:chromium/linux-tcmalloc-rel", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"}, "buildername": "linux-tcmalloc-rel", "buildnumber": 8667, "got_angle_revision": "38e282570676f3e434482f8a02ea539b286fd1fa", "got_dawn_revision": "931311700c7c4b76a15c23eee8792dda125fb97e", "got_nacl_revision": "1ed9878b8eb68c1e0d0268754dafcf83e747fa8f", "got_revision": "ea9077b3af407be0e97766f16f773703edf4627b", "got_revision_cp": "refs/heads/master@{#641464}", "got_swarming_client_revision": "7a61cf37d6a0163f0ec02d495289a1d038e62457", "got_v8_revision": "f413181b62ee4ad78b9ef3d58c4f395794e16bf1", "got_v8_revision_cp": "refs/heads/7.5.59@{#1}", "got_webrtc_revision": "69008a87185992aa348ece3f893f6a84f8786ae8", "got_webrtc_revision_cp": "refs/heads/master@{#27145}", "mastername": "chromium.fyi", "path_config": "generic", "recipe": "chromium", "repository": "https://chromium.googlesource.com/chromium/src.git", "revision": "ea9077b3af407be0e97766f16f773703edf4627b"}', '--summary-json', '/b/swarming/w/ir/tmp/t/tmpvxKVd2.json', '--task-output-dir', '/b/swarming/w/ir/tmp/t/tmpawvPY7', '-o', '/b/swarming/w/ir/tmp/t/tmp5sJTrr.json', '/b/swarming/w/ir/tmp/t/tmpawvPY7/43a22a1c520e0910/output.json'] returned exit code 0