Skip to content

Commit 418abd1

Browse files
committed
test: add assert
1 parent 18bd963 commit 418abd1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/main/cypress/specs/Calendar.cy.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ describe("Calendar general interaction", () => {
6969

7070
cy.get("@calheader")
7171
.find("[data-ui5-cal-header-btn-prev]")
72-
.as("prevBtn");
72+
.as("prevBtn")
73+
.should("have.attr", "tabindex", "0");
7374

7475
cy.get("@prevBtn")
7576
.should("be.focused");
@@ -78,7 +79,8 @@ describe("Calendar general interaction", () => {
7879

7980
cy.get("@calheader")
8081
.find("[data-ui5-cal-header-btn-month]")
81-
.as("monthBtn");
82+
.as("monthBtn")
83+
.should("have.attr", "tabindex", "0");;
8284

8385
cy.get("@monthBtn")
8486
.should("be.focused");

0 commit comments

Comments
 (0)