Skip to main content

abTestUpdate

Replaces the settings and saved draft of a DRAFT test; other statuses return an error and change nothing. Re-runs the page check, which can create a missing site, checks devices against the audience, and queues fresh screenshots of every variant. variants and notes in the input are not applied to the test; use the variant mutations and abTestUpdateNotes. Use abTestUpdateDraft to save wizard progress only. Requires A/B testing edit access.

abTestUpdate(
id: Int!
args: AbTestCreateInput!
): AbTest!

Arguments​

abTestUpdate.id ● Int! non-null scalar​

Test id from abTestList, abTestRefList, or abTestCreate.

abTestUpdate.args ● AbTestCreateInput! non-null input​

Draft settings; provide matching audience/devices and use variant mutations for later variant changes.

Type​

AbTest object​

A/B test settings and lifecycle returned by test lists, detail queries, and create/update operations. Metrics are populated by list queries; use abTestResultCounts for goal/date-scoped results.