Documentation ¶
Overview ¶
Package everydaymultitaskingcuj contains the test code for Everyday MultiTasking CUJ.
Index ¶
Constants ¶
View Source
const ( // HelloWorldAppName indicates to test against a "Hello world" ARC app. HelloWorldAppName = "Hello world" // YoutubeMusicAppName indicates to test against YoutubeMusic. YoutubeMusicAppName = "ytmusic" // SpotifyAppName indicates to test against Spotify. SpotifyAppName = "Spotify" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunParams ¶
type RunParams struct {
// contains filtered or unexported fields
}
RunParams holds the parameters to run the test main logic.
type Spotify ¶
type Spotify struct {
// contains filtered or unexported fields
}
Spotify holds the information used to do Spotify APP testing.
func NewSpotify ¶
func NewSpotify(ctx context.Context, kb *input.KeyboardEventWriter, a *arc.ARC, tconn *chrome.TestConn, account string) (*Spotify, error)
NewSpotify returns the the manager of Spotify, caller will able to control Spotify app through this object.
func (*Spotify) Close ¶
Close cleans up the spotify resources, dumps the ARC UI, and closes Soptify app. If dump flag is true, screenshot will be taken and UI hierarchy will be dumped to the given dumpDir.
Click to show internal directories.
Click to hide internal directories.