mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Wait for key generation to finish. (#41684)
Fixes #41683 Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
parent
2d15033b47
commit
1af235c4f1
@ -79,7 +79,12 @@ export async function clickOffEncryptionAssertions(page: Page) {
|
||||
}
|
||||
|
||||
export async function clickGenerate(page: Page) {
|
||||
const responsePromise = page.waitForResponse(
|
||||
(res) => res.url().includes("/generate") && res.status() === 200,
|
||||
{ timeout: 10000 },
|
||||
);
|
||||
await page.getByTestId("generate").click();
|
||||
await responsePromise;
|
||||
}
|
||||
|
||||
export async function assertNameIdFormatDropdown(page: Page) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user