summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional/PYAUTO_TESTS
blob: b41e089d9abec34073819ea62614af69bcc6ab20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file lists the pyauto tests that run as a part of the functional test
# suite.
#
# Tests can be enabled on a per-platform basis. Tests not listed here will
# not be run.
#
# Within each platform, tests are specified in up to 3 groups: (1) enabled
# tests; (2) tests that are permanently disabled because they do not apply
# to the given platform and hence should not be run; and (3) disabled tests
# that need to be investigated/fixed.  Tests are listed alphabetically within
# each group.
#
# Test names can be specified in any of the following ways:
# 1. as a module, in which case all tests in that module will be run
#      example: 'test_basic'
# 2. or as a test case, in which case all tests in that test case will be run
#      example: 'test_basic.SimpleTest'
# 3. or as an individual test
#      example: 'test_basic.SimpleTest.testCanOpenGoogle'
#
# Tests beginning with '-' will be excluded.  This can be used to enforce
# exclusions for a particular platform.
# Names beginning with '@' will be treated as suite names and will be
# recursively expanded.

{
  # The CONTINUOUS suite includes tests that we expect to pass on a
  # continuous builder.
  # This is the suite that gets run on 'Chromium' builds.
  'CONTINUOUS': {
    'all': [
      'autofill',
      'bookmark_bar',
      'bookmarks',
      'browser',
      'browsing_data',
      'codesign',
      'content',
      'cookies',
      'crash_reporter',
      'databases',
      'downloads',
      'execute_javascript',
      'extensions',
      'find_in_page',
      'flash',
      'history',
      'https',
      'imports',
      'infobars',
      'instant',
      'navigation',
      'notifications',
      'ntp',
      'omnibox',
      'passwords',
      'pdf',
      'plugins',
      'plugins_check',
      'popups',
      'prefs',
      'search_engines',
      'shortcuts',
      'special_tabs',
      'sync',
      'test_basic',
      'themes',

      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # crbug.com/83686
      '-autofill.AutofillTest.testFillProfileCrazyCharacters',
      # crbug.com/81271
      '-autofill.AutofillTest.testMergeAggregatedProfilesWithSameAddress',
      '-autofill.AutofillTest.testProfilesNotMergedWhenNoMinAddressData',
      '-content.ContentTest.testTopSitesContent',  # crbug.com/71824

      # DCHECKs firing in Debug build. crbug.com/86456
      '-autofill.AutofillTest.testWhitespacesAndSeparatorCharsStrippedForValidCCNums',
      '-autofill.AutofillTest.testAggregatesMinValidProfile',
      '-autofill.AutofillTest.testCCInfoNotStoredWhenAutocompleteOff',
      '-autofill.AutofillTest.testInvalidCreditCardNumberIsNotAggregated',
      '-autofill.AutofillTest.testProfileWithEmailInOtherFieldNotSaved',
      '-autofill.AutofillTest.testProfilesNotAggregatedWithInvalidEmail',
      '-autofill.AutofillTest.testProfilesNotAggregatedWithNoAddress',

      # Turkish I problem. crbug.com/60638
      '-find_in_page.FindMatchTests.testLocalizationAndCaseOrder',
      # Browser crash?  crbug.com/86150
      '-flash.FlashTest.testDisableFlashPlugin',
      # crbug.com/83459
      '-instant.InstantTest.testPreFetchInstantURLSetsNoCookies',
      '-omnibox.OmniboxTest.testHistoryResult',  # crbug.com/71715
      # crbug.com/82629 - real bug.
      '-popups.PopupsTest.testPopupsLaunchUponBrowserBackButton',
      # crbug.com/47935
      '-popups.PopupsTest.testBlockedPopupNotShowInHistory',
      # crbug.com/83827
      '-popups.PopupsTest.testUnblockedPopupShowsInHistory',
      '-popups.PopupsTest.testUnblockedPopupAddedToOmnibox',
      # crbug.com/85600
      '-prefs.PrefsTest.testNavigationStateOnSessionRestore',
      # Flaky: crbug.com/67851
      '-special_tabs.SpecialTabsTest.testAboutDNSTab',
      # crbug.com/86523
      '-cookies.CookiesTest.testAllowCookiesForASessionUsingExceptions',
      '-cookies.CookiesTest.testAllowCookiesUsingExceptions',
      '-cookies.CookiesTest.testBlockCookiesUsingExceptions',
      # crbug.com/86524
      '-plugins.PluginsTest.testAllowPluginException',
      # crbug.com/86525
      '-popups.PopupsTest.testAllowPopupsFromExternalSite',
      '-popups.PopupsTest.testPopupsLaunchWhenTabIsClosed',
    ],

    'win': [
      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # crbug.com/85597
      '-cookies.CookiesTest.testCookiesFile',
      # Some download test fails on win official builder, only thru buildbot
      # when downloading the small zip file.
      # crbug.com/50481, crbug.com/54942
      '-downloads.DownloadsTest.testZip',
      '-downloads.DownloadsTest.testRemoveDownload',
      # crbug.com/66072
      '-notifications.NotificationsTest.testNotificationOrderAfterClosingOne',
      # crbug.com/85598
      '-ntp.NTPTest.testGetAppsWhenInstallApp',
      '-ntp.NTPTest.testLaunchAppFullScreen',
      '-ntp.NTPTest.testLaunchAppNewWindow',
      '-ntp.NTPTest.testLaunchAppPinnedTab',
      '-ntp.NTPTest.testLaunchAppRegularTab',
      '-ntp.NTPTest.testLaunchAppWithDefaultSettings',
      '-ntp.NTPTest.testUninstallApp',
      # crbug.com/70694, crbug.com/73078
      '-passwords.PasswordTest.testInfoBarDisappearByReload',
      '-passwords.PasswordTest.testNeverSavePasswords',
      # crbug.com/67588
      '-passwords.PasswordTest.testSavedPasswordInTabsAndWindows',
      # crbug.com/83820
      '-passwords.PasswordTest.testInfoBarDisappearByNavigatingPage',
      '-passwords.PasswordTest.testDisplayAndSavePasswordInfobar',
      '-prefs.PrefsTest.testDownloadDirPref',
      # crbug.com/86949
      '-sync.SyncTest.testRestartBrowser',
    ],

    'mac': [
      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # Keychain popups make autofill/password tests difficult: crbug.com/49378
      '-autofill',
      # codesign tests should run *after* signing. crbug.com/50481
      '-codesign',
      '-crash_reporter.CrashReporterTest.testRendererCrash',  # crbug.com/69464
      # crbug.com/75724
      '-downloads.DownloadsTest.testDeclineDangerousDownload',
      # crbug.com/75724
      '-downloads.DownloadsTest.testSaveDangerousFile',
      # crbug.com/68656
      '-downloads.DownloadsTest.testOpenWhenDone',
      '-downloads.DownloadsTest.testAlwaysOpenFileType',
      '-instant.InstantTest.testInstantNavigation',  # crbug.com/69090
      # crbug.com/66072
      '-notifications.NotificationsTest.testNotificationOrderAfterClosingOne',
      '-ntp.NTPTest.testLaunchAppNewWindow',  # crbug.com/79812
      # crbug.com/70437
      '-omnibox.OmniboxTest.testHistoryResult',
      # Keychain popups make autofill/password tests difficult: crbug.com/49378
      '-passwords',
      # crbug.com/79263
      '-popups.PopupsTest.testPopupsLaunchUponBrowserBackButton',
      # crbug.com/69619
      '-search_engines.SearchEnginesTest.testDiscoverSearchEngine',
      # Keychain popups make sync tests difficult on Mac.  crbug.com/49378
      '-sync',
      # crbug.com/86593
      '-prefs.PrefsTest.testSessionRestore',
    ],

    'linux': [  # linux != chromeos
      # ===========================
      # Permanently-disabled tests.
      # ===========================
      '-browser.BrowserTest.testWindowResize',  # Details at: crbug.com/44963
      # Several omnibox tests do not show omnibox results when run
      # under virtual X on linux.  The CONTINUOUS suite runs under virtual X
      # on the chromium bots, so exlcude these from here.  They're included
      # back in the FULL suite below.
      '-omnibox.OmniboxTest.testBookmarkResultInNewTabAndWindow',
      '-omnibox.OmniboxTest.testDifferentTypesOfResults',
      '-omnibox.OmniboxTest.testFetchHistoryResultItems',
      '-omnibox.OmniboxTest.testInlinAutoComplete',
      '-omnibox.OmniboxTest.testSelect',
      '-omnibox.OmniboxTest.testSuggestPref',
      # System password manager obstructs password automation.
      '-passwords',

      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # crbug.com/85310
      '-instant',
      # Gnome / kwallet popups on linux break sync tests.  crbug.com/80329
      '-sync',
    ],

    # ChromeOS is linux, but note that this section does not include the
    # entries in the linux section above.
    # These tests use the named automation interface to control the
    # primary chrome on ChromeOS.
    'chromeos': [
      'chromeos_basic',
      'chromeos_power',
      'chromeos_security',
      'chromeos_update',
      'chromeos_wifi_sanity',
      'chromeos_firmware_version_checker',

      # ===========================
      # Permanently-disabled tests.
      # ===========================
      # You cannot resize the browser window on ChromeOS.
      '-browser.BrowserTest.testWindowResize',
      # No codesign verification on ChromeOS.
      '-codesign',
      # Import tests are invalid on ChromeOS since Chrome is the only browser.
      '-imports',

      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # Flaky: crosbug.com/14394
      '-browsing_data.BrowsingDataTest.testClearHistoryAndDownloads',
      # Downloads panel stays even after declining a download.
      # crosbug.com/14728
      '-downloads.DownloadsTest.testDeclineDangerousDownload',
      # Need internal data dirs in autotest package. crosbug.com/6855
      '-find_in_page.FindMatchTests.testSearchInPDF',
      # Plugin crash infobar does not show up for file:/// flash urls
      # crosbug.com/14971
      '-infobars.InfobarTest.testPluginCrashInfobar',
      # Flaky: crosbug.com/14439
      '-instant.InstantSettingsTest.testEnableDisableInstant',
      # crosbug.com/14256
      '-ntp.NTPTest.testLaunchAppFullScreen',
      # Content history broken in omnibox.  crosbug.com/14416
      '-omnibox.OmniboxTest.testContentHistory',
      # onunload popups get created in the same window on chromeos
      # crosbug.com/14924
      '-popups.PopupsTest.testPopupsLaunchWhenTabIsClosed',
      # Session restore not working with PyAuto.  crosbug.com/12648
      '-prefs.PrefsTest.testNavigationStateOnSessionRestore',
      '-prefs.PrefsTest.testSessionRestoreURLs',
      '-prefs.PrefsTest.testSessionRestore',
      # sync tests were running into a secondary passphrase. crosbug.com/15016.
      '-sync',

      # Deal with i18n chars.  crosbug.com/12639
      '-autofill.AutofillTest.testFillProfileCrazyCharacters',
      '-downloads.DownloadsTest.testCrazyFilenames',
      '-omnibox.OmniboxTest.testCrazyFilenames',
    ],
  },

  # The FULL suite includes CONTINUOUS, and more.
  # This the suite that gets run on 'Google Chrome' builds.
  'FULL': {
    'all': [
      '@CONTINUOUS',
      'translate',

      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # This test fails due to crbug.com/35485
      '-translate.TranslateTest.testBarNotVisibleOnSSLErrorPage',
      # This test fails due to crbug.com/50706
      '-translate.TranslateTest.testToggleTranslateOption',
      # crbug.com/70280
      '-translate.TranslateTest.testSeveralLanguages',
      # crbug.com/85601
      '-translate.TranslateTest.testAlwaysTranslateInIncognito',
      # This test fails due to crbug.com/85633
      '-translate.TranslateTest.testSessionRestore',
    ],

    'win': [
      'enterprise',
    ],

    'mac': [
    ],

    'linux': [
      # Add back the omnibox tests excluded from the CONTINUOUS suite above
      # because they do not produce omnibox results under virtual X on linux.
      # crbug.com/85310
      'instant',
      'omnibox.OmniboxTest.testBookmarkResultInNewTabAndWindow',
      'omnibox.OmniboxTest.testDifferentTypesOfResults',
      'omnibox.OmniboxTest.testFetchHistoryResultItems',
      'omnibox.OmniboxTest.testInlinAutoComplete',
      'omnibox.OmniboxTest.testSelect',
      'omnibox.OmniboxTest.testSuggestPref',

      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # crbug.com/83459
      '-instant.InstantTest.testPreFetchInstantURLSetsNoCookies',
    ],

    'chromeos': [
      # ==================================================
      # Disabled tests that need to be investigated/fixed.
      # ==================================================
      # Session restore not working with PyAuto.  crosbug.com/12648
      '-translate.TranslateTest.testSessionRestore',
      # Deal with i18n chars.  crosbug.com/12639
      '-translate.TranslateTest.testDownloadsNotTranslated',
    ],
  },

  'EMPTY': {
  },

  'CHROMEOS_CONNECTIVITY': {
    'chromeos': [
      'chromeos_wifi_functional',
      'chromeos_wifi_compliance',
      'wifi_downloads',
      'wifi_notification',
    ],
  },

  # ChromeOS login tests.
  'CHROMEOS_LOGIN': {
    'chromeos': [
      'chromeos_login',
    ],
  },

  # HTML5 media performance tests.
  'AV_PERF': {
     'linux': [
       'media.media_playbacktime',
       'media.media_perf',
       'media.media_fps',
     ],
  },

  # HTML5 media functional tests.
  'AV_FUNC': {
     'linux': [
       'media.media_event_simple_test',
       'media.media_event_track',
     ],
  },
}