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

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

Issue 2550093004: [chromedriver] Disable WindowTest and ScreenshotTest on HEAD (Closed)
Patch Set: Created 4 years 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.*',
103 ] 106 ]
104 107
105 _OS_NEGATIVE_FILTER = {} 108 _OS_NEGATIVE_FILTER = {}
106 _OS_NEGATIVE_FILTER['win'] = [ 109 _OS_NEGATIVE_FILTER['win'] = [
107 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=373 110 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=373
108 'RenderedWebElementTest.testHoverPersists', 111 'RenderedWebElementTest.testHoverPersists',
109 'RenderedWebElementTest.canClickOnASuckerFishStyleMenu', 112 'RenderedWebElementTest.canClickOnASuckerFishStyleMenu',
110 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=416 113 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=416
111 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching', 114 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching',
112 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage', 115 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage',
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 Set of passed test names. 313 Set of passed test names.
311 """ 314 """
312 filters = (_OS_NEGATIVE_FILTER[operating_system] + 315 filters = (_OS_NEGATIVE_FILTER[operating_system] +
313 _GetRevisionNegativeFilter(chrome_version) + 316 _GetRevisionNegativeFilter(chrome_version) +
314 _GetSpecificOsRevisionNegativeFilter(operating_system, 317 _GetSpecificOsRevisionNegativeFilter(operating_system,
315 chrome_version)) 318 chrome_version))
316 passed = set(tests) 319 passed = set(tests)
317 for f in filters: 320 for f in filters:
318 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) 321 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f)))
319 return passed 322 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