Skip to content

Documentation / test-reporting / TestReportingClientOptions

Interface: TestReportingClientOptions ​

Defined in: test-reporting/src/index.ts:34

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
accessKey?string-BrowserStackOptions.accessKeycore/src/api-client.ts:29
appAutomate?AppAutomateClientSame, for mobile (Appium) tests, whose TRA session id resolves in App Automate rather than Automate.-test-reporting/src/index.ts:44
automate?AutomateClientUsed to resolve a test's session and fetch its logs (see getTestSession). Defaults to a client built from these same options, minus the Test Reporting base URLs. Pass one to customise it (base URL, timeout, ...).-test-reporting/src/index.ts:42
baseUrl?string-BrowserStackOptions.baseUrlcore/src/api-client.ts:30
codecs?(ResponseCodec<unknown, unknown> | RequestCodec<unknown, unknown>)[]-BrowserStackOptions.codecscore/src/api-client.ts:37
errorMessageExtractor?(body, ctx) => string | undefined-BrowserStackOptions.errorMessageExtractorcore/src/api-client.ts:38
fetchFn?{(input, init?): Promise<Response>; (input, init?): Promise<Response>; }-BrowserStackOptions.fetchFncore/src/api-client.ts:32
headers?Record<string, string>-BrowserStackOptions.headerscore/src/api-client.ts:31
ingestBaseUrl?stringBase URL of the live ingestion API (build start/stop, test and hook events, logs).-test-reporting/src/index.ts:37
maxErrorBodySize?number-BrowserStackOptions.maxErrorBodySizecore/src/api-client.ts:39
middleware?MiddlewareFunction[]-BrowserStackOptions.middlewarecore/src/api-client.ts:35
timeout?number-BrowserStackOptions.timeoutcore/src/api-client.ts:36
uploadBaseUrl?string--test-reporting/src/index.ts:35
username?string-BrowserStackOptions.usernamecore/src/api-client.ts:28
usernameOptional?booleanInternalBrowserStackOptions.usernameOptionalcore/src/api-client.ts:34