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

Unified Diff: chrome/test/data/webui/settings/site_list_tests.js

Issue 2593503004: [MD settings] remove action menu from all-sites (Closed)
Patch Set: unit test Created 4 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/resources/settings/site_settings/site_list.js ('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/settings/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index 108830cdf9f17a58c95cfd3042742793505ace25..519e86011b4a81f54204559eb2afe7a78cc64ba8 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -709,6 +709,23 @@ cr.define('site_list', function() {
});
});
+ test('All sites category no action menu', function() {
+ setUpCategory(settings.ALL_SITES, '', prefsVarious);
+ return browserProxy.whenCalled('getExceptionList').then(
+ function(contentType) {
+ // Use resolver to ensure asserts bubble up to the framework with
+ // meaningful errors.
+ var resolver = new PromiseResolver();
+ testElement.async(resolver.resolve);
+ return resolver.promise.then(function() {
dschuyler 2016/12/21 02:06:47 I'm including this promise resolve because other t
dpapad 2016/12/21 02:32:13 The comment is a bit misleading (or I am misunders
dschuyler 2016/12/21 02:39:39 Thanks for looking at that with me. Knowing when P
+ var item = testElement.$.listContainer.children[0];
+ var dots = item.querySelector('paper-icon-button');
+ assertTrue(!!dots);
+ assertTrue(dots.hidden);
+ });
+ });
+ });
+
test('All sites category', function() {
// Prefs: Multiple and overlapping sites.
setUpCategory(settings.ALL_SITES, '', prefsVarious);
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698