How can I keep Mendix user logged in for the entire test ?
I am trying to write a unit test using a microflow and facing a problem of Mendix user log out Primarily this is my test For this step I am executing a microflow After above microflow is executed the Mendix user logs out which makes my further steps fail and ultimately a failed test case. The problem can be solved by writing two microflows for one test i.e. & as a part of executeMicroflowAsUser step execute the actual test which will include Login, Actual Test, LogOut. Writing two microflows for a single unit test does not sounds good. Need some help here.
Two options I can think of, both having drabacks
As first step in the second unittest trigger the first via an api-call.