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

Side by Side Diff: chrome/browser/ui/webui/options/options_browsertest.js

Issue 1910953004: Disable failing accessibility audit in Options tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « chrome/browser/ui/webui/options/cookies_view_browsertest.js ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GEN_INCLUDE(['options_browsertest_base.js']); 5 GEN_INCLUDE(['options_browsertest_base.js']);
6 GEN('#include "chrome/browser/ui/webui/options/options_browsertest.h"'); 6 GEN('#include "chrome/browser/ui/webui/options/options_browsertest.h"');
7 7
8 /** @const */ var SUPERVISED_USERS_PREF = 'profile.managed_users'; 8 /** @const */ var SUPERVISED_USERS_PREF = 'profile.managed_users';
9 9
10 /** 10 /**
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // Selectors below only affect ChromeOS tests. 432 // Selectors below only affect ChromeOS tests.
433 '#privacy-section > DIV > DIV:nth-of-type(9) > A', 433 '#privacy-section > DIV > DIV:nth-of-type(9) > A',
434 '#accessibility-learn-more', 434 '#accessibility-learn-more',
435 ]; 435 ];
436 436
437 // Enable when failure is resolved. 437 // Enable when failure is resolved.
438 // AX_TEXT_04: http://crbug.com/559326 438 // AX_TEXT_04: http://crbug.com/559326
439 this.accessibilityAuditConfig.ignoreSelectors( 439 this.accessibilityAuditConfig.ignoreSelectors(
440 'linkWithUnclearPurpose', 440 'linkWithUnclearPurpose',
441 linkWithUnclearPurposeSelectors); 441 linkWithUnclearPurposeSelectors);
442
443 var requiredOwnedAriaRoleMissingSelectors = [
444 '#default-search-engine-list',
445 '#other-search-engine-list',
446 ];
447
448 // Enable when failure is resolved.
449 // AX_ARIA_08: http://crbug.com/605689
450 this.accessibilityAuditConfig.ignoreSelectors(
451 'requiredOwnedAriaRoleMissing',
452 requiredOwnedAriaRoleMissingSelectors);
442 }, 453 },
443 454
444 testGenPreamble: function() { 455 testGenPreamble: function() {
445 // Start with no supervised users managed by this profile. 456 // Start with no supervised users managed by this profile.
446 GEN(' ClearPref("' + SUPERVISED_USERS_PREF + '");'); 457 GEN(' ClearPref("' + SUPERVISED_USERS_PREF + '");');
447 }, 458 },
448 459
449 /** 460 /**
450 * Asserts that two non-nested arrays are equal. The arrays must contain only 461 * Asserts that two non-nested arrays are equal. The arrays must contain only
451 * plain data types, no nested arrays or other objects. 462 * plain data types, no nested arrays or other objects.
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 __proto__: OptionsWebUIExtendedTest.prototype, 946 __proto__: OptionsWebUIExtendedTest.prototype,
936 947
937 /** @override */ 948 /** @override */
938 browsePreload: 'chrome://settings-frame/nonexistantPage', 949 browsePreload: 'chrome://settings-frame/nonexistantPage',
939 }; 950 };
940 951
941 TEST_F('OptionsWebUIRedirectTest', 'TestURL', function() { 952 TEST_F('OptionsWebUIRedirectTest', 'TestURL', function() {
942 assertEquals('chrome://settings-frame/', document.location.href); 953 assertEquals('chrome://settings-frame/', document.location.href);
943 this.verifyHistory_([''], testDone); 954 this.verifyHistory_([''], testDone);
944 }); 955 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/cookies_view_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698