Can be used in conjunction with this flow to check the messages being output from a node in Node-RED.
In this flow, our "Store Latest Msg" function node stores the received msg
value into the global context store at global.msg
. Then the Test Helper can be used in Cypress to retrieve this value to check validity of the output.
This flow, for example, provides Cypress with various instances of ui-button
with which it can automate clicking/interaction and check the outputs.