Documentation ¶
Overview ¶
Package browsertest provides integration test helpers for our browser-based tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginToUpstream ¶
LoginToUpstream expects the page to be redirected to one of several known upstream IDPs. It knows how to enter the test username/password and submit the upstream login form.
func Open ¶
Open a webdriver-driven browser and returns an *agouti.Page to control it. The browser will be automatically closed at the end of the current test. It is configured for test purposes with the correct HTTP proxy and in a mode that ignore certificate errors.
func WaitForURL ¶
WaitForURL expects the page to eventually navigate to a URL matching the specified pattern. It waits for this to occur and times out, failing the test, if it never does.
Types ¶
This section is empty.