Skip to content

Commit

Permalink
chore: E2E fix the last tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Jan 30, 2025
1 parent 1476805 commit 770ae7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/cypress/support/registerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ export const register = () => {
Cypress.Commands.add(
'chooseDatePicker',
(selector: string, value: string) => {
cy.get(selector).find('input').clear().type(value);
cy.get(selector)
.find('input')
.clear({ force: true })
.type(value, { force: true });
}
);
};

0 comments on commit 770ae7a

Please sign in to comment.