Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Sep 12, 2024
1 parent 0f9f423 commit ce5f925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cypress/e2e/external_results_spec/filter.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ describe("External Results Filters", () => {
cy.get("div[id='date-1']").click();
cy.get("div[id='date-8']").click();
cy.contains("Apply").click();
cy.get("[data-test-id='slide-over-container']").click(0, 0);
});

afterEach(() => {
Expand Down
4 changes: 2 additions & 2 deletions cypress/pageobject/Shift/ShiftFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ class ShiftingPage {
modified_date_end: string,
) {
this.createdDateStartInput().click();
cy.get("[data-test-id='increment-date-range']").filter(":visible").click();
cy.get("[data-test-id='increment-date-range']").click();
cy.get(created_date_start).click();
cy.get(created_date_end).click();

this.modifiedDateStartInput().click();
cy.get("[data-test-id='increment-date-range']").filter(":visible").click();
cy.get("[data-test-id='increment-date-range']").click();
cy.get(modified_date_start).click();
cy.get(modified_date_end).click();

Expand Down

0 comments on commit ce5f925

Please sign in to comment.