Skip to content

Managing flows

How to create, organize, and manage test flows in Flowguard.

What is a flow?

A flow is a complete test scenario made up of multiple steps. Think of it as a recipe that tells Flowguard what to do when testing a feature or user journey on your site.

Flow properties

Flow Anatomy - Expand to see all properties
PropertyDescription
TitleA descriptive name for the flow
StatusActive or Inactive
StepsThe sequence of actions to perform
SettingsTimeout, retries, screenshots
Last RunInformation about the most recent execution
Created DateWhen the flow was created
Modified DateWhen the flow was last updated

Accessing the flows page

  1. Click Flows in the Flowguard sidebar menu
  2. You'll see a list of all your test flows

The flows page layout

Header section

The top of the page contains:

  • Page title and subtitle - "Flows" and a brief description
  • Create Flow button - Start building a new flow

Toolbar

Below the header:

  • Search box - Find flows by name
  • Filter buttons - View All, Active, or Inactive flows
  • Counter badges - Show how many flows match each filter

Flows list

The main area displays your flows as cards. Each card shows:

  • Flow title
  • Active/Inactive status badge
  • Number of steps
  • Last run result (Passed/Failed/Running/Not Run)
  • Last run timestamp
  • Action buttons

Creating a new flow

Method 1: from the flows page

  1. Click the Create Flow button in the top-right
  2. You'll be taken to the flow editor
  3. Enter a title for your flow
  4. Start adding steps
  5. Click Save when you're done

Method 2: from the dashboard

  1. On the Dashboard, click Create New Flow
  2. Follow the same steps as above

Editing a flow

To modify an existing flow:

  1. Find the flow in the list
  2. Click anywhere on the flow card (or click the Edit button)
  3. Make your changes in the editor
  4. Click Save to apply changes

TIP

Use Cmd+S (Mac) or Ctrl+S (Windows) to save quickly!

Flow status: active vs inactive

Active vs inactive flows

Active FlowsInactive Flows
BadgeGreen "Active"Gray "Inactive"
ExecutionReady to run anytimePaused, won't execute
Bulk RunIncluded in "Run All"Excluded from "Run All"
ActiveReady to run
InactivePaused
Passed All steps OK
Failed Error occurred
Running In progress
Not RunNever executed

When to Use Active Status

  • Tests that should run regularly
  • Flows you're actively using
  • Tests for production features

When to Use Inactive Status

  • Flows under development
  • Tests for features being deprecated
  • Seasonal tests (e.g., holiday-specific features)
  • Backup copies of flows

Toggling status

You can change a flow's status in several ways:

Method 1: from the flows list

  1. Hover over the flow
  2. Click the status badge
  3. It toggles between Active/Inactive

Method 2: from the flow editor

  1. Open the flow in the editor
  2. Click the status button in the header
  3. The change is saved with your other edits

Method 3: from the context menu

  1. Click the three-dot menu on a flow card
  2. Select "Activate" or "Deactivate"

Searching and filtering

Search flows

Use the search box to find flows by name:

  1. Click in the search box
  2. Type part of the flow name
  3. Results update as you type

The search is case-insensitive and matches any part of the title.

Examples:

  • Search "login" finds "User Login Test" and "Admin Login Flow"
  • Search "form" finds "Contact Form" and "Registration Form Test"

Filter by status

Use the filter buttons to view specific flow types:

  • All - Shows every flow (default)
  • Active - Shows only active flows
  • Inactive - Shows only inactive flows

Each button displays a count in parentheses, like "Active (12)".

Combining search and filters

You can use search and filters together:

  1. Select a filter (e.g., "Active")
  2. Type in the search box
  3. You'll see active flows matching your search term

Running flows

Run a single flow

  1. Find the flow in the list
  2. Click the Play button icon
  3. The flow starts executing
  4. Watch the status change to "Running"
  5. When complete, you'll see "Passed" or "Failed"

Run all active flows

  1. Click the Run All Active button at the top
  2. All active flows begin executing
  3. Monitor progress on the Dashboard or Flows page

WARNING

Running many flows at once can take time. Don't close the browser window while tests are running.

Duplicating flows

To duplicate a flow:

  1. Find the flow you want to copy
  2. Click the three-dot menu
  3. Select Duplicate
  4. A new flow appears with "(Copy)" added to the name
  5. Edit the duplicate as needed

When duplicating is useful:

  • Creating variations of similar tests
  • Making a backup before big changes
  • Using an existing flow as a template

Deleting flows

DANGER

Deleting a flow is permanent and cannot be undone!

To delete a flow:

  1. Find the flow in the list
  2. Click the three-dot menu
  3. Select Delete
  4. Confirm the deletion in the dialog
  5. The flow is immediately removed

