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

Side by Side Diff: chrome/test/data/webui/md_history/history_list_test.js

Issue 2068613002: [MD History] Add URL parameter for search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@routing
Patch Set: remove_var Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('md_history.history_list_test', function() { 5 cr.define('md_history.history_list_test', function() {
6 function registerTests() { 6 function registerTests() {
7 suite('history-list', function() { 7 suite('history-list', function() {
8 var app; 8 var app;
9 var element; 9 var element;
10 var toolbar; 10 var toolbar;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 // Confirmation dialog should appear. 227 // Confirmation dialog should appear.
228 assertTrue(listContainer.$.dialog.opened); 228 assertTrue(listContainer.$.dialog.opened);
229 229
230 MockInteractions.tap(listContainer.$$('.action-button')); 230 MockInteractions.tap(listContainer.$$('.action-button'));
231 }); 231 });
232 }); 232 });
233 233
234 teardown(function() { 234 teardown(function() {
235 element.historyData_ = []; 235 element.historyData_ = [];
236 element.searchedTerm = '';
237 registerMessageCallback('removeVisits', this, undefined); 236 registerMessageCallback('removeVisits', this, undefined);
237 registerMessageCallback('queryHistory', this, undefined);
238 app.queryState_.queryingDisabled = true;
239 app.set('queryState_.searchTerm', '');
240 return flush();
238 }); 241 });
239 }); 242 });
240 } 243 }
241 return { 244 return {
242 registerTests: registerTests 245 registerTests: registerTests
243 }; 246 };
244 }); 247 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698