Skip to content

Commit

Permalink
Update HomePage.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-forina authored Aug 9, 2024
1 parent c1ea202 commit ae45b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/tests/playwright/HomePage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, test } from "@playwright/test";

test("Home page", async ({ page }) => {
await test.step("Column headings are present", async () => {
await page.goto("./home");
await page.goto("./");
const columnHeadings = await page.locator('table[aria-label="Kafka clusters"] thead th').evaluateAll((ths) =>
ths.map((th) => th.textContent?.trim()));
expect(columnHeadings).toContain("Name");
Expand Down

0 comments on commit ae45b2b

Please sign in to comment.