# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AUTHOR = "Chrome OS Lab Infrastructure Team"
NAME = "telemetry_LoginTest"
PURPOSE = "Login through telemetry."
CRITERIA = """
This test will fail if telemetry login is broken, or if
the autotest extension doesn't load/is inaccessible, or if
chrome.autotestPrivate.loginStatus doesn't work.
"""
ATTRIBUTES = "suite:bvt-cq"
SUITE = "bvt-cq"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "login"
TEST_TYPE = "client"
JOB_RETRIES = 2

DOC = """
This is a test that checks that login completed successfully through telemetry,
and exercises the extension api chrome.autotestPrivate.
"""

job.run_test('telemetry_LoginTest')