maestro
maestro copied to clipboard
runFlow command's path argument doesn't allow for interpolation of JavaScript values
Use case
It should be simpler to Maestro read variable values. For example, for aesthetic and organizational reasons, I want to access flows that are in another folder. So I have to write
- runFlow: ...Ubuntu\home\ana\app-syndic-automation\tests\login.yaml
- runFlow:...Ubuntu\home\ana\app-syndic-automation\flows\subflows\accessPixComponent.yaml
- runFlow:...Ubuntu\home\ana\app-syndic-automation\flows\subflows\accessPixKeyArea.yaml
This visually looks ugly and gives an impression of disorganization. So I didn't sit still until I found a way to do it, having to write a variable processing script in python. See, something that seems so simple, I had to make a SCRIPT for it.
And this is how it is now:
- runFlow: {{ LOGIN }}/login.yaml
- runFlow: {{ CONDOMINIUM }}/accessPixComponent.yaml
- runFlow: {{ CONDOMINIUM }}/accessPixKeyArea.yaml
So my suggestion is to find an easier way to do this.
Proposal
Anything else?
No response