Truncate the clientId (#28406)

* Truncate the clientId

fixes: #28284

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fxed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-04-05 13:56:30 +02:00 committed by GitHub
parent 3fda2c0444
commit 73e22b32c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 12 deletions

View file

@ -229,7 +229,7 @@ export default class ListingPage extends CommonElements {
}
goToItemDetails(itemName: string) {
cy.get(this.#itemsRows).contains(itemName).click();
cy.get(this.#itemsRows).contains(itemName).click({ force: true });
return this;
}

View file

@ -45,6 +45,7 @@ const ClientDetailLink = (client: ClientRepresentation) => {
const { t } = useTranslation();
const { realm } = useRealm();
return (
<TableText wrapModifier="truncate">
<Link
key={client.id}
to={toClient({ realm, clientId: client.id!, tab: "settings" })}
@ -56,6 +57,7 @@ const ClientDetailLink = (client: ClientRepresentation) => {
</Badge>
)}
</Link>
</TableText>
);
};