We have created an app that has some time dependent behavior (it pre-selects certain options in a screen depending on the time & date the app is used). Since I'm getting reports that the app does not function as expected at night time, I would like to test the app myself.
Is there any way I can change the (server) time using Outsystems Cloud for testing purposes? Or is there an alternative approach I could follow to test this without staying up all night?
Hello @graafderk,
Generally speaking and not knowing the specifics of your use case(s) I would still urge you to consider setting up BDD tests to simulate such flows. You can simulate scenarios in Gherkin style (Given - When - Then).
You have several options in the forge, of which I have used this one for Traditional web apps effectively.
If you are already running BDD tests then you could set up a test for this specific use case and manipulate the times as needed.
If you are new to using the BDD framework, then there is a learning curve of course that will be well worth the time invested into it. In the long term you would have built up a suite of tests that should ideally be passing all the time in the environments that matter to you.
Regards,
AJ