Skip to content

Commit

Permalink
Merge pull request #1849 from creative-commoners/pulls/3/form-field-v…
Browse files Browse the repository at this point in the history
…alid

MNT Update unit test
  • Loading branch information
GuySartorelli authored Dec 2, 2024
2 parents 00061b1 + 1595b4c commit 176b051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/behat/features/validation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Feature: Form validation
And I fill in "Email" with "invalid email"
And I press the "Create" button
Then I should not see "Saved Employee"
And I should see "Please enter an email address"
And I should see "Invalid email address"

When I fill in "Email" with "[email protected]"
And I press the "Create" button
Then I should see "Saved Employee"
And I should not see "Please enter an email address"
And I should not see "Invalid email address"

Scenario: Validation in GridField highlights the tab where the error is
Given I go to "/admin/test/SilverStripe-FrameworkTest-Model-Company"
Expand Down

0 comments on commit 176b051

Please sign in to comment.