summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
authorapacible <apacible@chromium.org>2015-08-11 14:18:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-11 21:19:36 +0000
commit28c5543088eb775a05d94c86fa76044daad0e61f (patch)
tree239b8274aff5a8b4bf09af57a8f5d5b4062c3cc0 /chrome/test/data
parent959039d06c1677f2d90fc7d84cb9ad9d310842bd (diff)
downloadchromium_src-28c5543088eb775a05d94c86fa76044daad0e61f.zip
chromium_src-28c5543088eb775a05d94c86fa76044daad0e61f.tar.gz
chromium_src-28c5543088eb775a05d94c86fa76044daad0e61f.tar.bz2
Update Media Router blocking issue style.
This change includes: - Remove sad face icon. - Only show the issue message for blocking issues. - Update tests. Changes (pixels, colors, icons) taken from redlines or from offline conversation with UX. BUG=501452 Review URL: https://codereview.chromium.org/1279423002 Cr-Commit-Position: refs/heads/master@{#342898}
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/webui/media_router/issue_banner_tests.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/test/data/webui/media_router/issue_banner_tests.js b/chrome/test/data/webui/media_router/issue_banner_tests.js
index 9f5943f..c51dee9 100644
--- a/chrome/test/data/webui/media_router/issue_banner_tests.js
+++ b/chrome/test/data/webui/media_router/issue_banner_tests.js
@@ -57,11 +57,10 @@ cr.define('issue_banner', function() {
assertEquals(expected.trim(), banner.$[elementId].textContent.trim());
};
- // Checks whether |issue| title and message are equal with the title
- // and message text in the UI.
+ // Checks whether |issue| message are equal with the message text in the
+ // UI.
var checkIssueText = function(issue) {
if (issue) {
- checkElementText(issue.title, 'blocking-issue-title');
checkElementText(issue.message, 'blocking-issue-message');
checkElementText(issue.message, 'non-blocking-message');
@@ -81,7 +80,6 @@ cr.define('issue_banner', function() {
issue.secondaryActionType]), 'non-blocking-opt');
}
} else {
- checkElementText('', 'blocking-issue-title');
checkElementText('', 'blocking-issue-message');
checkElementText('', 'non-blocking-message');
checkElementText('', 'blocking-default');