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

Unified Diff: chrome/test/data/webui/media_router/media_router_container_tests.js

Issue 1554663002: [Media Router] First Run Flow WebUI and strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years 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/ui/webui/media_router/media_router_localized_strings_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/media_router/media_router_container_tests.js
diff --git a/chrome/test/data/webui/media_router/media_router_container_tests.js b/chrome/test/data/webui/media_router/media_router_container_tests.js
index 88571b6a2a460b74a5951d03cab00c0907679b57..7fc1da1f1dc6c678d36e7be9ec458870c0ad3398 100644
--- a/chrome/test/data/webui/media_router/media_router_container_tests.js
+++ b/chrome/test/data/webui/media_router/media_router_container_tests.js
@@ -162,6 +162,20 @@ cr.define('media_router_container', function() {
setTimeout(done);
});
+ // Tests for 'acknowledge-first-run-flow' event firing when the
+ // 'first-run-button' button is clicked.
+ test('first run button click', function(done) {
+ container.showFirstRunFlow_ = true;
+
+ setTimeout(function() {
+ container.addEventListener('acknowledge-first-run-flow', function() {
+ done();
+ });
+ MockInteractions.tap(container.shadowRoot.getElementById(
+ 'first-run-button'));
+ });
+ });
+
// Tests for 'create-route' event firing when a sink with no associated
// route is clicked.
test('select sink without a route', function(done) {
« no previous file with comments | « chrome/browser/ui/webui/media_router/media_router_localized_strings_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698