Commit 227d5aff authored by estade@chromium.org's avatar estade@chromium.org

remove ntp.NTPTest.testRecentlyClosedShowsUniqueItems pyauto test

we decided to show "duplicate" items in the recently closed menu because they may not actually be duplicates. For example, they may have different history even if the url and title for the tab is the same.

BUG=105760
TEST=none


Review URL: http://codereview.chromium.org/8764013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112396 0039d316-1c4b-4281-b951-d872f2087c98
parent f76379f3
...@@ -121,8 +121,6 @@ ...@@ -121,8 +121,6 @@
'-nacl_sdk.NaClSDKTest.testVerifyNaClPlugin', '-nacl_sdk.NaClSDKTest.testVerifyNaClPlugin',
# crbug.com/105560 # crbug.com/105560
'-notifications', '-notifications',
# "Recently Closed" has duplicates. crbug.com/105760
'-ntp.NTPTest.testRecentlyClosedShowsUniqueItems',
], ],
'win': [ 'win': [
......
...@@ -311,15 +311,6 @@ class NTPTest(pyauto.PyUITest): ...@@ -311,15 +311,6 @@ class NTPTest(pyauto.PyUITest):
self.assertEquals(expected, test_utils.StripUnmatchedKeys( self.assertEquals(expected, test_utils.StripUnmatchedKeys(
self.GetNTPRecentlyClosed(), expected)) self.GetNTPRecentlyClosed(), expected))
def testRecentlyClosedShowsUniqueItems(self):
"""Tests that the Recently Closed section does not show duplicate items"""
self.RemoveNTPDefaultThumbnails()
self.AppendTab(pyauto.GURL(self.PAGES[0]['url']))
self.AppendTab(pyauto.GURL(self.PAGES[0]['url']))
self.GetBrowserWindow(0).GetTab(1).Close(True)
self.GetBrowserWindow(0).GetTab(1).Close(True)
self.assertEquals(1, len(self.GetNTPRecentlyClosed()))
def testRecentlyClosedIncognito(self): def testRecentlyClosedIncognito(self):
"""Tests that we don't record closure of Incognito tabs or windows""" """Tests that we don't record closure of Incognito tabs or windows"""
#self.RemoveNTPDefaultThumbnails() #self.RemoveNTPDefaultThumbnails()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment