Skip to content

Commit 23cd2be

Browse files
committed
e2e: Fix db console cypress tests after "Top Ranges" name change
PR #149713 updated the "Hot Ranges" page name to "Top Ranges". This caused the db console cypress roach tests to start failing. Now, we look for either "Hot Ranges" or "Top Ranges". This is to ensure that the mixed version tests continue to pass, which still call the page "Hot Ranges" Resolves: #149865 Epic: None Release note: None
1 parent e074bcf commit 23cd2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ui/workspaces/e2e-tests/cypress/e2e/health-check/authenticated.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("health check: authenticated user", () => {
3434
cy.findByRole("link", { name: "Metrics" });
3535
cy.findByRole("link", { name: "Databases" });
3636
cy.findByRole("link", { name: "SQL Activity" });
37-
cy.findByRole("link", { name: "Hot Ranges" });
37+
cy.findByRole("link", { name: /^(Hot|Top) Ranges$/ });
3838
cy.findByRole("link", { name: "Jobs" });
3939
cy.findByRole("link", { name: "Advanced Debug" });
4040
});

0 commit comments

Comments
 (0)