Fix DemoExampleAdapterTest
This commit is contained in:
parent
d5a57a2bbd
commit
0aa1b37e30
1 changed files with 4 additions and 1 deletions
|
@ -246,7 +246,10 @@ public abstract class AbstractDemoExampleAdapterTest extends AbstractExampleAdap
|
||||||
assertTrue(oAuthGrantPage.isCurrent());
|
assertTrue(oAuthGrantPage.isCurrent());
|
||||||
|
|
||||||
loginEventsPage.navigateTo();
|
loginEventsPage.navigateTo();
|
||||||
|
if (!testContext.isAdminLoggedIn()) {
|
||||||
loginPage.form().login(adminUser);
|
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();
|
||||||
|
|
Loading…
Reference in a new issue