Merge branch 'develop' into fix-tab

This commit is contained in:
Shariq Ansari 2023-01-05 17:02:33 +05:30 committed by GitHub
commit 8fab9e8b1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ context("Date Control", () => {
});
}
it("Selecting a date from the datepicker", () => {
it("Selecting a date from the datepicker & check prev & next button", () => {
cy.clear_dialogs();
cy.clear_datepickers();
@ -39,13 +39,7 @@ context("Date Control", () => {
// Verify if the selected date is set the date field
cy.window().its("cur_dialog.fields_dict.date.value").should("be.equal", "2020-01-15");
});
it("Checking next and previous button", () => {
cy.clear_dialogs();
cy.clear_datepickers();
get_dialog({ default: "2020-01-15" }).as("dialog");
cy.get_field("date", "Date").click();
//Clicking on the next button in the datepicker