Workaround fixes for clients_test to pass

Fixes: #29440
This commit is contained in:
Hynek Mlnarik 2024-05-10 09:15:34 +02:00 committed by Hynek Mlnařík
parent 3834e86ebf
commit 1c3890bb0e
2 changed files with 3 additions and 2 deletions

View file

@ -1152,11 +1152,12 @@ describe("Clients test", () => {
});
describe("Realm client", () => {
const clientName = "master-realm";
const clientName = `${realmName}-realm`;
beforeEach(() => {
loginPage.logIn();
keycloakBefore();
// Stay in master realm, do not switch to ${realmName} realm
commonPage.sidebar().goToClients();
commonPage.tableToolbarUtils().searchItem(clientName);
commonPage.tableUtils().clickRowItemLink(clientName);

View file

@ -39,7 +39,7 @@ export default class TablePage extends CommonElements {
this.#tableRowItem,
)
.contains(itemName)
.click();
.click({ force: true });
return this;
}