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

Unified Diff: chrome/test/data/webui/md_bookmarks/toast_manager_test.js

Issue 2955563002: MD Bookmarks: Initial screenreader accessibility improvements (Closed)
Patch Set: Hide the undo button when toast is closed Created 3 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
Index: chrome/test/data/webui/md_bookmarks/toast_manager_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/toast_manager_test.js b/chrome/test/data/webui/md_bookmarks/toast_manager_test.js
index 24ba4218c42f0e68495c6d78069f87544a425295..b7d4dffd24aff09372a9fc5fa3e0c27005d204cd 100644
--- a/chrome/test/data/webui/md_bookmarks/toast_manager_test.js
+++ b/chrome/test/data/webui/md_bookmarks/toast_manager_test.js
@@ -22,6 +22,9 @@ suite('<bookmarks-toast-manager>', function() {
toastManager.show('test', true);
assertFalse(toastManager.$$('paper-button').hidden);
+
+ toastManager.hide();
+ assertTrue(toastManager.$.button.hidden);
});
test('auto hide', function() {

Powered by Google App Engine
This is Rietveld 408576698