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

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

Issue 1993613002: [MD History] Implement grouped history UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@privatize
Patch Set: address comments Created 4 years, 7 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_supervised_user_test.js
diff --git a/chrome/test/data/webui/md_history/history_supervised_user_test.js b/chrome/test/data/webui/md_history/history_supervised_user_test.js
index 0c648712ced8ff4d473ff17234c4463332d557a0..a8baed47eefb4113e20edd64595ca57846f1b737 100644
--- a/chrome/test/data/webui/md_history/history_supervised_user_test.js
+++ b/chrome/test/data/webui/md_history/history_supervised_user_test.js
@@ -5,19 +5,21 @@
cr.define('md_history.history_supervised_user_test', function() {
function registerTests() {
suite('history-list supervised-user', function() {
+ var app;
var element;
var toolbar;
var TEST_HISTORY_RESULTS;
suiteSetup(function() {
- element = $('history-app').$['history-list'];
- toolbar = $('history-app').$['toolbar'];
+ app = $('history-app');
+ element = app.$['history-list'];
+ toolbar = app.$['toolbar'];
TEST_HISTORY_RESULTS =
[createHistoryEntry('2016-03-15', 'https://www.google.com')];
});
setup(function() {
- element.addNewResults(TEST_HISTORY_RESULTS);
+ app.historyResult(createHistoryInfo(), TEST_HISTORY_RESULTS);
});
test('checkboxes disabled for supervised user', function(done) {
« no previous file with comments | « chrome/test/data/webui/md_history/history_list_test.js ('k') | chrome/test/data/webui/md_history/history_toolbar_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698