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

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 the 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
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..b57c8d869b331d320b69ca0424cfb56b89702e05 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,17 @@ 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):
+ """ Verify that crosh is opened correctly.
Nirnimesh 2012/07/26 23:09:03 Remove space after """ Mention that this test ope
tturchetto 2012/07/26 23:37:47 Done.
+
+ This function verifies crosh is opened correctly - verify all browser window
+ is closed before open crosh, then verify crosh is opened in first window
+ and first tab, ready for further corsh test.
+ """
+ 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())
« chrome/test/functional/chromeos_crosh.py ('K') | « chrome/test/functional/chromeos_login.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698