Merge pull request #3452 from mhajas/KEYCLOAK-3142
KEYCLOAK-3142 Check ResourceType in AdminEvent test
This commit is contained in:
commit
a0f359c93c
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,7 @@ public class AdminEventsTest extends AbstractConsoleTest {
|
|||
assertEquals(1, resultList.size());
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='CREATE']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='clients/" + id + "']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='CLIENT']"));
|
||||
|
||||
adminEventsPage.table().reset();
|
||||
adminEventsPage.table().filterForm().addOperationType("UPDATE");
|
||||
|
@ -97,6 +98,7 @@ public class AdminEventsTest extends AbstractConsoleTest {
|
|||
assertEquals(1, resultList.size());
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='UPDATE']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='clients/" + id + "']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='CLIENT']"));
|
||||
|
||||
adminEventsPage.table().reset();
|
||||
adminEventsPage.table().filterForm().addOperationType("DELETE");
|
||||
|
@ -106,6 +108,7 @@ public class AdminEventsTest extends AbstractConsoleTest {
|
|||
assertEquals(1, resultList.size());
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='DELETE']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='clients/" + id + "']"));
|
||||
resultList.get(0).findElement(By.xpath("//td[text()='CLIENT']"));
|
||||
}
|
||||
|
||||
public ClientsResource clientsResource() {
|
||||
|
|
Loading…
Reference in a new issue