blob: 2cce1272c5ab8c9ce49cefe68e64db8b4537e53a [file] [log] [blame]
// Copyright 2021 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 ui
import (
func init() {
Func: GuestModeExtension,
Desc: "Check Tast extension can be loaded in Guest mode",
Contacts: []string{"", ""},
SoftwareDeps: []string{"chrome"},
Attr: []string{"group:mainline"},
Fixture: "chromeLoggedInGuest",
func GuestModeExtension(ctx context.Context, s *testing.State) {
cr := s.FixtValue().(*chrome.Chrome)
// Attempt to open the Test API connection.
if _, err := cr.TestAPIConn(ctx); err != nil {
s.Fatal("Failed to create Test API Connection: ", err)