Fix DemoExampleAdapterTest

This commit is contained in:
mhajas 2016-02-19 13:24:28 +01:00
parent d5a57a2bbd
commit 0aa1b37e30

View file

@ -246,7 +246,10 @@ public abstract class AbstractDemoExampleAdapterTest extends AbstractExampleAdap
assertTrue(oAuthGrantPage.isCurrent()); assertTrue(oAuthGrantPage.isCurrent());
loginEventsPage.navigateTo(); loginEventsPage.navigateTo();
loginPage.form().login(adminUser); if (!testContext.isAdminLoggedIn()) {
loginPage.form().login(adminUser);
testContext.setAdminLoggedIn(true);
}
loginEventsPage.table().filter(); loginEventsPage.table().filter();
loginEventsPage.table().filterForm().addEventType("REVOKE_GRANT"); loginEventsPage.table().filterForm().addEventType("REVOKE_GRANT");
loginEventsPage.table().update(); loginEventsPage.table().update();