functionality defined here. I would like to create an e2e test for a workflow that uses it, but I want the approval step to succeed automatically in order to continue with testing. Any thoughts on how to accomplish this?
f
freezing-airport-6809
12/09/2023, 12:16 AM
Automatic means you can do programmatic - you can use flytekit.remote to
Approve
b
bored-beard-89967
12/09/2023, 12:23 AM
Of course, I just thought of this on my run. True e2e would probably be more like triggering the workflow with remote in which case this approval method is easy, but I am calling the workflow locally. Ill look to see if remote is still a possibility with local workflow executive, but I guess I could always mock
f
freezing-airport-6809
12/09/2023, 4:41 AM
Ohh locally - interesting never thought about implementing anything