-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbb0487
commit 73842b4
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|