Documentation ¶
Overview ¶
Package fixtures provide fixtures for logging into VDI applications in Kiosk, Mgs, and user session.
Index ¶
Constants ¶
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 ¶
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.