Skip to content

Commit 83469b1

Browse files
authored
Merge branch 'main' into stepinput-scroll
2 parents 6e4a979 + 2f8150d commit 83469b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ describe("Date Picker Tests", () => {
917917
cy.get("[ui5-date-picker]")
918918
.as("datePicker")
919919
.ui5DatePickerGetInnerInput()
920-
.should("have.attr", "placeholder", "e.g. Dec 31, 2025");
920+
.should("have.attr", "placeholder", `e.g. Dec 31, ${new Date().getFullYear()}`);
921921

922922
cy.get<DatePicker>("@datePicker")
923923
.should("not.have.attr", "placeholder");
@@ -2018,4 +2018,4 @@ describe("CSS Parts", () => {
20182018
.find("[ui5-datetime-input]")
20192019
.should("have.attr", "part", "input");
20202020
});
2021-
});
2021+
});

0 commit comments

Comments
 (0)