Restart Browser for Each Scenario: User details not clearing between runs

842 views
Skip to first unread message

rjma...@gmail.com

unread,
Jan 12, 2016, 1:01:50 AM1/12/16
to Serenity BDD Users Group
Hi John,
The behavior of the "restart.browser.each.scenario" is not same as  "thucydides.restart.browser.frequency" ,  user details are not cleared for each scenario. 

thucydides.restart.browser.frequency=1
restart.browser.each.scenario=true



thucydides.restart.browser.frequency=1 works properly and cleans browser session & user data every time 


Can you please fix the behavior of "restart.browser.each.scenario". 



Thanks
Madhu RJ

John Smart

unread,
Jan 12, 2016, 2:15:45 AM1/12/16
to Madhu RJ, Serenity BDD Users Group
Hi,

Thanks for pointing this out. What version of Serenity are you using?

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +44 7497151337
Making smart teams collaborate better
http://www.wakaleo.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Requirements Discovery, Behaviour Driven Development, Agile Development Practices, and Test Automation!
___________________________________________________

rjma...@gmail.com

unread,
Jan 13, 2016, 3:00:28 PM1/13/16
to Serenity BDD Users Group
I am on <serenity.version>1.1.22-rc.15

rjma...@gmail.com

unread,
Jan 14, 2016, 2:16:50 PM1/14/16
to Serenity BDD Users Group
Hi John ,
Also noticed an another issue, 

#serenity.restart.browser.frequency=1
#restart.browser.each.scenario=true

After disabling these two properties, the first scenario with Example data gets executed and also other scenarios in the same story file gets executed with no issues where in the scenario's in the second feature file fails. 
1. Issue here is the browser session data is not refreshed after closing and opening the browser.
2. Browser is closed and opened for each story file 


Thanks
Madhu 
Reply all
Reply to author
Forward
0 new messages