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

Side by Side Diff: chrome/test/chromedriver/test/run_py_tests.py

Issue 2692533002: [Chromedriver] Disable window & screenshot tests on Chrome v57. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | chrome/test/chromedriver/test/test_expectations » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """End to end tests for ChromeDriver.""" 6 """End to end tests for ChromeDriver."""
7 7
8 import base64 8 import base64
9 import json 9 import json
10 import math 10 import math
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 'ChromeDriverTest.testShadowDomHover', 89 'ChromeDriverTest.testShadowDomHover',
90 'ChromeDriverTest.testMouseMoveTo', 90 'ChromeDriverTest.testMouseMoveTo',
91 'ChromeDriverTest.testHoverOverElement', 91 'ChromeDriverTest.testHoverOverElement',
92 ] 92 ]
93 _VERSION_SPECIFIC_FILTER['56'] = [ 93 _VERSION_SPECIFIC_FILTER['56'] = [
94 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503 94 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503
95 'ChromeDriverTest.testShadowDomHover', 95 'ChromeDriverTest.testShadowDomHover',
96 'ChromeDriverTest.testMouseMoveTo', 96 'ChromeDriverTest.testMouseMoveTo',
97 'ChromeDriverTest.testHoverOverElement', 97 'ChromeDriverTest.testHoverOverElement',
98 ] 98 ]
99 _VERSION_SPECIFIC_FILTER['57'] = [
100 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625
101 'ChromeDriverTest.testWindowMaximize',
102 'ChromeDriverTest.testWindowPosition',
103 'ChromeDriverTest.testWindowSize',
104 'ChromeExtensionsCapabilityTest.testCanInspectBackgroundPage',
105 'ChromeExtensionsCapabilityTest.testCanLaunchApp',
106 'MobileEmulationCapabilityTest.testDeviceMetricsWithStandardWidth',
107 ]
99 108
100 _OS_SPECIFIC_FILTER = {} 109 _OS_SPECIFIC_FILTER = {}
101 _OS_SPECIFIC_FILTER['win'] = [ 110 _OS_SPECIFIC_FILTER['win'] = [
102 # https://code.google.com/p/chromedriver/issues/detail?id=299 111 # https://code.google.com/p/chromedriver/issues/detail?id=299
103 'ChromeLogPathCapabilityTest.testChromeLogPath', 112 'ChromeLogPathCapabilityTest.testChromeLogPath',
104 ] 113 ]
105 _OS_SPECIFIC_FILTER['linux'] = [ 114 _OS_SPECIFIC_FILTER['linux'] = [
106 # Xvfb doesn't support maximization. 115 # Xvfb doesn't support maximization.
107 'ChromeDriverTest.testWindowMaximize', 116 'ChromeDriverTest.testWindowMaximize',
108 ] 117 ]
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 2420
2412 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule( 2421 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule(
2413 sys.modules[__name__]) 2422 sys.modules[__name__])
2414 tests = unittest_util.FilterTestSuite(all_tests_suite, options.filter) 2423 tests = unittest_util.FilterTestSuite(all_tests_suite, options.filter)
2415 ChromeDriverTest.GlobalSetUp() 2424 ChromeDriverTest.GlobalSetUp()
2416 MobileEmulationCapabilityTest.GlobalSetUp() 2425 MobileEmulationCapabilityTest.GlobalSetUp()
2417 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests) 2426 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests)
2418 ChromeDriverTest.GlobalTearDown() 2427 ChromeDriverTest.GlobalTearDown()
2419 MobileEmulationCapabilityTest.GlobalTearDown() 2428 MobileEmulationCapabilityTest.GlobalTearDown()
2420 sys.exit(len(result.failures) + len(result.errors)) 2429 sys.exit(len(result.failures) + len(result.errors))
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/test/test_expectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698