Testing
Run a draft on a real file and see what every step would do, without changing your library.
Test runs your current draft, as it is right now, on a file you choose. You don't need to publish first, and the workflow doesn't need to be active.
Running a test
- Click Test in the editor's header.
- Choose a file. For a Tag added trigger, also choose the tag that was "added".
- Click Start test.
The editor shows the test's progress on the canvas and in the outline: each step gets its result (Succeeded, Skipped, Failed), and selecting a step shows what it received and produced in the settings panel. Details opens the full test run, and Clear test results removes the results from the editor.
For an intake workflow, the file you choose stands in for an upload: its content becomes the trigger's content, as if it had just been received. Nothing is reserved and no links are made.
What a test changes
Nothing in your library. A test runs against a private copy of the files it touches:
- Renames, moves and tags change the copy, and later steps in the test see those changes.
- Tags and folders the test would create exist only in the test.
- Save file creates a file only in the test.
- A share link is a placeholder that doesn't work.
- Moving to Trash only hides the file from later steps.
- Set field and Add attachment change the copy. Later steps see the new values and can read the attachments' text, but nothing is written to the real file or the search index.
No events are recorded, so a test never starts other workflows. The copy is thrown away when the test ends.
Content steps run for real. Strip metadata, Resize, Compress and the other image steps process the actual bytes in the test, so their results (sizes, dimensions) are real. Those working copies are deleted when the test ends.
Steps that reach outside Tessra
Steps that use a connection, such as Send webhook and Send notification, don't contact the service in a test. They succeed with placeholder outputs of the right type (a placeholder message id, status 0), and their history says The outputs are placeholders. AI steps send content to outside services, so they get placeholders too; AI detect then continues on Unsure, and steps with other exits on their first one.
When the draft has such steps, the test dialog shows two switches, both off each time you open it:
- Allow outside changes really runs steps that change something outside Tessra, such as posting a message or calling a webhook.
- Allow sending content to outside services really runs steps that send file content or text to a service for processing.
Turn a switch on only when you want the service to receive the test. What it does there isn't undone when the test ends. The run page marks such tests Reaches outside.
Things to know
- The test uses a snapshot of the draft taken when it starts. Editing the draft while a test runs doesn't affect that test.
- If the trigger's filters wouldn't accept the chosen file (say, a PDF for a workflow limited to
image/*), the test is refused instead of skipping every step. - Test runs show in the workflow's Runs tab marked Test. They don't count as the workflow's last run or its failures, and they can't be retried.
- A draft with errors in the Problems list can't be tested. Steps that only need setup must be filled in first too.