summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunandt@chromium.org <sunandt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 20:21:39 +0000
committersunandt@chromium.org <sunandt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 20:21:39 +0000
commit31e02fae24a1e499773ee23126a5ce66daf94b15 (patch)
treec53d64f188fedabde7d9651de0e83facc55188fe
parent02f91a77225e01e8d737ab33e93c14a6fda1630b (diff)
downloadchromium_src-31e02fae24a1e499773ee23126a5ce66daf94b15.zip
chromium_src-31e02fae24a1e499773ee23126a5ce66daf94b15.tar.gz
chromium_src-31e02fae24a1e499773ee23126a5ce66daf94b15.tar.bz2
Fixing some instant pyauto tests that were failing.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6621051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77173 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/functional/instant.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/test/functional/instant.py b/chrome/test/functional/instant.py
index 274bd60..55a5d8e 100644
--- a/chrome/test/functional/instant.py
+++ b/chrome/test/functional/instant.py
@@ -169,28 +169,28 @@ class InstantTest(pyauto.PyUITest):
"""Test that instant preview is dismissed by find-in-page."""
self._BringUpInstant()
self.OpenFindInPage()
- self.assertEqual(self.GetActiveTabTitle(), '')
+ self.assertEqual(self.GetActiveTabTitle(), 'about:blank')
def testNTPCanDismissInstant(self):
"""Test that instant preview is dismissed by adding new tab page."""
self._BringUpInstant()
self.AppendTab(pyauto.GURL('chrome://newtab'))
self.GetBrowserWindow(0).GetTab(1).Close(True)
- self.assertEqual(self.GetActiveTabTitle(), '')
+ self.assertEqual(self.GetActiveTabTitle(), 'about:blank')
def testExtnPageCanDismissInstant(self):
"""Test that instant preview is dismissed by extension page."""
self._BringUpInstant()
self.AppendTab(pyauto.GURL('chrome://extensions'))
self.GetBrowserWindow(0).GetTab(1).Close(True)
- self.assertEqual(self.GetActiveTabTitle(), '')
+ self.assertEqual(self.GetActiveTabTitle(), 'about:blank')
def testNewWindowCanDismissInstant(self):
"""Test that instant preview is dismissed by New Window."""
self._BringUpInstant()
self.OpenNewBrowserWindow(True)
self.CloseBrowserWindow(1)
- self.assertEqual(self.GetActiveTabTitle(), '')
+ self.assertEqual(self.GetActiveTabTitle(), 'about:blank')
def _AssertInstantDoesNotDownloadFile(self, path):
"""Asserts instant does not download the specified file.