Automate a logout by inactivity check via Cypress?

Hello Folks,

currently I automate some use cases for a web GUI with a tool names Sahi.

I just get a problem. The use case I want to automate is automatical logout because of inactivity by the GUI user.

The steps are pretty easy.

  1. Goto the GUI
  2. Wait some time
  3. Try to perform a click on a GUI element
  4. Expect the Logout

Unfortunalty it didn’t work with Sahi because the tool works as a browser proxy and keeps permanently a signal with the GUI alive what is interpereted by the GUI activity.
So the logout is never performed by the system.

My question now would there be a solution for this use case by automate it with Cypress?

Grettings