[Webkit-unassigned] [Bug 188118] [GTK] Many WebDriver tests are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 13:06:44 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188118

--- Comment #7 from Michael Catanzaro <mcatanzaro at igalia.com> ---
____________________________ test_resp_capabilites _____________________________

new_session = <function create_session at 0x7f606192f230>
add_browser_capabilites = <function update_capabilities at 0x7f606192f1b8>

    def test_resp_capabilites(new_session, add_browser_capabilites):
        resp, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilites({})}})
        assert isinstance(resp["sessionId"], unicode)
        assert isinstance(resp["capabilities"], dict)
>       assert {"browserName",
                "browserVersion",
                "platformName",
                "acceptInsecureCerts",
                "setWindowRect",
                "timeouts",
                "proxy",
                "pageLoadStrategy"}.issubset(
                    set(resp["capabilities"].keys()))
E       AssertionError: assert False
E        +  where False = <built-in method issubset of set object at 0x7f6062c7e5c0>(set(['browserName', 'browserVersion', 'pageLoadStrategy', 'platformName', 'proxy', 'setWindowRect', ...]))
E        +    where <built-in method issubset of set object at 0x7f6062c7e5c0> = set(['acceptInsecureCerts', 'browserName', 'browserVersion', 'pageLoadStrategy', 'platformName', 'proxy', ...]).issubset
E        +    and   set(['browserName', 'browserVersion', 'pageLoadStrategy', 'platformName', 'proxy', 'setWindowRect', ...]) = set(['browserVersion', 'timeouts', 'browserName', 'setWindowRect', 'proxy', 'pageLoadStrategy', ...])
E        +      where ['browserVersion', 'timeouts', 'browserName', 'setWindowRect', 'proxy', 'pageLoadStrategy', ...] = <built-in method keys of dict object at 0x7f6061957c58>()
E        +        where <built-in method keys of dict object at 0x7f6061957c58> = {'browserName': 'MiniBrowser', 'browserVersion': '2.21.5', 'pageLoadStrategy': 'normal', 'platformName': 'linux', ...}.keys

_          = <Session 2ba6e599-c519-436c-b896-4804f8947ac7>
add_browser_capabilites = <function update_capabilities at 0x7f606192f1b8>
new_session = <function create_session at 0x7f606192f230>
resp       = {'capabilities': {'browserName': 'MiniBrowser', 'browserVersion': '2.21.5', 'pageLoadStrategy': 'normal', 'platformName': 'linux', ...}, 'sessionId': '2ba6e599-c519-436c-b896-4804f8947ac7'}

WebDriverTests/imported/w3c/webdriver/tests/new_session/response.py:15: AssertionError
________________________________ test_resp_data ________________________________

new_session = <function create_session at 0x7f60630dcde8>
add_browser_capabilites = <function update_capabilities at 0x7f6062ddd2a8>
platform_name = 'linux'

    def test_resp_data(new_session, add_browser_capabilites, platform_name):
        resp, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilites({})}})

        assert isinstance(resp["capabilities"]["browserName"], unicode)
        assert isinstance(resp["capabilities"]["browserVersion"], unicode)
        if platform_name:
            assert resp["capabilities"]["platformName"] == platform_name
        else:
            assert "platformName" in resp["capabilities"]
>       assert resp["capabilities"]["acceptInsecureCerts"] is False
E       KeyError: 'acceptInsecureCerts'

_          = <Session a4e36348-81ad-49d4-897c-246fc076d822>
add_browser_capabilites = <function update_capabilities at 0x7f6062ddd2a8>
new_session = <function create_session at 0x7f60630dcde8>
platform_name = 'linux'
resp       = {'capabilities': {'browserName': 'MiniBrowser', 'browserVersion': '2.21.5', 'pageLoadStrategy': 'normal', 'platformName': 'linux', ...}, 'sessionId': 'a4e36348-81ad-49d4-897c-246fc076d822'}

WebDriverTests/imported/w3c/webdriver/tests/new_session/response.py:35: KeyError

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180727/a195a344/attachment.html>


More information about the webkit-unassigned mailing list