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

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

Issue 22283004: [chromedriver] Release version 2.2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/chromedriver/chrome/version.cc ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 _OS_NEGATIVE_FILTER = {} 107 _OS_NEGATIVE_FILTER = {}
108 _OS_NEGATIVE_FILTER['win'] = [ 108 _OS_NEGATIVE_FILTER['win'] = [
109 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=282 109 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=282
110 'PageLoadingTest.testShouldNotHangIfDocumentOpenCallIsNeverFollowedByDocumen tCloseCall', 110 'PageLoadingTest.testShouldNotHangIfDocumentOpenCallIsNeverFollowedByDocumen tCloseCall',
111 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=373 111 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=373
112 'RenderedWebElementTest.testHoverPersists', 112 'RenderedWebElementTest.testHoverPersists',
113 'RenderedWebElementTest.canClickOnASuckerFishStyleMenu', 113 'RenderedWebElementTest.canClickOnASuckerFishStyleMenu',
114 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=416 114 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=416
115 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching', 115 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching',
116 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage',
116 ] 117 ]
117 _OS_NEGATIVE_FILTER['linux'] = [] 118 _OS_NEGATIVE_FILTER['linux'] = []
118 _OS_NEGATIVE_FILTER['mac'] = [ 119 _OS_NEGATIVE_FILTER['mac'] = [
119 # https://code.google.com/p/chromedriver/issues/detail?id=26 120 # https://code.google.com/p/chromedriver/issues/detail?id=26
120 'AlertsTest.testAlertShouldNotAllowAdditionalCommandsIfDismissed', 121 'AlertsTest.testAlertShouldNotAllowAdditionalCommandsIfDismissed',
121 'AlertsTest.testShouldAllowUsersToDismissAnAlertManually', 122 'AlertsTest.testShouldAllowUsersToDismissAnAlertManually',
122 'FormHandlingTest.handleFormWithJavascriptAction', 123 'FormHandlingTest.handleFormWithJavascriptAction',
123 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=354 124 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=354
124 'AlertsTest.testShouldAllowUsersToAcceptAnAlertInAFrame', 125 'AlertsTest.testShouldAllowUsersToAcceptAnAlertInAFrame',
125 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=375 126 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=375
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 214
214 Returns: 215 Returns:
215 Set of passed test names. 216 Set of passed test names.
216 """ 217 """
217 filters = (_OS_NEGATIVE_FILTER[operating_system] + 218 filters = (_OS_NEGATIVE_FILTER[operating_system] +
218 _GetRevisionNegativeFilter(chrome_version)) 219 _GetRevisionNegativeFilter(chrome_version))
219 passed = set(tests) 220 passed = set(tests)
220 for f in filters: 221 for f in filters:
221 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) 222 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f)))
222 return passed 223 return passed
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698