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
| Property | Description |
|---|---|
| Title | A descriptive name for the flow |
| Status | Active or Inactive |
| Steps | The sequence of actions to perform |
| Settings | Timeout, retries, screenshots |
| Last Run | Information about the most recent execution |
| Created Date | When the flow was created |
| Modified Date | When the flow was last updated |
Accessing the flows page
- Click Flows in the Flowguard sidebar menu
- 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
- Click the Create Flow button in the top-right
- You'll be taken to the flow editor
- Enter a title for your flow
- Start adding steps
- Click Save when you're done
Method 2: from the dashboard
- On the Dashboard, click Create New Flow
- Follow the same steps as above
Editing a flow
To modify an existing flow:
- Find the flow in the list
- Click anywhere on the flow card (or click the Edit button)
- Make your changes in the editor
- 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 Flows | Inactive Flows | |
|---|---|---|
| Badge | Green "Active" | Gray "Inactive" |
| Execution | Ready to run anytime | Paused, won't execute |
| Bulk Run | Included in "Run All" | Excluded from "Run All" |
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
- Hover over the flow
- Click the status badge
- It toggles between Active/Inactive
Method 2: from the flow editor
- Open the flow in the editor
- Click the status button in the header
- The change is saved with your other edits
Method 3: from the context menu
- Click the three-dot menu on a flow card
- Select "Activate" or "Deactivate"
Searching and filtering
Search flows
Use the search box to find flows by name:
- Click in the search box
- Type part of the flow name
- 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:
- Select a filter (e.g., "Active")
- Type in the search box
- You'll see active flows matching your search term
Running flows
Run a single flow
- Find the flow in the list
- Click the Play button icon
- The flow starts executing
- Watch the status change to "Running"
- When complete, you'll see "Passed" or "Failed"
Run all active flows
- Click the Run All Active button at the top
- All active flows begin executing
- 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:
- Find the flow you want to copy
- Click the three-dot menu
- Select Duplicate
- A new flow appears with "(Copy)" added to the name
- 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:
- Find the flow in the list
- Click the three-dot menu
- Select Delete
- Confirm the deletion in the dialog
- 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
| Status | Badge | Meaning |
|---|---|---|
| Passed | Green | All steps completed successfully, all assertions correct |
| Failed | Red | At least one step failed or assertion didn't match |
| Running | Orange | Currently executing, wait for completion |
| Not Run | Gray | Never 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:
- Click on the flow to open it
- View the "Last Run" information
- 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:
- Most recently modified first
- 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:
- User authentication - Login/logout flows
- Payment processing - Checkout, subscriptions
- Form submissions - Contact, signup forms
- 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:
- Check immediately - Is your site broken, or does the flow need updating?
- Fix the root cause - Update selectors or fix site issues
- 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
- Flow Editor - The editor interface
- Step Types - Available actions
- Running Flows - Execution details
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