Seems to be a matter of doing case insensitive cmp. __________________________________________________________________________________ test_merge_platformName ___________________________________________________________________________________ new_session = <function create_session at 0x7fa92c0b2b18>, add_browser_capabilites = <function update_capabilities at 0x7fa92c0b2b90>, platform_name = 'linux' @pytest.mark.skipif(platform_name() is None, reason="Unsupported platform") def test_merge_platformName(new_session, add_browser_capabilites, platform_name): resp, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilites({"timeouts": {"script": 10}}), "firstMatch": [ { "platformName": platform_name.upper(), "pageLoadStrategy": "none" }, { "platformName": platform_name, "pageLoadStrategy": "eager" } ]}}) > assert resp["capabilities"]["platformName"] == platform_name E AssertionError: assert 'LINUX' == 'linux' E - LINUX E + linux _ = <webdriver.client.Session object at 0x7fa92c0753d0> add_browser_capabilites = <function update_capabilities at 0x7fa92c0b2b90> new_session = <function create_session at 0x7fa92c0b2b18> platform_name = 'linux' resp = {'capabilities': {'acceptInsecureCerts': False, 'browserName': 'MiniBrowser', 'browserVersion': '2.19.6', 'pageLoadStrategy': 'none', ...}, 'sessionId': 'b0973e15-e57f-472e-9251-5cf5101bb437'} WebDriverTests/imported/w3c/webdriver/tests/sessions/new_session/merge.py:54: AssertionError
Created attachment 332148 [details] Patch
Comment on attachment 332148 [details] Patch Attachment 332148 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/6194686 New failing tests: fast/text/combining-character-sequence-fallback-crash.html
Created attachment 332153 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Committed r227602: <https://trac.webkit.org/changeset/227602>
<rdar://problem/36865230>