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

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

Issue 10778006: Adding HTML Terminal test case: 1. TestAddBookmark, 2. Login as guest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modification based on CL review. Created 8 years, 5 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/chromeos_login.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/test_utils.py
diff --git a/chrome/test/functional/test_utils.py b/chrome/test/functional/test_utils.py
index c2b7c2db78fbf2ae7fa2fcb40951a0a792a03db9..384283c21ff8af045347041883ab65adffa35916 100644
--- a/chrome/test/functional/test_utils.py
+++ b/chrome/test/functional/test_utils.py
@@ -364,7 +364,7 @@ def LoginToDevice(test, test_account='test_google_account'):
If no test account is specified, we use test_google_account as the default.
You can choose test accounts from -
- chrome/test/data/pyauto_private/private_tests_info.txt
+ chrome/test/data/pyauto_private/private_tests_info.txt
Args:
test_account: The account used to login to the Chromeos device.
@@ -434,3 +434,15 @@ def AssertInfobarTypeDoesNotAppear(test, infobar_type, windex=0, tab_index=0):
test, infobar_type, windex, tab_index) is not None, timeout=20),
msg=('Infobar type for %s appeared when it should be hidden.'
% infobar_type))
+
+def OpenCroshVerification(self):
+ """ This test opens crosh.
Nirnimesh 2012/07/26 23:57:21 You still have space after """
tturchetto 2012/07/27 00:35:11 Done.
+
+ This function assumes all browser windos are closed.
Nirnimesh 2012/07/26 23:57:21 Assumes that no browser windows are open
tturchetto 2012/07/27 00:35:11 Done.
+ """
+ self.assertEqual(0, self.GetBrowserWindowCount())
+ self.OpenCrosh()
+ self.assertEqual(1, self.GetBrowserWindowCount())
+ self.assertEqual(1, self.GetTabCount(),
+ msg='Could not open crosh')
+ self.assertEqual('crosh', self.GetActiveTabTitle())
« no previous file with comments | « chrome/test/functional/chromeos_login.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698