Sybqa

Public guide · protected previews

Test an authenticated preview without overstating the result

A reachable preview can prove that a protected URL responds. It cannot, by itself, prove that an application session works, the intended revision is deployed, or database and API acceptance succeeded.

First published · Last updated

On this page

Four separate checks

Preview testing layersScroll sideways for more columns.
LayerQuestion answeredDoes not establish
Preview protectionCan the test runner reach the hosted preview through platform access controls?That the application user is signed in.
Application loginCan a scoped test account establish the expected app session?That protected workflows pass.
ReadinessCan the preview serve the named route or health signal without an immediate startup failure?That behavior, persistence, or integrations meet acceptance criteria.
AssertionsDid named UI expectations pass at the route and viewport recorded in the run?That untested database and API contracts were accepted.

Check each layer in your pipeline

  1. Preview protection. In your own end-to-end suite, use the platform's documented automation access. On Vercel that is Protection Bypass for Automation: send the project's secret in an x-vercel-protection-bypass header, read from a CI secret.
  2. Application login. Sign in with a dedicated, least-privilege test account, and save the browser state only where the next section says.
  3. Readiness and assertions. Wait for the named route or health signal, then run your named checks at the routes and screen sizes you record. Keep failures, blocks and unrun checks in the same result.
  4. Sybqa. Point Sybqa at a URL a browser can reach without access controls: an unprotected preview, a staging domain you chose, or production after promotion. The CI guide starts a saved plan from your pipeline. Hosted Sybqa does not send a protection bypass header, sign in with test accounts or fill password fields, so on a protected preview its checks are blocked, not passed.

Treat stored session state as a credential

Playwright documents storing authenticated browser state and explicitly warns against committing it: Authentication. For Vercel preview automation, use its documented preview protection mechanism and verify the preview URL before running browser tests: Vercel preview E2E guidance.

Read the result in layers

Reachable

Preview protection and readiness succeeded for the recorded URL. This is deployment reachability evidence only.

Authenticated

The scoped app session was established. It does not prove every role, path, or external integration.

Asserted

Named checks passed with captured evidence. Keep failures, blocks, and unrun checks in the same report.

Still unverified

Deployed revision, database acceptance, API acceptance, and provider behavior need separate matching evidence.