1# Copyright 2019 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from autotest_lib.client.common_lib.cros import power_load_util 6 7AUTHOR = "Chrome OS Team" 8NAME = "login_GaiaLogin.plt" 9ATTRIBUTES = "suite:power_daily" 10TIME = "SHORT" 11TEST_CATEGORY = "General" 12TEST_CLASS = "login" 13TEST_TYPE = "client" 14 15DOC = """ 16This test verifies that logging into production Gaia works correctly. 17 18It logs in using the telemetry gaia_login flag, and navigates to 19accounts.google.com to verify that we're logged in to gaia, as opposed 20to fake telemetry login. 21""" 22 23username = power_load_util.get_username() 24password = power_load_util.get_password() 25job.run_test('login_GaiaLogin', username=username, password=password, 26 tag=NAME.split('.')[1]) 27 28