summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional/about_plugins_ui.py
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 00:47:10 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 00:47:10 +0000
commit4ed506f8fa199eaae299639d19b416488d313201 (patch)
treebcbfa51245b6d805f8faed08df6215a571f22ae0 /chrome/test/functional/about_plugins_ui.py
parent56749b26c7bea3e376bdc4c9e30b58302d746f65 (diff)
downloadchromium_src-4ed506f8fa199eaae299639d19b416488d313201.zip
chromium_src-4ed506f8fa199eaae299639d19b416488d313201.tar.gz
chromium_src-4ed506f8fa199eaae299639d19b416488d313201.tar.bz2
Fix the UI label for verifying flash plugin status and re-enable this test.
BUG=125062 Review URL: https://chromiumcodereview.appspot.com/10237009 Patch from Vivian <vivianz@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional/about_plugins_ui.py')
-rwxr-xr-xchrome/test/functional/about_plugins_ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/functional/about_plugins_ui.py b/chrome/test/functional/about_plugins_ui.py
index fe76531..3c2e3c2 100755
--- a/chrome/test/functional/about_plugins_ui.py
+++ b/chrome/test/functional/about_plugins_ui.py
@@ -130,7 +130,7 @@ class ChromeAboutPluginsUITest(pyauto.PyUITest):
# Verify internal flash is disabled.
pyauto_utils.WaitForDomElement(self, internal_flash_elem,
- './/ancestor::*[@class="plugin-file-disabled"]')
+ './/ancestor::*[@class="plugin-disabled"]')
self.assertTrue(self.WaitUntil(lambda: not
self._IsEnabled('Shockwave Flash')))
@@ -140,7 +140,7 @@ class ChromeAboutPluginsUITest(pyauto.PyUITest):
internal_flash_enable_link.click()
self.assertTrue(self.WaitUntil(lambda: len(
internal_flash_elem.find_elements_by_xpath(
- './/ancestor::*[@class="plugin-file-enabled"]')) == 1),
+ './/ancestor::*[@class="plugin-enabled"]')) > 0),
msg='Failed to enable internal Flash plugin')
self.assertTrue(self.WaitUntil(lambda:
self._IsEnabled('Shockwave Flash')))