Skip to main content

Scenario Templates

VeriWasp ships with five built-in scenario templates: pre-written step sequences for the most common SaaS user flows, so you don't have to write a scenario from a blank page for the flows nearly every app shares. Selecting one on the New Playtest form pre-fills the step editor with its full step list, which you're free to edit, reorder, extend, or trim before confirming.

This page documents the exact steps each template starts you with, and what each one is testing for.

note

Every template's first step is navigate with the description "Load the homepage," a reminder that this description text is never actually read for navigate steps (see Step Types & AI Resolution). It's there purely as a human-readable label.

Sign up flow

Slug: signup · Tests account creation end to end.

#ActionDescriptionValue
1navigateLoad the homepage
2clickthe Sign Up button
3typethe email fieldplaytest+signup@example.com
4typethe password fieldPlaytestPassword123!
5clickthe submit or create account button
6asserta welcome message or dashboard is visible

The final assert step is the actual pass/fail signal for the whole scenario: if no element matching "a welcome message or dashboard is visible" exists on the page after submitting, the step (and therefore the run) fails, flagging that account creation didn't visibly succeed.

Checkout process

Slug: checkout · Tests completing a purchase using Stripe's well-known test-mode card.

#ActionDescriptionValue
1navigateLoad the homepage
2clicka pricing or upgrade link
3clickthe checkout or subscribe button
4typethe card number field4242424242424242
5typethe card expiry field12/34
6typethe card CVC field123
7clickthe pay or submit button
8asserta confirmation or success message is visible

4242 4242 4242 4242 is Stripe's standard test-mode card number. It only works against a Stripe integration that's actually in test mode, and it will be declined (or simply not exist as a valid card) against a live/production Stripe integration. Don't point this template at a target with live payments enabled expecting it to succeed.

caution

Some payment providers, Stripe included, render the card number, expiry, and CVC fields inside a cross-origin iframe for PCI-compliance reasons. VeriWasp's browser automation cannot type into fields inside a cross-origin iframe. If your checkout form is built this way, steps 4 through 6 will fail to resolve, not because the description is wrong, but because the element genuinely isn't reachable from the parent page's DOM. This is a known limitation, not a bug to report.

Create project + invite teammate

Slug: invite-teammate · Tests workspace/project creation followed by inviting a collaborator.

#ActionDescriptionValue
1navigateLoad the homepage
2clicka create project or new project button
3typethe project name fieldPlaytest Project
4clickthe create or save button
5clickan invite teammate or invite member button
6typethe invite email fieldteammate@example.com
7clickthe send invite button
8assertthe invite appears as pending or sent

Like the signup template, this assumes an already-logged-in-or-otherwise-open project creation flow is reachable without a prior login step. If your app requires signing in first, prepend signup/login steps ahead of step 2 (subject to the login-automation limitation described in Account & Sessions).

Mobile navigation

Slug: mobile-nav · Exercises primary navigation at a mobile viewport.

#ActionDescriptionValue
1navigateLoad the homepage
2clickthe mobile menu or hamburger icon
3assertthe navigation menu is visible
4clickthe first navigation link in the menu
5assertthe page loaded without errors

This template is meant to be run with the Mobile viewport option set on the New Playtest form (see Creating a Playtest Run). Selecting the template does not change the viewport for you, so double check that dropdown before confirming.

Full user onboarding

Slug: full-onboarding · The complete first-time user journey: signup followed by whatever onboarding steps stand between account creation and the main app experience.

#ActionDescriptionValue
1navigateLoad the homepage
2clickthe Sign Up button
3typethe email fieldplaytest+onboarding@example.com
4typethe password fieldPlaytestPassword123!
5clickthe submit or create account button
6clickthe continue or next button
7assertthe main dashboard or app experience is visible

This is the broadest of the five templates and the most likely to need editing. Step 6 ("the continue or next button") assumes a single-screen onboarding wizard. If your app's onboarding spans several distinct screens (profile setup, then a tour, then a first-project prompt, for instance), add additional click/type/assert steps between 6 and 7 to walk through each one explicitly.