# Functions
AutoConfirmDialogs automatically clicks "confirm" on popup dialogs from window.Confirm prompts.
Bootstrap configures the database with an e2e realm (or re-uses one that already exists), and provisions new authorized apps for accessing the admin apis, device apis, and stats apis.
BuildFormRequest builds an http request and http response recorder for the given form values (expressed as url.Values).
BuildJSONRequest builds an http request and http response recorder for the given payload.
CaptureJavascriptErrors captures any console errors that occur.
ExerciseBadPagination tests that the proper response code and HTML error page are rendered when the URL includes pagination parameters that fail to parse.
ExerciseIDNotFound tests that the proper response code and HTML error page are rendered when the route expects an "id" mux parameter, but the one given does not correspond to an actual record.
ExerciseMembershipMissing tests that the proper response code and HTML error page are rendered with there is no membership in the context.
ExercisePermissionMissing tests that the proper response code and HTML error page are rendered when the requestor does not have permission to perform this action.
ExerciseSessionMissing tests that the proper response code and HTML error page are rendered with the context has no session.
ExerciseUserMissing tests that the proper response code and HTML error page are rendered with there is no user in the context.
NewAdminAPIServer creates a new test AdminAPI server instance.
NewAdminAPIServerConfig creates a new API server configuration.
NewAPIServer creates a new test APIServer server instance.
NewAPIServerConfig creates a new API server configuration.
NewENXRedirectServer creates a new test ENX redirect server instance.
NewENXRedirectServerConfig creates a new ENX redirect server configuration.
NewFailingDatabase database creates a new database connection that fails all requests.
NewHarnessServer creates a new server for the mux on a random port.
NewIntegrationSuite creates a new test suite for local integration testing.
NewServer creates a new test UI server instance.
NewServerConfig creates a new server configuration.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AdminAPIServerConfigResponse is the response from creating an AdminAPI server config.
AdminAPIServerResponse is the response from a test AdminAPI instance.
APIServerConfigResponse is the response from creating an API server config.
APIServerResponse is the response from a test APIServer instance.
BootstrapResponse is the response from Bootstrap.
ENXRedirectServerConfigResponse is the response from creating an Redirect server config.
ENXRedirectServerResponse is the response from a test ENX redirect instance.
IntegrationSuite encompasses a local API server and Admin API server for testing.
ServerConfigResponse is the response from creating a server config.
No description provided by the author
SQLDriver is a test SQL driver implementation that returns an error for most queries and operations.
No description provided by the author
TestServerResponse is used as the reply to creating a test UI server.