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

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

Issue 10105011: Adding pyauto test: browser still function after browser crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/chromeos_browser.py
diff --git a/chrome/test/functional/chromeos_browser.py b/chrome/test/functional/chromeos_browser.py
index 31a0a36222fd6ca2702b351ff045f1b51a05b1b2..e5937eb7297228d7d63981ca5086fabb86bda5ef 100755
--- a/chrome/test/functional/chromeos_browser.py
+++ b/chrome/test/functional/chromeos_browser.py
@@ -25,6 +25,15 @@ class ChromeosBrowserTest(pyauto.PyUITest):
self.assertTrue(info[0]['incognito'],
msg='Incognito window is not displayed.')
+ def testCrashBrowser(self):
+ """Verify that after broswer crash is recovered, user can still navigate
+ to other URL."""
+ crash_url = 'about:inducebrowsercrashforrealz'
+ self.NavigateToURL(crash_url)
+ url = self.GetHttpURLForDataPath('english_page.html')
+ self.NavigateToURL(url)
+ self.assertEqual('This page is in English', self.GetActiveTabTitle())
+
def testFullScreen(self):
"""Verify that a browser window can enter and exit full screen mode."""
self.ApplyAccelerator(pyauto.IDC_FULLSCREEN)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698