List suites with pagination, search, and ordering.
Optionalcursor?: stringOptionalpageSize?: numberOptionalquery?: stringOptionalordering?: "-created" | "-name" | "created" | "name"OptionallatestRun?: booleanOptionalsignal?: AbortSignalAbort signal for client-side cancellation. Throws CancellationError.
Optionaltimeout?: numberPer-request timeout in milliseconds. Overrides BugBugConfig.timeout for
this call only.
Optionalheaders?: Record<string, string>Per-request HTTP headers. These are merged first so the SDK's auth and
User-Agent headers always win — supplying Authorization here will
have no effect.
Paginated SuitesListResponse envelope (validated via Zod).
Fetch every suite across all pages.
Fetch a single suite by ID.
Create a new suite.
OptionalautoAddNewTests?: booleanOptionalautoRetry?: numberOptionalbeforeAfterAllEnabled?: booleanOptionalnotes?: string | nullSuite notes
Optionalname?: string | nullOptionalrunInParallel?: booleanFormat: uuid
Optionaltests?: string[]OptionalbeforeAll?: string[]OptionalafterAll?: string[]Fully replace a suite via PUT (all fields required). Use partialUpdate for sparse PATCH semantics.
OptionalautoAddNewTests?: booleanOptionalautoRetry?: numberOptionalbeforeAfterAllEnabled?: booleanOptionalnotes?: string | nullSuite notes
Optionalname?: string | nullOptionalrunInParallel?: booleanFormat: uuid
Optionaltests?: string[]OptionalbeforeAll?: string[]OptionalafterAll?: string[]Patch selected fields on a suite (PATCH semantics).
OptionalautoAddNewTests?: booleanOptionalautoRetry?: numberOptionalbeforeAfterAllEnabled?: booleanOptionalnotes?: string | nullSuite notes
Optionalname?: string | nullOptionalrunInParallel?: booleanOptionalrunProfileId?: stringFormat: uuid
Optionaltests?: string[]OptionalbeforeAll?: string[]OptionalafterAll?: string[]Start a suite run, optionally watching progress until completion.
UUID of the suite to run.
OptionalprofileName?: stringOptionalvariables?: { key: string; value?: string | null }[]OptionalpollInterval?: numberOptionaltimeout?: numberPer-request timeout in milliseconds. Overrides BugBugConfig.timeout for
this call only.
OptionalonProgress?: (Optionalsignal?: AbortSignalAbort signal for client-side cancellation. Throws CancellationError.
Optionalheaders?: Record<string, string>Per-request HTTP headers. These are merged first so the SDK's auth and
User-Agent headers always win — supplying Authorization here will
have no effect.
Start a suite run, optionally watching progress until completion.
UUID of the suite to run.
Optionaloptions: RunSuiteNoWatchProgressOptionsOptionalprofileName?: stringOptionalvariables?: { key: string; value?: string | null }[]OptionalwatchProgress?: falseOptionalsignal?: AbortSignalAbort signal for client-side cancellation. Throws CancellationError.
Optionaltimeout?: numberPer-request timeout in milliseconds. Overrides BugBugConfig.timeout for
this call only.
Optionalheaders?: Record<string, string>Per-request HTTP headers. These are merged first so the SDK's auth and
User-Agent headers always win — supplying Authorization here will
have no effect.
Fetch full suite-run details including child test runs.
Get list of suite runs.
Get recent suite runs within a time window
Fetch only the lightweight status of a suite run. Prefer this over getRun when polling.
Request cancellation of an in-progress suite run.
The updated status; the run may still take a moment to settle.
Fetch screenshots captured across all child test runs of a suite run.
Download the combined JUnit XML report for a suite run, aggregating all child test runs.
The JUnit report body as a string.
List artifacts attached to a suite run. The current public API exposes the combined JUnit report artifact here.
Poll a suite run's lightweight /status/ endpoint until it reaches a
terminal status, then return the full SuiteRun once.
Transient network errors are retried; non-network errors propagate.
UUID of the suite run.
Invoked on every successful poll with the latest SuiteRunState
(including the terminal one). Receives finishedTests/totalTests/webappUrl
for in-flight progress UI.
OptionalpollInterval?: numberPoll interval in ms (default 2000).
Optionaltimeout?: numberWait timeout in ms (default 600_000 = 10 minutes; suites typically take longer than single tests).
Optionalsignal?: AbortSignalAbort signal for client-side cancellation. Throws CancellationError.
Optionaltimeout?: numberPer-request timeout in milliseconds. Overrides BugBugConfig.timeout for
this call only.
Optionalheaders?: Record<string, string>Per-request HTTP headers. These are merged first so the SDK's auth and
User-Agent headers always win — supplying Authorization here will
have no effect.
Suites module — manage BugBug test suites and their runs.
Mirrors the shape of TestsModule: CRUD over
/suites/+ run lifecycle over/suiteruns/. Use startRun for the recommended high-level entry point with optional progress watching.