Skip to content

Commit

Permalink
fix: [e2e-tests] - fix verify TLS configuration with external Postgre…
Browse files Browse the repository at this point in the history
…s DB test case (#2105)

* add retry

* add retry
  • Loading branch information
albarbaro authored Dec 13, 2024
1 parent e3e7586 commit a2c8781
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { test } from "@playwright/test";
import { test, expect } from "@playwright/test";
import { UIhelper } from "../utils/ui-helper";
import { Common } from "../utils/common";

Expand All @@ -13,7 +13,12 @@ test.describe("Verify TLS configuration with external Postgres DB", () => {
await uiHelper.verifyText("Quick Access");
await page.getByLabel("Catalog").click();
await uiHelper.selectMuiBox("Kind", "Component");
await uiHelper.clickByDataTestId("user-picker-all");
await uiHelper.verifyRowsInTable(["test-rhdh-qe-2-team-owned"]);
await expect(async () => {
await uiHelper.clickByDataTestId("user-picker-all");
await uiHelper.verifyRowsInTable(["test-rhdh-qe-2-team-owned"]);
}).toPass({
intervals: [1_000, 2_000],
timeout: 15_000,
});
});
});

0 comments on commit a2c8781

Please sign in to comment.