Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public class LogoutTest extends SeleniumTestBase {
private StartPage startPage = new StartPage();
private LoggedOutPage loggedOutPage = new LoggedOutPage();
public LogoutTest() {
this.pagesToInitialize = Lists.newArrayList(startPage);
public void shouldEndUpOnLoggedOutPageWhenLoggedOut() {
assertThat("should end up at LoggedOutPage when logged out",
this.browser.getCurrentUrl(), comparesEqualTo(loggedOutPage.getUrl()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment