Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-side-navigation): "Space" key triggers links #10767

Merged
merged 8 commits into from
Feb 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: fix test
LidiyaGeorgieva committed Feb 7, 2025
commit 454646106f8c7ff298549cf1bc2b6f87c364158b
5 changes: 2 additions & 3 deletions packages/fiori/cypress/specs/SideNavigation.cy.tsx
Original file line number Diff line number Diff line change
@@ -379,12 +379,11 @@ describe("Side Navigation interaction", () => {

cy.get("#focusStart").realClick();
cy.realPress("ArrowDown");
cy.realPress("Space");
cy.get("#linkItem").should("be.focused");

// act
cy.focused().trigger("keydown", {
key: "Enter",
cy.focused().trigger("keyup", {
key: " ",
});

cy.url().should("include", "#test");