We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 641fac8 commit 99faaa8Copy full SHA for 99faaa8
packages/main/cypress/specs/Link.cy.tsx
@@ -1,5 +1,21 @@
1
import Link from "../../src/Link.js";
2
3
+describe("Main functionality", () => {
4
+ it("clicking the link works", () => {
5
+ cy.mount(<Link href="#test">Click me</Link>);
6
+
7
+ cy.url().should("not.include", "#test");
8
9
+ cy.get("[ui5-link]")
10
+ .shadow()
11
+ .find("a")
12
+ .as("link")
13
+ .realClick();
14
15
+ cy.url().should("include", "#test");
16
+ });
17
+});
18
19
describe("Accessibility", () => {
20
it("setting accessible-description is applied to button tag", () => {
21
cy.mount(<Link accessibleDescription="A long description."></Link>);
0 commit comments