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

Unified Diff: client/site_tests/login_BadAuthentication/control

Issue 3126002: Add some more test cases for login (Closed) Base URL: http://src.chromium.org/git/autotest.git
Patch Set: improve docstring Created 10 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 | « no previous file | client/site_tests/login_BadAuthentication/login_BadAuthentication.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/login_BadAuthentication/control
diff --git a/client/site_tests/login_BadAuthentication/control b/client/site_tests/login_BadAuthentication/control
index 537c7a135def77635d6590f27628523f5e948497..e8da38f57b88c40aa57a027924163edbe0f8f75f 100644
--- a/client/site_tests/login_BadAuthentication/control
+++ b/client/site_tests/login_BadAuthentication/control
@@ -3,16 +3,22 @@
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
-NAME = "BAD_CREDS_LOGIN"
+NAME = "login_BadAuthentication"
TIME = "SHORT"
TEST_CATEGORY = "General"
TEST_CLASS = "login"
TEST_TYPE = "client"
DOC = """
-This tests that we fail on a login attempt with bad credentials
+This tests that we fail on a login attempt that gets back an error from the
+server.
"""
-job.run_test('login_BadAuthentication', creds='$default')
-
-
+job.run_test('login_BadAuthentication', tag='badauth')
+job.run_test('login_BadAuthentication', tag='not_verified', error_string="NotVerified")
+job.run_test('login_BadAuthentication', tag='no_terms', error_string="TermsNotAgreed")
+job.run_test('login_BadAuthentication', tag='account_deleted', error_string="AccountDeleted")
+job.run_test('login_BadAuthentication', tag='account_disabled', error_string="AccountDisabled")
+job.run_test('login_BadAuthentication', tag='service_disabled', error_string="ServiceDisabled")
+job.run_test('login_BadAuthentication', tag='service_unavailable', error_string="ServiceUnavailable")
+job.run_test('login_BadAuthentication', tag='unknown_error', error_string="Unknown")
« no previous file with comments | « no previous file | client/site_tests/login_BadAuthentication/login_BadAuthentication.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698