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

Unified Diff: chrome/test/functional/webdriver_pages/settings.py

Issue 9696018: Update pyauto tests to work with the uber page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 9 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 | « chrome/test/functional/sync.py ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/webdriver_pages/settings.py
===================================================================
--- chrome/test/functional/webdriver_pages/settings.py (revision 126676)
+++ chrome/test/functional/webdriver_pages/settings.py (working copy)
@@ -187,7 +187,7 @@
class AutofillEditAddressDialog(object):
"""The overlay for editing an autofill address."""
- _URL = 'chrome://settings/autofillEditAddress'
+ _URL = 'chrome://settings-frame/autofillEditAddress'
@staticmethod
def FromNavigation(driver):
@@ -280,7 +280,7 @@
class ContentSettingsPage(object):
"""The overlay for managing exceptions on the Content Settings page."""
- _URL = 'chrome://settings/content'
+ _URL = 'chrome://settings-frame/content'
@staticmethod
def FromNavigation(driver):
@@ -315,13 +315,11 @@
driver: The remote WebDriver instance to manage some content type.
content_type: The content type to manage.
"""
- content_url = 'chrome://settings/contentExceptions#%s' % content_type
+ content_url = 'chrome://settings-frame/contentExceptions#%s' % content_type
driver.get(content_url)
return ManageExceptionsPage(driver, content_type)
def __init__(self, driver, content_type):
- content_url = 'chrome://settings/contentExceptions#%s' % content_type
- assert content_url == driver.current_url
self._list_elem = driver.find_element_by_xpath(
'.//*[@id="content-settings-exceptions-area"]'
'//*[@contenttype="%s"]//list[@role="listbox"]'
« no previous file with comments | « chrome/test/functional/sync.py ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698