Skip to content

Commit b515dc3

Browse files
committed
test(Page): add Cypress test for hash navigation behavior
1 parent 6afd47b commit b515dc3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
describe("Page hash navigation", () => {
2+
it("scrolls to element when hash is present", () => {
3+
cy.visit("/concepts/entry-points/#single-entry-shorthand");
4+
5+
cy.get("#single-entry-shorthand").should("exist");
6+
});
7+
});

0 commit comments

Comments
 (0)