blob: c249deb63398045028549b6c42bdb0ded7248f86 [file] [log] [blame]
// Copyright 2020 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.
package login
import (
func init() {
Func: ProfileExtension,
Desc: "Check private signin profile extension loads",
Contacts: []string{"", ""},
SoftwareDeps: []string{"chrome", "chrome_internal"},
Attr: []string{"group:mainline"},
VarDeps: []string{"ui.signinProfileTestExtensionManifestKey"},
func ProfileExtension(ctx context.Context, s *testing.State) {
cr, err := chrome.New(
if err != nil {
s.Fatal("Failed to start Chrome: ", err)
defer cr.Close(ctx)
tLoginConn, err := cr.SigninProfileTestAPIConn(ctx)
if err != nil {
s.Fatal("Creating login test API connection failed: ", err)
defer tLoginConn.Close()