Documentation
¶
Index ¶
- func Describe(c *flow.Command) string
- type AnnotateEvent
- type CSSQuerier
- type DarkModer
- type Event
- type FlowError
- type FlowResult
- type NotFound
- type Options
- type Reporter
- type ReporterFunc
- type Runner
- func (r *Runner) Begin(f *flow.Flow, extraEnv []flow.KV) error
- func (r *Runner) End()
- func (r *Runner) LastScreen() *ui.Screen
- func (r *Runner) Locate(ctx context.Context, s *ui.Screen, selector *flow.Selector) (*ui.Node, []*ui.Node, error)
- func (r *Runner) RunCommands(ctx context.Context, cmds []*flow.Command, appID string, ...) error
- func (r *Runner) RunFlow(ctx context.Context, f *flow.Flow) (res FlowResult)
- func (r *Runner) RunList(ctx context.Context, cmds []*flow.Command, f *flow.Flow) error
- func (r *Runner) SetAppID(id string)
- func (r *Runner) SetEnv(kvs []flow.KV) error
- func (r *Runner) SetSeen(s *ui.Screen)
- func (r *Runner) Videos() []Video
- type Signals
- type Status
- type StepResult
- type Trace
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnnotateEvent ¶ added in v0.6.4
type CSSQuerier ¶
type FlowResult ¶
type Options ¶
type Options struct {
FromStep int
Env []flow.KV
LookupTimeout time.Duration
OptionalTimeout time.Duration
ArtifactsDir string
Reporter Reporter
Role string
Signals *Signals
JS *js.Engine
Trace *Trace
Timeline *timeline.Recorder
Record bool
Annotate bool
AnnotateEvents func(role string, since, start, end time.Time) []AnnotateEvent
AnnotateStep time.Duration
StallFloor time.Duration
AwayGrace time.Duration
}
type ReporterFunc ¶
type ReporterFunc func(Event)
func (ReporterFunc) Event ¶
func (f ReporterFunc) Event(e Event)
type Runner ¶
func (*Runner) LastScreen ¶
func (*Runner) RunCommands ¶
type Signals ¶
type Signals struct {
// contains filtered or unexported fields
}
func NewSignals ¶
func NewSignals() *Signals
type StepResult ¶
Source Files
¶
- animation.go
- annotate.go
- assert_dialog.go
- away.go
- composite.go
- cover.go
- describe.go
- dialogs.go
- exec.go
- find.go
- history.go
- input.go
- input_target.go
- js_dialogs.go
- location.go
- network.go
- recording.go
- reload.go
- replaced.go
- runner.go
- screenshots.go
- scroll.go
- scroll_drag.go
- scroll_geometry.go
- scroll_ready.go
- signals.go
- stall.go
- swipe.go
- swipe_slider.go
- tap.go
- tap_outcome.go
- tap_recovery.go
- tap_swallowed.go
- tap_switch.go
- tap_target.go
- tap_undelivered.go
- timeline.go
- trace.go
Click to show internal directories.
Click to hide internal directories.