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:
parent
3fda2c0444
commit
73e22b32c9
2 changed files with 14 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -45,17 +45,19 @@ const ClientDetailLink = (client: ClientRepresentation) => {
|
|||
const { t } = useTranslation();
|
||||
const { realm } = useRealm();
|
||||
return (
|
||||
<Link
|
||||
key={client.id}
|
||||
to={toClient({ realm, clientId: client.id!, tab: "settings" })}
|
||||
>
|
||||
{client.clientId}
|
||||
{!client.enabled && (
|
||||
<Badge key={`${client.id}-disabled`} isRead className="pf-u-ml-sm">
|
||||
{t("disabled")}
|
||||
</Badge>
|
||||
)}
|
||||
</Link>
|
||||
<TableText wrapModifier="truncate">
|
||||
<Link
|
||||
key={client.id}
|
||||
to={toClient({ realm, clientId: client.id!, tab: "settings" })}
|
||||
>
|
||||
{client.clientId}
|
||||
{!client.enabled && (
|
||||
<Badge key={`${client.id}-disabled`} isRead className="pf-u-ml-sm">
|
||||
{t("disabled")}
|
||||
</Badge>
|
||||
)}
|
||||
</Link>
|
||||
</TableText>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue