Skip to content

Commit

Permalink
test(date-picker): removing describe.only and skipped test missed in …
Browse files Browse the repository at this point in the history
…PR for #9422 (#9555)

**Related Issue:** #9422 

## Summary

This PR removes a skipped test change and a `describe.only` test.
  • Loading branch information
eriklharper committed Jun 11, 2024
1 parent 26be088 commit 4d7089d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ describe("calcite-date-picker", () => {
expect(await datePicker.getProperty("value")).toEqual("2024-02-08");
});

it.skip("should be able to navigate between months and select date using arrow keys and page keys in range", async () => {
it("should be able to navigate between months and select date using arrow keys and page keys in range", async () => {
const page = await newE2EPage();
await page.setContent("<calcite-date-picker range></calcite-date-picker>");
await page.waitForChanges();
Expand Down Expand Up @@ -566,8 +566,7 @@ describe("calcite-date-picker", () => {
expect(await datePicker.getProperty("value")).toEqual(["2020-09-15", "2020-09-30"]);
});

describe.only("cross-century date values", () => {

describe("cross-century date values", () => {
async function assertCenturyDateValue(year: number, timezone?: string) {
const initialValue = `${year}-03-12`;
const page = await newE2EPage();
Expand Down Expand Up @@ -596,7 +595,7 @@ describe("calcite-date-picker", () => {

it("sets value to the selected day in the 1800s", async () => {
await assertCenturyDateValue(1850);
});
});

it("sets value to the selected day in the 1700s", async () => {
await assertCenturyDateValue(1750);
Expand Down

0 comments on commit 4d7089d

Please sign in to comment.