Skip to content

Commit

Permalink
test(e2e): update mantine's form fill command to delay in textareas (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir authored Jan 2, 2024
1 parent 124a035 commit 7a3dd6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/support/commands/mantine/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export const fillMantineForm = () => {
cy.get("#title").clear().type(mockPost.title);
cy.get("#content textarea")
.clear({ force: true })
.type(mockPost.content);
.type(mockPost.content, {
delay: 32,
});
cy.get("#status").click().get("#status-0").click();
cy.get("#categoryId").clear().get("#categoryId-1").click();
});
Expand Down

0 comments on commit 7a3dd6a

Please sign in to comment.