Skip to content
Pithmark
Build a website3 min read

How to test a website preview before publishing an update

Use a Vercel or Netlify preview to review a website change, test affected journeys and check the same update after it goes live.

By Pithmark

Open the preview for the exact change you plan to publish. Check the changed URLs and one complete visitor journey on desktop and mobile using test data. Confirm which revision you tested before merging, then repeat a short smoke test on the live domain.

Find the preview for the change you’re reviewing

A build passing confirms that the project built. A preview lets you check what visitors will see and whether they can complete the task the change affects. Open the deployment tied to your branch or pull request and compare its revision with the latest change on that branch.

Pithmark’s Vercel and Netlify profiles describe two platforms that provide preview deployments. Vercel can create a unique deployment for a pull request in a connected Git project. Netlify’s Deploy Previews provide a separate URL for a pull or merge request, and update it as new changes are pushed.

  • Record the preview URL, revision, and pages affected.
  • Check who can open the URL before sharing it with a reviewer.
  • Keep live customer records and real payment credentials out of test journeys. Verify which database, forms and payment mode the preview actually uses.

Test the journey affected by the change

Choose the action the change is meant to improve. For a booking page, start from the link a visitor is likely to use, choose a date, submit with permitted test data, and check the confirmation. If the flow sends email, use a controlled recipient and confirm that it arrives.

Open the preview in a fresh browser window and repeat the key steps at a narrow viewport. Follow at least one direct link to an affected page. This catches navigation and layout problems that can be missed when you enter from the homepage.

  • Check one success case and one useful failure case, such as leaving a required field blank.
  • After a fix, repeat the failed step and the rest of the journey on the new revision.
  • If testing a form, make sure the submission reaches the intended test destination. A success message alone cannot tell you where it went.

Check the live domain after release

Publish the revision you checked and repeat a short smoke test at the public URL. Domain redirects, production credentials and third-party settings can behave differently from a preview. Check the affected page, the primary visitor action, and any redirect changed in the release.

Record the live result next to the preview result. If the primary action fails, use the hosting platform’s rollback or release recovery process and repeat the smoke test after recovery.

Common questions

Is a deployment preview the same as the live site?
It renders a deployable version of your project at another URL. It can use different environment variables, access controls or data, so verify those before drawing conclusions from a preview test.
Should I retest if there’s a change after I reviewed the preview?
Yes. Confirm the revision changed and repeat the checks that the new change could affect. Record which revision passed before publishing.
Can I send a preview link to a client?
Yes, if the URL is still active and the reviewer is allowed to open it. Check access first and keep sensitive content behind appropriate controls.

Sources

Researched with official sources and written with AI assistance.

Pithmark listings in this guide