From c0cd84267693ba021da99a55f9f8cbe5a874c0ea Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 12 Nov 2024 13:25:03 +1300 Subject: [PATCH] MNT Update unit test --- tests/behat/features/validation.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/behat/features/validation.feature b/tests/behat/features/validation.feature index 468b9c19c..535dbb734 100644 --- a/tests/behat/features/validation.feature +++ b/tests/behat/features/validation.feature @@ -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@example.com" 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"