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

Unified Diff: chrome/test/data/webui/md_history/history_toolbar_test.js

Issue 2684493002: MD History: Delete Grouped History (Closed)
Patch Set: Rebase Created 3 years, 10 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_history/history_toolbar_test.js
diff --git a/chrome/test/data/webui/md_history/history_toolbar_test.js b/chrome/test/data/webui/md_history/history_toolbar_test.js
index aa70bfb83fdb9e3de333da3efd7cac04bb71908e..2de74712d7d864ef0acc2bb27daaff4e2bb17743 100644
--- a/chrome/test/data/webui/md_history/history_toolbar_test.js
+++ b/chrome/test/data/webui/md_history/history_toolbar_test.js
@@ -69,37 +69,6 @@ suite('history-toolbar', function() {
toolbar.$$('cr-toolbar').fire('search-changed', 'Test2');
});
- test('grouped history navigation buttons', function() {
- var info = createHistoryInfo();
- info.finished = false;
- app.historyResult(info, []);
- app.grouped_ = true;
- return PolymerTest.flushTasks().then(function() {
- app.fire('change-query', {range: HistoryRange.MONTH});
- groupedList = app.$.history.$$('#grouped-list');
- assertTrue(!!groupedList);
- var today = toolbar.$$('#today-button');
- var next = toolbar.$$('#next-button');
- var prev = toolbar.$$('#prev-button');
-
- assertEquals(0, toolbar.groupedOffset);
- assertTrue(today.disabled);
- assertTrue(next.disabled);
- assertFalse(prev.disabled);
-
- MockInteractions.tap(prev);
- assertEquals(1, toolbar.groupedOffset);
- assertFalse(today.disabled);
- assertFalse(next.disabled);
- assertFalse(prev.disabled);
-
- app.historyResult(createHistoryInfo(), []);
- assertFalse(today.disabled);
- assertFalse(next.disabled);
- assertTrue(prev.disabled);
- });
- });
-
test('sync notice shows and hides', function() {
toolbar.showSyncNotice = true;
Polymer.dom.flush();
« no previous file with comments | « chrome/test/data/webui/md_history/history_routing_test.js ('k') | chrome/test/data/webui/md_history/md_history_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698