diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 23:42:46 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 23:42:46 +0000 |
commit | fac8e07ac35d3b5eb86c573ba3b0a8309fe0ab31 (patch) | |
tree | c5a2eae4203c6da69ee29dd972f2969beb78d2c6 /chrome/test | |
parent | a6e02bdbc29c13b7a41d3848171fb80d8a29e05d (diff) | |
download | chromium_src-fac8e07ac35d3b5eb86c573ba3b0a8309fe0ab31.zip chromium_src-fac8e07ac35d3b5eb86c573ba3b0a8309fe0ab31.tar.gz chromium_src-fac8e07ac35d3b5eb86c573ba3b0a8309fe0ab31.tar.bz2 |
Fix pyauto popup tests to be non-flaky
Since we're triggering popups from javascript, there's no easy way to know when the tabcontents corresponding to the popup has loaded.
And we don't necessarily need to check for the title anyway, so removing the check.
BUG=
TEST=
Review URL: http://codereview.chromium.org/3772005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/functional/popups.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/functional/popups.py b/chrome/test/functional/popups.py index 48b9831..84ae6c4 100644 --- a/chrome/test/functional/popups.py +++ b/chrome/test/functional/popups.py @@ -33,7 +33,8 @@ class PopupsTest(pyauto.PyUITest): self.NavigateToURL(file_url) blocked_popups = self.GetBlockedPopupsInfo() self.assertEqual(1, len(blocked_popups), msg='Popup not blocked') - self.assertEqual('Popup Success!', blocked_popups[0]['title']) + # It might take a while for the title to get set. Don't need to check it. + # self.assertEqual('Popup Success!', blocked_popups[0]['title']) def testLaunchBlockedPopup(self): """Verify that a blocked popup can be unblocked.""" |