赛普拉斯测试期间的应用程序注销和应用程序登录静音

时间:2020-11-11 14:55:06

标签: testing openid-connect cypress identityserver3

我正在使用cypress 5.4.0版测试从IdentityServer3和MVC / Angular模块构建的应用程序。

登录到应用程序后,我的测试时间受到每隔指定时间在iframe中发生的无提示重新登录的限制。 静默登录始终失败。 我假设IdentityServer3没有特定的令牌/用户信息来保持我的生命。

控制台错误: consoleErrors

我所做的事情:

  • 进入IdentityServer3.config并延长了 accessTokenLifetime
  • 的寿命
  • 进入oidcManagerSettings并放置 automationSilentRenew:false 以停止该过程
  • 进入oidcManagerSettings,保留 automationSilentRenew:true 并设置 checkSessionInterval:36000

更改设置不会更改注销行为。

什么是解决情况的最佳解决方案? 任何提示将不胜感激。

0 个答案:

没有答案