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

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

Issue 2726903002: [chromedriver] Re-enable window & screenshot tests on HEAD. (Closed)
Patch Set: Created 3 years, 9 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503 66 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1503
67 'ChromeDriverTest.testShadowDomHover', 67 'ChromeDriverTest.testShadowDomHover',
68 'ChromeDriverTest.testMouseMoveTo', 68 'ChromeDriverTest.testMouseMoveTo',
69 'ChromeDriverTest.testHoverOverElement', 69 'ChromeDriverTest.testHoverOverElement',
70 ] 70 ]
71 71
72 _VERSION_SPECIFIC_FILTER = {} 72 _VERSION_SPECIFIC_FILTER = {}
73 _VERSION_SPECIFIC_FILTER['HEAD'] = [ 73 _VERSION_SPECIFIC_FILTER['HEAD'] = [
74 # https://code.google.com/p/chromedriver/issues/detail?id=992 74 # https://code.google.com/p/chromedriver/issues/detail?id=992
75 'ChromeDownloadDirTest.testDownloadDirectoryOverridesExistingPreferences', 75 'ChromeDownloadDirTest.testDownloadDirectoryOverridesExistingPreferences',
76 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625
77 'ChromeDriverTest.testWindowMaximize',
78 'ChromeDriverTest.testWindowPosition',
79 'ChromeDriverTest.testWindowSize',
80 'ChromeExtensionsCapabilityTest.testCanInspectBackgroundPage',
81 'ChromeExtensionsCapabilityTest.testCanLaunchApp',
82 'MobileEmulationCapabilityTest.testDeviceMetricsWithStandardWidth',
83 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1673 76 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1673
84 'ChromeDownloadDirTest.testFileDownloadWithGet', 77 'ChromeDownloadDirTest.testFileDownloadWithGet',
85 'ChromeDriverPageLoadTimeoutTest.*', 78 'ChromeDriverPageLoadTimeoutTest.*',
86 ] 79 ]
87 _VERSION_SPECIFIC_FILTER['57'] = [ 80 _VERSION_SPECIFIC_FILTER['57'] = [
88 # https://code.google.com/p/chromedriver/issues/detail?id=992 81 # https://code.google.com/p/chromedriver/issues/detail?id=992
89 'ChromeDownloadDirTest.testDownloadDirectoryOverridesExistingPreferences', 82 'ChromeDownloadDirTest.testDownloadDirectoryOverridesExistingPreferences',
90 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625 83 # https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625
91 'ChromeDriverTest.testWindowMaximize', 84 'ChromeDriverTest.testWindowMaximize',
92 'ChromeDriverTest.testWindowPosition', 85 'ChromeDriverTest.testWindowPosition',
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 2403
2411 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule( 2404 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule(
2412 sys.modules[__name__]) 2405 sys.modules[__name__])
2413 tests = unittest_util.FilterTestSuite(all_tests_suite, options.filter) 2406 tests = unittest_util.FilterTestSuite(all_tests_suite, options.filter)
2414 ChromeDriverTest.GlobalSetUp() 2407 ChromeDriverTest.GlobalSetUp()
2415 MobileEmulationCapabilityTest.GlobalSetUp() 2408 MobileEmulationCapabilityTest.GlobalSetUp()
2416 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests) 2409 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests)
2417 ChromeDriverTest.GlobalTearDown() 2410 ChromeDriverTest.GlobalTearDown()
2418 MobileEmulationCapabilityTest.GlobalTearDown() 2411 MobileEmulationCapabilityTest.GlobalTearDown()
2419 sys.exit(len(result.failures) + len(result.errors)) 2412 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