Before deleting:

  • Consider making it inactive instead
  • Duplicate it first as a backup
  • Make sure you won't need the test history

Understanding flow results

StatusBadgeMeaning
PassedGreenAll steps completed successfully, all assertions correct
FailedRedAt least one step failed or assertion didn't match
RunningOrangeCurrently executing, wait for completion
Not RunGrayNever executed or not run since last edit

What to Do When a Flow Fails

Click on a failed flow to see:

  • Which step failed - The exact point of failure
  • Error message - Detailed reason for the failure
  • Timestamp - When the failure occurred

Common causes: selector changed, element moved, page structure updated, timeout exceeded.

Organizing your flows

Naming best practices

Use clear names that explain what the flow tests:

Good examples:

  • "User Login - Valid Credentials"
  • "Contact Form - All Required Fields"
  • "Shopping Cart - Add Product & Checkout"
  • "Search - Find Product by Name"

Avoid:

  • "Test 1", "Test 2"
  • "New Flow"
  • "asdf"
  • Single-word names

Naming conventions

Consider using a consistent naming pattern:

By feature:

  • "Login - Success Case"
  • "Login - Invalid Password"
  • "Login - Locked Account"

By user type:

  • "[Customer] Browse Products"
  • "[Admin] Publish Post"
  • "[Editor] Edit Page"

By priority:

  • "[Critical] Payment Processing"
  • "[High] Contact Form"
  • "[Low] Footer Links"

Grouping similar flows

Flowguard doesn't have folders (yet), but you can use naming prefixes to group related flows:

  • "Contact: Form Submission"
  • "Contact: Validation Errors"
  • "Contact: Success Message"

This keeps related flows together when sorted alphabetically.

Flow settings

Each flow has settings that control how it runs:

Timeout

How long to wait (in milliseconds) before a step is considered failed:

  • Default: 30000ms (30 seconds)
  • Adjust for slow-loading pages
  • Reduce for faster feedback on quick actions

Retries

How many times to retry a failed step before marking the flow as failed:

  • Default: 0 (no retries)
  • Increase for flaky tests
  • Use with caution, as retries can mask real problems

Screenshot

Whether to capture screenshots during execution:

  • Default: Enabled
  • Useful for debugging failed flows
  • Can be disabled to speed things up

TIP

Access flow settings by opening the flow in the editor. Settings are saved with the flow.

Viewing flow history

To see a flow's execution history:

  1. Click on the flow to open it
  2. View the "Last Run" information
  3. See timestamp, duration, and result

INFO

Flowguard currently stores the last run result. Full execution history may be available in future versions.

Sorting flows

Flows are sorted by:

  1. Most recently modified first
  2. Alphabetically by title (secondary)

Your actively developed flows appear at the top.

Empty state

If you haven't created any flows yet, you'll see:

  • A "No flows yet" message
  • An explanation of what flows are
  • A large "Create Flow" button

Bulk actions

Currently, Flowguard supports:

  • Run All Active - Execute all active flows

Future versions may include bulk activate/deactivate, bulk delete, and bulk export.

Export and import

INFO

Flow export/import functionality is planned for a future release.

Tips and best practices

Priority Order for Creating Flows

Start with your most used features:

  1. User authentication - Login/logout flows
  2. Payment processing - Checkout, subscriptions
  3. Form submissions - Contact, signup forms
  4. Core navigation - Menu, search functionality

Keep flows focused

Each flow should test one specific scenario:

Good (focused)Bad (too broad)
"Login with valid credentials""Login and checkout and contact form"
"Add single item to cart""Full e-commerce journey"
"Submit contact form""Test all forms on site"

Why focused flows are better:

  • Easier to maintain
  • Faster to run
  • Simpler to debug when they fail

Don't Let Failed Flows Accumulate!

When a flow fails:

  1. Check immediately - Is your site broken, or does the flow need updating?
  2. Fix the root cause - Update selectors or fix site issues
  3. Re-run to verify - Confirm the fix works

Use inactive status wisely

Don't delete flows you might need later. Mark them as inactive instead.

Regular maintenance

Monthly Review Checklist

  • [ ] Update selectors for redesigned pages
  • [ ] Remove flows for deprecated features
  • [ ] Add flows for new features
  • [ ] Check and fix any failing flows

Next steps

Troubleshooting

Flow won't run

If a flow doesn't execute:

  • Check if it's set to Active
  • Verify there are steps in the flow
  • Make sure your site is accessible
  • Check for JavaScript errors in browser console

Can't find a flow

If you can't locate a flow:

  • Clear the search box
  • Check all filter tabs (All/Active/Inactive)
  • Sort by name to find it alphabetically

Changes not saving

If edits aren't persisting:

  • Click the Save button explicitly
  • Check for validation errors
  • Verify you have proper permissions
  • Check browser console for errors