Documentation
¶
Index ¶
- func Browser(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, ...)
- func Edge(t *testing.T, test EdgeTest)
- func MaxDuration(max time.Duration) func() utils.Sleeper
- func Multinode(t *testing.T, multinodeCount int, test Test)
- func Run(t *testing.T, test Test)
- type EdgePlanet
- type EdgeTest
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Browser ¶
func Browser(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, fn func(*rod.Browser))
Browser starts a browser for testing using environment variables for configuration.
func MaxDuration ¶
MaxDuration returns a sleeper constructor with the max duration.
Types ¶
type EdgePlanet ¶
type EdgePlanet struct { *testplanet.Planet Gateway struct { AccessKey string SecretKey string Addr string } Auth struct { Addr string } }
EdgePlanet contains defaults for testplanet with Edge.
type EdgeTest ¶
type EdgeTest func(t *testing.T, ctx *testcontext.Context, planet *EdgePlanet, browser *rod.Browser)
EdgeTest defines common args for edge testing.
type Test ¶
type Test func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser)
Test defines common services for uitests.
Click to show internal directories.
Click to hide internal directories.