How to fast forward browser cookies to check expired actions?

Hi,

Do you know if there is a way of being able to test the desired outcome for when a cookie expires? Currently testing an increase of the expiry time on a basket cookie from 30 days to 90, if an existing basket cookie is set to 30 days and the basket is updated, the cookie will be updated to 90 days. However if the 30 days pass, the basket is to be cleared. The same will happen when a 90 day cookie expires.

I have come across a ‘fast forward’ option when testing repayments actions on a payment portal so hoping there might be an extension or similar.

Would like to ‘fast forward’ rather than decreasing the expiry period within the cookie.

2 Likes

I’ve not come across an extension but I had something similar and we put time jumps / changes in a hidden menu to help testability. Maybe the devs could create something for you? We had loads of things on ours for various scenarios.

2 Likes