Fix console tests (#4277)

This commit is contained in:
Stian Thorgersen 2017-06-30 08:49:18 +02:00 committed by GitHub
parent f0f1b85582
commit fdb80d4319
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ public class Users extends AdminConsoleRealm {
public static final String IMPERSONATE = "Impersonate"; public static final String IMPERSONATE = "Impersonate";
public static final String DELETE = "Delete"; public static final String DELETE = "Delete";
@FindBy(xpath = "//div[./h1[text()='Users']]/table") @FindBy(id = "user-table")
private UsersTable table; private UsersTable table;
public UsersTable table() { public UsersTable table() {

View file

@ -2,7 +2,7 @@
<kc-tabs-users></kc-tabs-users> <kc-tabs-users></kc-tabs-users>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered" id="user-table">
<caption data-ng-show="users" class="hidden">{{:: 'table-of-realm-users' | translate}}</caption> <caption data-ng-show="users" class="hidden">{{:: 'table-of-realm-users' | translate}}</caption>
<thead> <thead>
<tr> <tr>