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

Unified Diff: chrome/test/functional/fullscreen_mouselock.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: Used named arguments and deleted unused test files, as suggested by Nirnimesh. 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
« no previous file with comments | « chrome/test/functional/doc_viewing.py ('k') | chrome/test/functional/history.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/fullscreen_mouselock.py
diff --git a/chrome/test/functional/fullscreen_mouselock.py b/chrome/test/functional/fullscreen_mouselock.py
index 1547039f936698892a810afb27af4eaebb8f7024..6cb5b97cf332ec3f3af492b97cce5acabab93867 100755
--- a/chrome/test/functional/fullscreen_mouselock.py
+++ b/chrome/test/functional/fullscreen_mouselock.py
@@ -420,7 +420,7 @@ class FullscreenMouselockTest(pyauto.PyUITest):
"""
self.NavigateToURL(self.GetHttpURLForDataPath('google', 'google.html'))
self._InitiateTabFullscreen()
- self.GetBrowserWindow().GetTab().GoBack()
+ self.TabGoBack()
self.assertFalse(
self.IsFullscreenForTab(),
msg='Tab fullscreen did not exit when navigating to a new page.')
@@ -458,7 +458,7 @@ class FullscreenMouselockTest(pyauto.PyUITest):
lock_result = self._EnableAndReturnLockMouseResult()
self.assertEqual(
lock_result, 'success', msg='Mouse is not locked.')
- self.GetBrowserWindow().GetTab().GoBack()
+ self.TabGoBack()
self.assertFalse(
self.IsMouseLocked(),
msg='Mouse lock did not exit when navigating to the prev page.')
« no previous file with comments | « chrome/test/functional/doc_viewing.py ('k') | chrome/test/functional/history.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698