| Index: chrome/test/data/webui/md_history/history_grouped_list_test.js
|
| diff --git a/chrome/test/data/webui/md_history/history_grouped_list_test.js b/chrome/test/data/webui/md_history/history_grouped_list_test.js
|
| index 20e725dcd3ad990fd0f7c5e818fa3418807b7cf6..108e7b6ffd46d4f068e1240a58e0a89353ab0020 100644
|
| --- a/chrome/test/data/webui/md_history/history_grouped_list_test.js
|
| +++ b/chrome/test/data/webui/md_history/history_grouped_list_test.js
|
| @@ -75,7 +75,10 @@ cr.define('md_history.history_grouped_list_test', function() {
|
|
|
| test('items grouped by domain', function() {
|
| app.set('queryState_.range', HistoryRange.WEEK);
|
| - app.historyResult(createHistoryInfo(), SIMPLE_RESULTS);
|
| + var info = createHistoryInfo();
|
| + info.queryStartTime = 'Yesterday';
|
| + info.queryEndTime = 'Now';
|
| + app.historyResult(info, SIMPLE_RESULTS);
|
| return flush().then(function() {
|
| var data = groupedList.groupedHistoryData_;
|
| // 1 card for the day with 3 domains.
|
| @@ -86,6 +89,10 @@ cr.define('md_history.history_grouped_list_test', function() {
|
| assertEquals(2, data[0].domains[0].visits.length);
|
| assertEquals(1, data[0].domains[1].visits.length);
|
| assertEquals(1, data[0].domains[2].visits.length);
|
| +
|
| + // Ensure the toolbar displays the correct begin and end time.
|
| + assertEquals('Yesterday', toolbar.queryStartTime);
|
| + assertEquals('Now', toolbar.queryEndTime);
|
| });
|
| });
|
|
|
|
|