8000 Allow any order in Should save several allowed Kerberos realms kerberos test by rmartinc · Pull Request #54717 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions js/apps/admin-ui/test/user-federation/kerberos.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,13 @@ test.describe.serial("User Fed Kerberos tests", () => {

await goToUserFederation(page);
await clickUserFederationCard(page, firstKerberosName);
await expect(
page.getByTestId("config.allowedKerberosRealms0"),
).toHaveValue(firstAllowedRealm);
await expect(
page.getByTestId("config.allowedKerberosRealms1"),
).toHaveValue(secondAllowedRealm);
const input1 = page.getByTestId("config.allowedKerberosRealms0");
const input2 = page.getByTestId("config.allowedKerberosRealms1");
await expect(input1).toHaveValue(/\S+/);
await expect(input2).toHaveValue(/\S+/);
expect([await input1.inputValue(), await input2.inputValue()]).toEqual(
expect.arrayContaining([firstAllowedRealm, secondAllowedRealm]),
);
});

test("Should set cache policy to evict_daily", async ({ page }) => {
Expand Down
Loading
0