Fix flaky org test. (#41753)

Fixes #41752

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
Stan Silvert
2025-08-08 08:34:54 -04:00
committed by GitHub
parent ec35c02392
commit cb3d59a48c

View File

@@ -77,6 +77,10 @@ test.describe("Organization CRUD", () => {
test("should modify existing organization", async ({ page }) => {
await clickTableRowItem(page, orgName);
// This waits for the field to be filled before we clear and fill it with a new value
await expect(getNameField(page)).toHaveValue(orgName);
const newValue = "newName";
await fillNameField(page, newValue);
await expect(getNameField(page)).toHaveValue(newValue);