Test succesful but not all steps completed visually

Hi there!
I have a question:
Sometimes when I run a scenario (React Native app), I see that it succeded but in the simulator I dont see with my eyes that indeed all the steps of the scenario have been executed (it happens only in Android, in iOS its fine).
For example:
step1: tap on X page
steo2: verify the page is displayed
step3: click back button.
steo4: verify the page is displayed

So, the result is successful but in the simulator, during the test run, I see that only the first 2 steps have been executed.

Why is that?
I have red that appium has some instability issues in general, is it because of this?
How this can be solved?

ps: I use cucumber and typescript

Hi,

Only your tests verify steps. Try add more logging and many seconds delay in problematic steps - so you can see how your steps executing and what happens.

Thanks for your reply.
Do you know why this happens specifically in Android and not so often in iOS?

I can without example of problem code.

What you mean by “Try add more logging”?
I am new to QA so please guide me.
Thanks Aleksei.

Add console.log inside your tests. Does it click on Back Button on Simulator?