diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 22:02:26 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-15 22:02:26 +0000 |
commit | e9f4968f7ba8d56a36894c48287e51bed6e95f4a (patch) | |
tree | c5a10953cedb0f795f2281ba6aa7af62004ebbb5 /chrome/test/functional | |
parent | 300d2bcb1a1aa430d51634ecebc5eef6bd5f8792 (diff) | |
download | chromium_src-e9f4968f7ba8d56a36894c48287e51bed6e95f4a.zip chromium_src-e9f4968f7ba8d56a36894c48287e51bed6e95f4a.tar.gz chromium_src-e9f4968f7ba8d56a36894c48287e51bed6e95f4a.tar.bz2 |
Fix an omnibox test to match reality
Relax the check to ensure that we just do substring match for "google.com" when testing inline autocomplete in the omnibox.
Review URL: http://codereview.chromium.org/2814002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional')
-rw-r--r-- | chrome/test/functional/omnibox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/functional/omnibox.py b/chrome/test/functional/omnibox.py index 28fce9f..16bfba3 100644 --- a/chrome/test/functional/omnibox.py +++ b/chrome/test/functional/omnibox.py @@ -120,7 +120,7 @@ class OmniboxTest(pyauto.PyUITest): self.assertTrue('www.google.com' in matches_description['contents']) self.assertEqual('history-url', matches_description['type']) # The url should be inline-autocompleted in the omnibox - self.assertEqual('google.com/', self.GetOmniboxInfo().Text()) + self.assertTrue('google.com' in self.GetOmniboxInfo().Text()) def testCrazyFilenames(self): """Test omnibox query with filenames containing special chars. |