Instant Preview & Testing
Instant preview in Script Editor
The right margin of the script editor displays:
- The inputs of the main function, which are parsed to create an auto-generated UI.
- The logs and results of the last execution.
- The history of the latest runs via the editor.
VS Code Extension
For users on VS Code Extension, you can also preview instantly and test with the
Windmill: Run preview command.
Instant preview in Flow Editor
The flow editor has several methods of previewing results instantly.
Testing the flow or certain steps is often required to have the outputs of previous steps suggested as input for another step:
While editing the flow, you can run the whole flow as a test.
Test flow. This will open a drawer with the flow's inputs and its status.
Upon execution, you can graphically preview (as a directed acyclic graph) the execution of the flow & the results & logs of each step.
From the menu, you can also access past runs & saved inputs.
At last, you can fill arguments from a request.
Test up to step
Test flow, you will get the same components (Flow inputs, status, input library etc.), only the flow will execute untill a given step, included.
Test this step
Test this step is a way to test a single step of the flow. It comes useful to check your code or to have the results of your current steps suggested as inputs for further steps.
The arguments are pre-filled from the step inputs (if the arguments use results from previous steps, they will be used if those were tested before), but you can change them manually.
Instant preview in App Editor
The app editor has several methods of previewing results instantly.
Run manually a runnable
When on a runnable from the runnable pannel, you can manually run it.
On the top bar of the app, you can either manually run all runnables of set a given run frequency.
The preview mode of the app will run all runnables before previewing them.