简体   繁体   中英

Serenity BDD dont delete Browser Memory

@Managed(uniqueSession = true, clearCookies = Never)

I have a serenity app that has a Oauth login mechanism using the Microsoft login. I am using the above code to make browser retain browser's memory. What I want to happened is I have a test to Login using the Microsoft Oauth. Then Have another test that will open the dashboard. Since the previous test already log in. I am hoping that Opening the dashboard of the app should be pass. Unfortunately when I access the dashboard. The test will ask for login again. Meaning that the previous login was deleted from the browser's memory.

How to properly retain the browser's memory in Serenity BDD screenplay test using only Google Chrome browser?

In this conversation similar issue was discussed - https://github.com/serenity-bdd/serenity-core/issues/273 . If I right understood this feature have to work, but in your case it is not working. What I would do:

  1. add issue here
  2. ask in the RocketChat

Both of the options are good, because the contributors of Serenity BDD can provide the best help for your issue. Also you can talk there directly with John Ferguson Smart .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM