Testing
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.
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.
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.