fixtures

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Package fixtures provide fixtures for logging into VDI applications in Kiosk, Mgs, and user session.

Index

Constants

View Source
const (
	Username = "tast-user@managedchrome.com"
	Password = "test0000"
)

Credentials used for authenticating the test user.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixtureData

type FixtureData struct {
	// contains filtered or unexported fields
}

FixtureData is the type returned by vdi related fixtures. It holds the vdi connector providing to common actions that could be performed from the test side.

func (*FixtureData) Chrome

func (fd *FixtureData) Chrome() *chrome.Chrome

Chrome returns Chrome. This adds support for chrome.HasChrome interface.

func (*FixtureData) InKioskMode

func (fd *FixtureData) InKioskMode() bool

InKioskMode returns boolean indicating whether it is a Kiosk session.

func (*FixtureData) UIDetector

func (fd *FixtureData) UIDetector() *uidetection.Context

UIDetector returns uidetector.

func (*FixtureData) VDIConnector

func (fd *FixtureData) VDIConnector() vdiApps.VDIInt

VDIConnector returns VDI connector.

type HasUIDetector

type HasUIDetector interface {
	UIDetector() *uidetection.Context
}

HasUIDetector is an interface that can be attached to a type that returns uidetector.

type HasVDIConnector

type HasVDIConnector interface {
	VDIConnector() vdiApps.VDIInt
}

HasVDIConnector is an interface that can be attached to a type that returns vdi connector.

type IsInKioskMode

type IsInKioskMode interface {
	InKioskMode() bool
}

IsInKioskMode is an interface that can be attached to a type that returns whether fixture runs in Kiosk mode.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL