|
|
|
@@ -22,6 +22,9 @@ describe("Add ad modals ui tests", () => { |
|
|
|
isChecked: true, |
|
|
|
}, |
|
|
|
], |
|
|
|
startingDate: "", |
|
|
|
endingDate: "", |
|
|
|
typesOfEmployments: [], |
|
|
|
}; |
|
|
|
|
|
|
|
const cont = ( |
|
|
|
@@ -66,14 +69,4 @@ describe("Add ad modals ui tests", () => { |
|
|
|
expect(btn).toBeDefined(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
it("Should change ending date", async () => { |
|
|
|
render(cont); |
|
|
|
const input = screen.getByTestId("filter-date-container-ending-date"); |
|
|
|
|
|
|
|
waitFor(() => { |
|
|
|
fireEvent.change(input, { target: { value: "2024-05-24" } }); |
|
|
|
expect(input).toBeDefined(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |