Recently I added a cool feature to the Logic App Testing framework in the integration playbook where you can take the run history for an existing run of a workflow and generate the code for an automated test which you can then run in your VsCode solution.
This video shows how I did it.
You can learn more about this feature in the integration playbook on the below link:
https://www.integration-playbook.io/v1/docs/generate-an-automate-test