Documentation
¶
Index ¶
- Variables
- func Button(id string, handler func(context.Context) bool) gox.Elem
- func Click(t *testing.T, page *rod.Page, selector string)
- func ClickBurst(t *testing.T, page *rod.Page, selectors ...string)
- func ClickNow(t *testing.T, page *rod.Page, selector string)
- func Count(page *rod.Page, s string) int
- func Document(p page) gox.Elem
- func Float(f float64) string
- func GetContent(t *testing.T, page *rod.Page, selector string) string
- func GetReportContent(t *testing.T, page *rod.Page, id int) string
- func LimitMode() bool
- func Marker(id string) gox.Elem
- func NewBrowser() *rod.Browser
- func Report(value string) gox.Elem
- func ReportId(id int, value string) gox.Elem
- func RunMain(run func() int)
- func TestAttr(t *testing.T, page *rod.Page, selector string, name string, value string)
- func TestAttrNo(t *testing.T, page *rod.Page, selector string, name string)
- func TestAttrNot(t *testing.T, page *rod.Page, selector string, name string, value string)
- func TestClass(t *testing.T, page *rod.Page, selector string, className string)
- func TestClassNot(t *testing.T, page *rod.Page, selector string, className string)
- func TestContent(t *testing.T, page *rod.Page, selector string, content string)
- func TestDeselect(t *testing.T, page *rod.Page, selector string, options []string)
- func TestInput(t *testing.T, page *rod.Page, selector string, value string)
- func TestInputColor(t *testing.T, page *rod.Page, selector string, color string)
- func TestInputTime(t *testing.T, page *rod.Page, selector string, now time.Time)
- func TestMust(t *testing.T, page *rod.Page, selector string)
- func TestMustNot(t *testing.T, page *rod.Page, selector string)
- func TestReport(t *testing.T, page *rod.Page, content string)
- func TestReportId(t *testing.T, page *rod.Page, id int, content string)
- func TestSelect(t *testing.T, page *rod.Page, selector string, options []string)
- func TestType(t *testing.T, page *rod.Page, selector string, keys []input.Key)
- func Text(s string) gox.Editor
- type Beam
- type Bro
- func NewBro(browser *rod.Browser, page func(context.Context, doors.Request) gox.Comp, ...) *Bro
- func NewBroOptions(browser *rod.Browser, page func(context.Context, doors.Request) gox.Comp, ...) *Bro
- func NewBroWrap(browser *rod.Browser, page func(context.Context, doors.Request) gox.Comp, ...) *Bro
- func NewBroWrapOptions(browser *rod.Browser, page func(context.Context, doors.Request) gox.Comp, ...) *Bro
- func NewFragmentBro(b *rod.Browser, f func() Fragment) *Bro
- func NewPathBro(b *rod.Browser, page func(PathLens) gox.Comp, middleware ...doors.Use) *Bro
- func NewPathBroOptions(b *rod.Browser, page func(PathLens) gox.Comp, options []doors.With, ...) *Bro
- type Fragment
- type NoBeam
- type Page
- type Path
- type PathLens
- type RandFile
- type Reporter
Constants ¶
This section is empty.
Variables ¶
View Source
var Host string
Functions ¶
func NewBrowser ¶
func RunMain ¶
func RunMain(run func() int)
RunMain executes an e2e test package. When BOTH is set, the current test binary is re-run twice: once in default mode and once with LIMIT=1.
func TestAttrNot ¶
func TestClassNot ¶
func TestDeselect ¶
func TestInputColor ¶
func TestInputTime ¶
Types ¶
type Bro ¶
type Bro struct {
// contains filtered or unexported fields
}
func NewBroOptions ¶ added in v0.12.1
func NewBroWrap ¶
func NewBroWrapOptions ¶ added in v0.12.1
func NewPathBro ¶ added in v0.12.1
func NewPathBroOptions ¶ added in v0.12.1
type RandFile ¶
func NewRandFile ¶
Click to show internal directories.
Click to hide internal directories.