| OLD | NEW |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLong', | 68 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLong', |
| 69 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLongX', | 69 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLongX', |
| 70 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLongY', | 70 'TakesScreenshotTest.testShouldCaptureScreenshotWithTooLongY', |
| 71 'TextPagesTest.testShouldBeAbleToLoadASimplePageOfText', | 71 'TextPagesTest.testShouldBeAbleToLoadASimplePageOfText', |
| 72 'TextPagesTest.testShouldThrowExceptionWhenAddingCookieToAPageThatIsNotHtml'
, | 72 'TextPagesTest.testShouldThrowExceptionWhenAddingCookieToAPageThatIsNotHtml'
, |
| 73 'TypingTest.testGenerateKeyPressEventEvenWhenElementPreventsDefault', | 73 'TypingTest.testGenerateKeyPressEventEvenWhenElementPreventsDefault', |
| 74 'TypingTest.testNonPrintableCharactersShouldWorkWithContentEditableOrDesignM
odeSet', | 74 'TypingTest.testNonPrintableCharactersShouldWorkWithContentEditableOrDesignM
odeSet', |
| 75 'TypingTest.testShouldBeAbleToTypeIntoContentEditableElementWithExistingValu
e', | 75 'TypingTest.testShouldBeAbleToTypeIntoContentEditableElementWithExistingValu
e', |
| 76 'TypingTest.testShouldNotTypeIntoElementsThatPreventKeyDownEvents', | 76 'TypingTest.testShouldNotTypeIntoElementsThatPreventKeyDownEvents', |
| 77 'TypingTest.testTypingIntoAnIFrameWithContentEditableOrDesignModeSet', | 77 'TypingTest.testTypingIntoAnIFrameWithContentEditableOrDesignModeSet', |
| 78 'UnexpectedAlertBehaviorTest.*', | 78 'UnexpectedAlertBehaviorTest.requiredUnhandledAlertCapabilityHasPriorityOver
Desired', |
| 79 'UnexpectedAlertBehaviorTest.dismissUnhandledAlertsByDefault', |
| 79 'VisibilityTest.testElementHiddenByOverflowXIsNotVisible', | 80 'VisibilityTest.testElementHiddenByOverflowXIsNotVisible', |
| 80 'VisibilityTest.testElementHiddenByOverflowYIsNotVisible', | 81 'VisibilityTest.testElementHiddenByOverflowYIsNotVisible', |
| 81 'VisibilityTest.tooSmallAWindowWithOverflowHiddenIsNotAProblem', | 82 'VisibilityTest.tooSmallAWindowWithOverflowHiddenIsNotAProblem', |
| 82 'WindowTest.testCanMaximizeTheWindowFromFrame', | 83 'WindowTest.testCanMaximizeTheWindowFromFrame', |
| 83 'WindowTest.testCanMaximizeTheWindowFromIframe', | 84 'WindowTest.testCanMaximizeTheWindowFromIframe', |
| 84 'WindowTest.testSetsTheSizeOfTheCurrentWindow', | 85 'WindowTest.testSetsTheSizeOfTheCurrentWindow', |
| 85 'WindowTest.testCanMaximizeTheWindow', | 86 'WindowTest.testCanMaximizeTheWindow', |
| 86 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=528 | 87 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=528 |
| 87 'PageLoadingTest.testShouldDoNothingIfThereIsNothingToGoBackTo', | 88 'PageLoadingTest.testShouldDoNothingIfThereIsNothingToGoBackTo', |
| 88 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=653 | 89 # Flaky: https://code.google.com/p/chromedriver/issues/detail?id=653 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 'SessionHandlingTest.callingAnyOperationAfterClosingTheLastWindowShouldThrow
AnException', | 170 'SessionHandlingTest.callingAnyOperationAfterClosingTheLastWindowShouldThrow
AnException', |
| 170 'SessionHandlingTest.callingQuitAfterClosingTheLastWindowIsANoOp', | 171 'SessionHandlingTest.callingQuitAfterClosingTheLastWindowIsANoOp', |
| 171 'TakesScreenshotTest.testCaptureToBase64', | 172 'TakesScreenshotTest.testCaptureToBase64', |
| 172 'TakesScreenshotTest.testSaveScreenshotAsFile', | 173 'TakesScreenshotTest.testSaveScreenshotAsFile', |
| 173 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage', | 174 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePage', |
| 174 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching', | 175 'TakesScreenshotTest.testShouldCaptureScreenshotAtFramePageAfterSwitching', |
| 175 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching', | 176 'TakesScreenshotTest.testShouldCaptureScreenshotAtIFramePageAfterSwitching', |
| 176 | 177 |
| 177 # Alerts are not yet supported on Android. | 178 # Alerts are not yet supported on Android. |
| 178 'AlertsTest.*', | 179 'AlertsTest.*', |
| 180 'UnexpectedAlertBehaviorTest.*', |
| 179 | 181 |
| 180 # http://crbug.com/156390 | 182 # http://crbug.com/156390 |
| 181 'DragAndDropTest.*', | 183 'DragAndDropTest.*', |
| 182 | 184 |
| 183 # Scrolling touch events are not supported. | 185 # Scrolling touch events are not supported. |
| 184 'TouchScrollTest.*', | 186 'TouchScrollTest.*', |
| 185 | 187 |
| 186 # These tests start multiple sessions, which is not supported on a single | 188 # These tests start multiple sessions, which is not supported on a single |
| 187 # Android device. | 189 # Android device. |
| 188 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", | 190 "AvailableLogsTest.shouldBeAbleToEnableProfilerLog", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 Set of passed test names. | 310 Set of passed test names. |
| 309 """ | 311 """ |
| 310 filters = (_OS_NEGATIVE_FILTER[operating_system] + | 312 filters = (_OS_NEGATIVE_FILTER[operating_system] + |
| 311 _GetRevisionNegativeFilter(chrome_version) + | 313 _GetRevisionNegativeFilter(chrome_version) + |
| 312 _GetSpecificOsRevisionNegativeFilter(operating_system, | 314 _GetSpecificOsRevisionNegativeFilter(operating_system, |
| 313 chrome_version)) | 315 chrome_version)) |
| 314 passed = set(tests) | 316 passed = set(tests) |
| 315 for f in filters: | 317 for f in filters: |
| 316 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) | 318 passed.difference_update(set(t for t in tests if fnmatch.fnmatch(t, f))) |
| 317 return passed | 319 return passed |
| OLD | NEW |