What is Workflow Testing?
Workflow Testing in Xano allows you to quickly build sets of tests that you can use to make sure a specific flow is working as expected. You can think of a ‘flow’ as a set of separate actions, such as multiple APIs that a user might hit when utilizing your application, or data processing across multiple function stacks. Workflow Testing allows you to validate these sets or flows with a single click and get instant visibility into your backend functionality.How do I build workflow tests?
From the sidebar, switch to the Test & Deploy tab and choose Workflow Tests


Test Expressions
Test Expressions are functions used typically in conjunction with a Run Stack to determine if the output of a Run Stack is valid.Using Workflow Tests
In this example, we’ve built a workflow test to make sure our login flow works as expected.


Reading the results
From the main Workflow Tests page, run each test individually from its row, or click Run Test Suites to run all of them at once. Each test’s Result column shows an explicit Pass or Fail badge. When a test fails, its error appears full width directly beneath its row, so you don’t have to open the test to find out what went wrong. The Test Results panel summarizes the run:
The panel also shows when the last run happened.

Results persist per branch. A test’s last run status, duration, and error text are stored and shown when you load the page, so you can leave and come back without re-running the suite. Leaving mid-run and returning shows live progress, and an interrupted run reconciles on return.
Additional Information
- Click the settings icon next to a workflow test to clone or delete it.
- When adding a Run Stack, you can click theOpen icon to open that function stack being tested in a new window or tab and quickly make changes.
- When you test a function stack that currently is in draft mode, your workflow test will run the drafted version.
- You can change the data source that all of your workflow test’s functions run against by clicking the Live button at the top of the workflow test function stack.
Databases in Workflow Tests

Selecting a Data Source for a Workflow Test