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

Unified Diff: chrome/test/functional/special_tabs.py

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: chrome/test/functional/special_tabs.py
diff --git a/chrome/test/functional/special_tabs.py b/chrome/test/functional/special_tabs.py
index a148a93fed5cd2337d0c9fca9708dd9d4ff0ebab..8c6ebe85514094119d8f971654d9239b8f3e9e78 100755
--- a/chrome/test/functional/special_tabs.py
+++ b/chrome/test/functional/special_tabs.py
@@ -182,7 +182,7 @@ class SpecialTabsTest(pyauto.PyUITest):
self.WaitUntil(
lambda: self.GetDOMValue('document.getElementById("status").innerHTML'),
expect_retval='cached')
- self.GetBrowserWindow(0).GetTab(0).GoBack()
+ self.TabGoBack()
test_utils.StringContentCheck(
self, self.GetTabContents(),
['Manifest',
@@ -194,7 +194,7 @@ class SpecialTabsTest(pyauto.PyUITest):
Also confirms that prefetching DNS records propogate."""
# Navigate to a page to activate DNS prefetching.
self.NavigateToURL('http://www.google.com')
- self.GetBrowserWindow(0).GetTab(0).GoBack()
+ self.TabGoBack()
test_utils.StringContentCheck(self, self.GetTabContents(),
['Host name', 'How long ago', 'Motivation'],
[])

Powered by Google App Engine
This is Rietveld 408576698