Skip to content

Commit

Permalink
test: check application aria is same with current date
Browse files Browse the repository at this point in the history
  • Loading branch information
KumJungMin committed May 27, 2024
1 parent 77ce798 commit 56207f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ describe("DatePicker", () => {

expect(dialog).toBeVisible();

expect(getTextValue(combobox)).toBe("5/1/2024");
const content = getByRole("application");

expect(content).toHaveAttribute("aria-label", "May 2024");
});
});
});

0 comments on commit 56207f4

Please sign in to comment.