Some time ago you introduced ClearCookiesPolicy.never thtat con be used together with uniqueSession = true: @Managed(uniqueSession = true, clearCookies = ClearCookiesPolicy.Never).
This worked perfectly in the version 1.1.29-rc.1. Unfortunately you broke it in your latest version 1.2.2-rc.4. That is, the browser closes after each single test (not test class).
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to thucydides-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import org.junit.Test;
import org.junit.runner.RunWith;
import org.openqa.selenium.WebDriver;
import net.serenitybdd.junit.runners.SerenityRunner;
import net.thucydides.core.annotations.ClearCookiesPolicy;
import net.thucydides.core.annotations.Managed;
@RunWith(SerenityRunner.class)
public class MyTest {
@Managed(uniqueSession = true, clearCookies = ClearCookiesPolicy.Never)
private WebDriver webDriver;
@Test
public void test1(){
webDriver.navigate().to("http://www.google.com");
}
@Test
public void test2(){
webDriver.navigate().to("http://www.google.com");
}
}
Could you provide a sample project reproducing the issue?
On 30 December 2016 at 08:22, <martin...@gmail.com> wrote:
Some time ago you introduced ClearCookiesPolicy.never thtat con be used together with uniqueSession = true: @Managed(uniqueSession = true, clearCookies = ClearCookiesPolicy.Never).
This worked perfectly in the version 1.1.29-rc.1. Unfortunately you broke it in your latest version 1.2.2-rc.4. That is, the browser closes after each single test (not test class).
--
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.