Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestConfig ¶
type TestConfig struct {
BaseURL string
CustomerPortalURL string
Timeout time.Duration
Headless bool
SlowMo int
Screenshots bool
Videos bool
AdminEmail string
AdminPassword string
}
TestConfig holds all configuration for E2E tests
func GetConfig ¶
func GetConfig() *TestConfig
GetConfig returns the test configuration from environment variables
func (*TestConfig) RequireReachable ¶ added in v0.10.0
func (c *TestConfig) RequireReachable(t testing.TB)
RequireReachable fails the test unless the backend under test answers GET /login.
Click to show internal directories.
Click to hide internal directories.