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

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

Issue 2950353003: [Chromedriver] Disable few tests involving ClickElement command on HEAD. (Closed)
Patch Set: Created 3 years, 6 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow', 94 'FrameSwitchingTest.testShouldNotSwitchMagicallyToTheTopWindow',
95 # Flaky: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1151 95 # Flaky: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1151
96 'DragAndDropTest.testDragAndDrop', 96 'DragAndDropTest.testDragAndDrop',
97 'DragAndDropTest.testShouldAllowUsersToDragAndDropToElementsOffTheCurrentVie wPort', 97 'DragAndDropTest.testShouldAllowUsersToDragAndDropToElementsOffTheCurrentVie wPort',
98 'DragAndDropTest.testElementInDiv', 98 'DragAndDropTest.testElementInDiv',
99 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503 99 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503
100 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', 100 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents',
101 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList', 101 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherList',
102 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674 102 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674
103 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows', 103 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows',
104 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1852
105 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr ameThatIsOutOfView',
106 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInAFrame',
107 'ClickScrollingTest.testShouldBeAbleToClickElementInAFrameThatIsOutOfView',
108 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInAFrameTha tIsOutOfView',
109 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANestedFr ame',
110 'ClickTest.testShouldSetRelatedTargetForMouseOver',
111 'ClickTest.testShouldBeAbleToClickOnAnElementGreaterThanTwoViewports',
112 'CorrectEventFiringTest.testShouldNotThrowIfEventHandlerThrows',
113 'ElementFindingTest.testRemovingAnElementDynamicallyFromTheDomShouldCauseASt aleRefException',
114 'JavascriptEnabledDriverTest.testShouldBeAbleToClickALinkThatClosesAWindow',
115 'VisibilityTest.testShouldModifyTheVisibilityOfAnElementDynamically',
116 'WindowSwitchingTest.testClickingOnAButtonThatClosesAnOpenWindowDoesNotCause TheBrowserToHang',
117 'WindowSwitchingTest.testCanCallGetWindowHandlesAfterClosingAWindow',
118 'BasicKeyboardInterfaceTest.testBasicKeyboardInput',
119 'CombinedInputActionsTest.testChordControlCutAndPaste',
104 ] 120 ]
105 _REVISION_NEGATIVE_FILTER['58'] = ( 121 _REVISION_NEGATIVE_FILTER['58'] = (
106 _REVISION_NEGATIVE_FILTER['HEAD'] + [ 122 _REVISION_NEGATIVE_FILTER['HEAD'] + [
107 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674 123 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1674
108 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows', 124 'WindowSwitchingTest.testShouldBeAbleToIterateOverAllOpenWindows',
109 ] 125 ]
110 ) 126 )
111 127
112 _OS_NEGATIVE_FILTER = {} 128 _OS_NEGATIVE_FILTER = {}
113 _OS_NEGATIVE_FILTER['win'] = [ 129 _OS_NEGATIVE_FILTER['win'] = [
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement', 241 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement',
226 ] 242 ]
227 ) 243 )
228 244
229 _OS_NEGATIVE_FILTER['android:chromium'] = ( 245 _OS_NEGATIVE_FILTER['android:chromium'] = (
230 _OS_NEGATIVE_FILTER['android:chrome'] + [ 246 _OS_NEGATIVE_FILTER['android:chrome'] + [
231 'CorrectEventFiringTest.testShouldFireClickEventWhenClicking', 247 'CorrectEventFiringTest.testShouldFireClickEventWhenClicking',
232 'CorrectEventFiringTest.testShouldFireMouseDownEventWhenClicking', 248 'CorrectEventFiringTest.testShouldFireMouseDownEventWhenClicking',
233 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=998 249 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=998
234 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement', 250 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement',
251 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1852
252 'BasicKeyboardInterfaceTest.testBasicKeyboardInputOnActiveElement',
253 'BasicKeyboardInterfaceTest.testBasicKeyboardInput',
254 'CombinedInputActionsTest.testChordControlCutAndPaste',
255 'ElementFindingTest.testRemovingAnElementDynamicallyFromTheDomShouldCaus eAStaleRefException',
256 'CorrectEventFiringTest.testShouldNotThrowIfEventHandlerThrows',
257 'ClickTest.testShouldBeAbleToClickOnAnElementGreaterThanTwoViewports',
258 'ClickTest.testShouldSetRelatedTargetForMouseOver',
259 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInAFram eThatIsOutOfView',
260 'ClickScrollingTest.testShouldBeAbleToClickElementInAFrameThatIsOutOfVie w',
261 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInAFram e',
262 'ClickScrollingTest.testShouldBeAbleToClickElementThatIsOutOfViewInANest edFrameThatIsOutOfView',
235 ] 263 ]
236 ) 264 )
237 _OS_NEGATIVE_FILTER['android:chrome_beta'] = ( 265 _OS_NEGATIVE_FILTER['android:chrome_beta'] = (
238 _OS_NEGATIVE_FILTER['android:chrome'] + [ 266 _OS_NEGATIVE_FILTER['android:chrome'] + [
239 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1220 267 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1220
240 'BasicMouseInterfaceTest.testDragAndDrop', 268 'BasicMouseInterfaceTest.testDragAndDrop',
241 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents', 269 'BasicMouseInterfaceTest.testDraggingElementWithMouseFiresEvents',
242 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherLis t', 270 'BasicMouseInterfaceTest.testDraggingElementWithMouseMovesItToAnotherLis t',
243 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=998 271 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=998
244 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement', 272 'ImplicitWaitTest.testShouldImplicitlyWaitForASingleElement',
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 Set of passed test names. 347 Set of passed test names.
320 """ 348 """
321 filters = (_OS_NEGATIVE_FILTER[operating_system] + 349 filters = (_OS_NEGATIVE_FILTER[operating_system] +
322 _GetRevisionNegativeFilter(chrome_version) + 350 _GetRevisionNegativeFilter(chrome_version) +
323 _GetSpecificOsRevisionNegativeFilter(operating_system, 351 _GetSpecificOsRevisionNegativeFilter(operating_system,
324 chrome_version)) 352 chrome_version))
325 passed = set(tests) 353 passed = set(tests)
326 for f in filters: 354 for f in filters:
327 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) 355 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f)))
328 return passed 356 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