Skip to content

Commit

Permalink
MNT Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 27, 2024
1 parent 6859088 commit 86b9205
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 86b9205

Please sign in to comment.