mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-24 10:48:52 -05:00
Flaky realm overrides test (#42051)
* Fix flaky realm overrides test. Fixes #42018 Signed-off-by: Stan Silvert <ssilvert@redhat.com> * Change test order. Fixes #42018 Signed-off-by: Stan Silvert <ssilvert@redhat.com> --------- Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
@@ -52,6 +52,17 @@ test.describe("Go to localization tab", () => {
|
||||
await goToRealmOverridesSubTab(page);
|
||||
});
|
||||
|
||||
test("Realm Overrides - Search function", async ({ page }) => {
|
||||
await addBundle(page, "search", "321");
|
||||
await clickCreateButton(page);
|
||||
|
||||
await searchItem(page, "Search for translation", "321");
|
||||
await assertRowExists(page, "search");
|
||||
|
||||
await searchItem(page, "Search for translation", "not-found");
|
||||
await assertRowExists(page, "not-found", false);
|
||||
});
|
||||
|
||||
test("Realm Overrides - Add and delete bundle", async ({ page }) => {
|
||||
await addBundle(page, "bar", "123");
|
||||
await clickCreateButton(page);
|
||||
@@ -72,17 +83,6 @@ test.describe("Go to localization tab", () => {
|
||||
);
|
||||
});
|
||||
|
||||
test("Realm Overrides - Search for and delete bundle", async ({ page }) => {
|
||||
await addBundle(page, "search", "321");
|
||||
await clickCreateButton(page);
|
||||
|
||||
await searchItem(page, "Search for translation", "321");
|
||||
await assertRowExists(page, "search");
|
||||
|
||||
await searchItem(page, "Search for translation", "not-found");
|
||||
await assertRowExists(page, "not-found", false);
|
||||
});
|
||||
|
||||
test("Realm Overrides - Edit and cancel edit message bundle", async ({
|
||||
page,
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user