Skip to content

Commit 8acf7f1

Browse files
craig[bot]kyle-a-wong
andcommitted
Merge #149917
149917: e2e: Fix db console cypress tests after "Top Ranges" name change r=kyle-a-wong a=kyle-a-wong 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 Co-authored-by: Kyle Wong <[email protected]>
2 parents 9b7bfc2 + 23cd2be commit 8acf7f1

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)