Write a test like you'd brief a new hire
A test has instructions, one or more success criteria, and optional cleanup that undoes what it created, such as deleting the order it placed. Be specific about what to do and what to look for.

Browser tests, in beta, follow a flow in your app the way a user would and tell you whether it still works. You write the steps in plain language and say what must be true for the test to pass. When a change breaks checkout, the run shows the step where it went wrong.
A test has instructions, one or more success criteria, and optional cleanup that undoes what it created, such as deleting the order it placed. Be specific about what to do and what to look for.


If you check key flows by hand before each release, a browser test repeats that check every time and records it. Run on publish suits flows you change often, and a daily or weekly schedule suits the rest.

Signed in, the default, runs as a dedicated test user, and Signed out runs as a visitor. For a handoff, such as a manager who creates a job and a technician who completes it, turn on Test with a second user.
Each run marks every success criterion met or unmet, with the evidence Hercules observed. A failed run means the app missed a criterion, and an errored run means something stopped the test first, such as the app not loading.

Run a test against your preview, the version you're still building, to find problems before you publish. Or point it at the published app to check what your users see.
In the Tests tab, create a test and write the instructions.
Go to the products page. Add the first product to the cart, then go to checkout and place the order.
Hercules follows these steps in a browser.
Add success criteria and a cleanup step that deletes the test order.
An order confirmation page appears with an order number. The new order shows in the orders list.
Hercules marks each criterion met or unmet at the end of the run.
Click Run once and watch the browser live, then turn on Run on publish. Hercules then checks checkout every time you publish.
In this hypothetical example, a landscape supply yard's office manager tests the yard's quoting app with Test with a second user on. The first user requests a quote for 12 pallets of pavers, and the second, an office user, checks that it reaches the pricing queue.
She runs the test against the preview before each publish. After a change to the quote form, the run fails, and the recording shows the request never reached the queue. Hercules fixes the form, and the next run confirms that the test request reaches the pricing queue.
Set a custom viewport, the browser window size, to test a desktop, tablet or phone layout. Leave it blank for the default size. Browser tests
A browser test can run as you, with your data and permissions, only on apps that don't use Hercules Auth. Those apps show the option under Sign in as.
You can cancel a browser test run while it's pending or in progress.
Hercules turns a test off after five scheduled runs in a row fail to start. That can happen when the app isn't published or the test can't sign in, and runs stopped for lack of credits don't count. Fix the cause and turn the test back on.
Write a test for the flow your customers use most. Start building.