标签: date testing cypress end-to-end
我的网站设置cookie的有效期限为自当前登录起7天。 我需要从cypress测试cookie的有效期。 但我无法将cypress的默认时间(即1970年1月)更改为cypress中的当前系统日期,因为它将cookie的有效期限设置为1970年代。 如何在柏树中做到这一点。