| Index: chrome/test/data/webui/md_history/history_item_test.js
|
| diff --git a/chrome/test/data/webui/md_history/history_item_test.js b/chrome/test/data/webui/md_history/history_item_test.js
|
| index ba6e4e83f22b263b506ce3e78be28d56689a9693..088cabfbf07f997f2e89ac40d55051b4afd94ca6 100644
|
| --- a/chrome/test/data/webui/md_history/history_item_test.js
|
| +++ b/chrome/test/data/webui/md_history/history_item_test.js
|
| @@ -54,6 +54,17 @@ suite('<history-item> unit test', function() {
|
| assertEquals(item.$['checkbox'], item.root.activeElement);
|
| });
|
| });
|
| +
|
| + test('title changes with item', function() {
|
| + var time = item.$['time-accessed'];
|
| + assertEquals('', time.title);
|
| +
|
| + time.dispatchEvent(new CustomEvent('mouseover'));
|
| + var initialTitle = time.title;
|
| + item.item = TEST_HISTORY_RESULTS[5];
|
| + time.dispatchEvent(new CustomEvent('mouseover'));
|
| + assertNotEquals(initialTitle, time.title);
|
| + });
|
| });
|
|
|
| suite('<history-item> integration test', function() {
|
|
|