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
- type Fragment
- type NoBeam
- type Page
- type Path
- 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 Page ¶
type RandFile ¶
func NewRandFile ¶
Click to show internal directories.
Click to hide internal directories.