Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: chrome/test/chromedriver/test/test_expectations

Issue 2726903002: [chromedriver] Re-enable window & screenshot tests on HEAD. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/chromedriver/test/run_py_tests.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Test expectation list for WebDriver Java acceptance tests. 5 """Test expectation list for WebDriver Java acceptance tests.
6 6
7 It is evaluated through Python. 7 It is evaluated through Python.
8 """ 8 """
9 9
10 import fnmatch 10 import fnmatch
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 'PageLoadingTest.testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate', 93 'PageLoadingTest.testShouldBeAbleToAccessPagesWithAnInsecureSslCertificate',
94 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=1113 94 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=1113
95 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow', 95 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow',
96 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=1151 96 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=1151
97 'DragAndDropTest.testDragAndDrop', 97 'DragAndDropTest.testDragAndDrop',
98 'DragAndDropTest.testShouldAllowUsersToDragAndDropToElementsOffTheCurrentVie wPort', 98 'DragAndDropTest.testShouldAllowUsersToDragAndDropToElementsOffTheCurrentVie wPort',
99 'DragAndDropTest.testElementInDiv', 99 'DragAndDropTest.testElementInDiv',
100 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503 100 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503
101 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', 101 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents',
102 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList', 102 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList',
103 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625
104 'TakesScreenshotTest.*',
105 'WindowTest.*',
106 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674 103 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674
107 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows', 104 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows',
108 ] 105 ]
109 _REVISION_NEGATIVE_FILTER['57'] = ( 106 _REVISION_NEGATIVE_FILTER['57'] = (
110 _REVISION_NEGATIVE_FILTER['HEAD'] + [ 107 _REVISION_NEGATIVE_FILTER['HEAD'] + [
111 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625 108 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625
112 'TakesScreenshotTest.*', 109 'TakesScreenshotTest.*',
113 'WindowTest.*', 110 'WindowTest.*',
114 ] 111 ]
115 ) 112 )
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 Set of passed test names. 316 Set of passed test names.
320 """ 317 """
321 filters = (_OS_NEGATIVE_FILTER[operating_system] + 318 filters = (_OS_NEGATIVE_FILTER[operating_system] +
322 _GetRevisionNegativeFilter(chrome_version) + 319 _GetRevisionNegativeFilter(chrome_version) +
323 _GetSpecificOsRevisionNegativeFilter(operating_system, 320 _GetSpecificOsRevisionNegativeFilter(operating_system,
324 chrome_version)) 321 chrome_version))
325 passed = set(tests) 322 passed = set(tests)
326 for f in filters: 323 for f in filters:
327 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) 324 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f)))
328 return passed 325 return passed
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/test/run_py_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698