Skip to main content

AbTestCheckPageResult

Page validation returned by abTestCheckPage, including site selection.

type AbTestCheckPageResult {
devices: [SnapshotDevice!]
domain: String
errors: [AbTestCheckPageError!]
siteId: Int
siteCreationSuccessful: Boolean
needToUpdateSiteId: Boolean
isLoginPage: Boolean @deprecated
finalUrl: String @deprecated
}

Fields​

AbTestCheckPageResult.devices ● [SnapshotDevice!] list enum​

Always DESKTOP, PHONE, and TABLET in the current check; device conflicts are not checked.

AbTestCheckPageResult.domain ● String scalar​

Lowercase registrable domain of the normalized URL; null for malformed URLs.

AbTestCheckPageResult.errors ● [AbTestCheckPageError!] list enum​

Validation problems; null when none were recorded, rather than an empty list.

AbTestCheckPageResult.siteId ● Int scalar​

Resolved or newly created site id for test inputs; null when no site is found or creation fails.

AbTestCheckPageResult.siteCreationSuccessful ● Boolean scalar​

True after creating a site, false if creation fails, or null when no creation is attempted.

AbTestCheckPageResult.needToUpdateSiteId ● Boolean scalar​

True when the caller should use the returned siteId; null when no site is selected or created.

Show deprecated

AbTestCheckPageResult.isLoginPage ● Boolean deprecated scalar​

DEPRECATED

Login redirects are checked in the browser.

Legacy login-redirect result; null because login detection now runs in the browser.

AbTestCheckPageResult.finalUrl ● String deprecated scalar​

DEPRECATED

The browser proxy response supplies the final URL.

Legacy final URL; null because login detection now runs in the browser.

Returned By​

abTestCheckPage mutation