Skip to content

Commit

Permalink
fix: validate before testing for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Nov 12, 2024
1 parent a072b6e commit a11d304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/test-app/cypress/integration/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ describe("Validation", () => {

it("should use native validation api when using useNativeValidityForForm", () => {
cy.visit("/validation-native").waitForJs();
cy.findByText("Submit").click();

cy.findByLabelText("First Name")
.invoke("prop", "validationMessage")
Expand Down

0 comments on commit a11d304

Please sign in to comment.