Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
idevat committed Oct 22, 2022
1 parent e0dd267 commit 9a64559
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/scenes/dashboard/dashboard.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ describe("Dashboard scene", () => {
await displayClusters();
const clusterInfoList = await page.$$eval(CLUSTERS, clusterElements =>
clusterElements.map(e => ({
name: e.querySelector("[data-test='name']")?.textContent ?? "",
name:
e.querySelector("[data-test='name'] strong")?.textContent?.trim()
?? "",
issuesTotal: e.querySelector("[data-test='issues']")?.textContent ?? "",
nodesTotal: e.querySelector("[data-test='nodes']")?.textContent ?? "",
resourcesTotal:
Expand Down

0 comments on commit 9a64559

Please sign in to comment.