A checklist for testing on staging
Test the things your visitors rely on, one at a time, and write down what you see. A page that "looks fine" at a glance can hide a dead form.
Start by confirming you're on the copy. A platform help page says the copy brings across "any errors it has"1. So an old fault on live will show up here too. Don't blame your change for it.
Before you start
Make a short list of what you changed. Then test those areas first, and the important pages second. Keep two browser windows open, live on the left and the copy on the right. Differences jump out when you flick between them.
Check the address bar each time you click. It's the quickest way to avoid editing the wrong site.
Links and navigation
Click every menu item and each link in the footer. Look for pages that load but show the wrong content, and links that jump back to the live site.
That second one is common. One host's documentation says "Any hard-coded URLs in themes or plugins must be updated manually"2. A hard-coded address is one typed into the code, so it doesn't follow the copy to its new home. If you're taken to your real domain from the test site, that's the cause to suspect.
Also try a page that doesn't exist. You should see your own friendly "not found" page, not a bare server message.
Forms
Send a test entry through every form: contact, quote request, newsletter sign-up, booking.
Three things to look for:
- Does the screen confirm that the form was sent?
- Does the entry reach the inbox it's meant for?
- Does the message look right, with a sensible subject and sender name?
Be careful, though. On one host, a test order on the copy means you "will receive related emails from the staging site"3. Use your own email address in the test entry, not a customer's.
Mobile layout
Open the copy on a real phone if you can. Failing that, narrow your browser window until the layout changes.
Check that text is readable without pinching, buttons are big enough to tap, and nothing runs off the side of the screen. Open the menu. Scroll the longest page you have. Rotate the phone and look again.
Checkout and payments
Only do this with the shop's test mode, or with the payment provider's documentation open. Read how your payment tool handles testing before you enter anything. Never put real card details into a test copy.
Add an item to the basket, change the quantity, apply a discount code, and go through to the last screen. Look at the emails it triggers. Look at what appears in the order list, and remember those test orders will need clearing out later.
Sign-in and accounts
Log in, log out, and use "forgot password". Try an ordinary customer account as well as your admin one. Many sites show different menus to different people, and a fault often hides in the account nobody checks.
A plugin may change your login address. One host says "the custom part of the URL will get copied over to the staging site"3. Write the login address down before you go hunting for it.
Things that behave differently on a copy
Timed jobs may be off. One host says "Server cron jobs from the live environment are not active in the staging environment"3. Scheduled posts, reminders and backups might not fire on the copy, so a quiet result doesn't prove they work.
Social plugins can misbehave. The same host warns that some "might start sharing to social networks using your staging URL"3. Switch them off on the copy.
When you find a fault
Change one thing at a time and test again. A platform's own troubleshooting method has you undo changes one by one and then "Check if the error still appears"1.
Before you move anything to live, resolve what you found. One host's advice is to "resolve any errors before pushing to a live environment"2. Then go through your list once more, because it's the last look before visitors see it.
After the push, the same host says "Test your site thoroughly"2. What comes after is the push itself.
Notes and sources
- Use a staging site to troubleshoot errors, WordPress.com Support
- Push Environments, Kinsta Docs
- Staging environments, Kinsta Docs