Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Unified Diff: functional/about_plugins_ui.py

Issue 10237009: Fix the UI label for verifying flash plugin status. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: functional/about_plugins_ui.py
===================================================================
--- functional/about_plugins_ui.py (revision 134349)
+++ functional/about_plugins_ui.py (working copy)
@@ -130,7 +130,7 @@
# 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 @@
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')))
« no previous file with comments | « functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698