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

Unified Diff: chrome/browser/ui/webui/help/help_browsertest.js

Issue 2081873002: Incorporate comments in Dbus code and add Eol icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate comments from isherman@ Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/help/help_page.js ('k') | chrome/browser/ui/webui/help/help_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/help_browsertest.js
diff --git a/chrome/browser/ui/webui/help/help_browsertest.js b/chrome/browser/ui/webui/help/help_browsertest.js
index bc92d5cbed973c5a9339c3dc1971d0fd0e6621d7..45bd27278975343a89854fe71523c065726b3c0d 100644
--- a/chrome/browser/ui/webui/help/help_browsertest.js
+++ b/chrome/browser/ui/webui/help/help_browsertest.js
@@ -125,17 +125,23 @@ TEST_F('HelpPageWebUITest', 'testRequestUpdate', function() {
// Test that the EndofLife String is shown and hidden properly.
TEST_F('HelpPageWebUITest', 'testUpdateEolMessage', function() {
- var container = $('update-status-container');
+ // Enable when failure is resolved.
+ // AX_TEXT_04: http://crbug.com/570563
+ this.accessibilityAuditConfig.ignoreSelectors(
+ 'linkWithUnclearPurpose',
+ '#eol-learnMore > A');
+
+ var updateStatusContainer = $('update-status-container');
var update = $('request-update');
- var message = $('eol-message');
+ var eolStatusContainer = $('eol-status-container');
help.HelpPage.updateEolMessage('device_supported', '');
- expectTrue(message.hidden);
+ expectTrue(eolStatusContainer.hidden);
help.HelpPage.updateEolMessage('device_endoflife', '');
- expectFalse(message.hidden);
+ expectFalse(eolStatusContainer.hidden);
expectTrue(update.disabled);
- expectTrue(container.hidden);
+ expectTrue(updateStatusContainer.hidden);
});
GEN('#endif');
« no previous file with comments | « chrome/browser/resources/help/help_page.js ('k') | chrome/browser/ui/webui/help/help_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698