| 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) {
|
|
|