Skip to content

Commit b28ab86

Browse files
committed
Update test for checkboxes and radios.
1 parent 5e34c67 commit b28ab86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/behat/features/styleguide.field.checkboxes.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Feature: Field, Checkboxes
8080
And I should see a ".ct-field.js-form-item-test-checkboxes-4 input[id='edit-test-checkboxes-4-option-5']" element
8181
And I should see a ".ct-field.js-form-item-test-checkboxes-4.ct-field--required input" element
8282
And I should not see a ".ct-field.js-form-item-test-checkboxes-4.ct-field--disabled input[disabled]" element
83-
And I should see a ".ct-field.js-form-item-test-checkboxes-4 .ct-field-message:contains('Field Checkboxes, Title hidden, no default value, description, required, error has an error ')" element
83+
And I should see a ".ct-field.js-form-item-test-checkboxes-4 .ct-field-message:contains('This is an error message')" element
8484

8585
# Validate: Checkboxes, Title visible, default value, no description, disabled
8686
And I should see an ".ct-field.js-form-item-test-checkboxes-5" element

tests/behat/features/styleguide.field.radios.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Feature: Field, Radios
8080
And I should see a ".ct-field.js-form-item-test-radios-4 input[id='edit-test-radios-4-option-5']" element
8181
And I should see a ".ct-field.js-form-item-test-radios-4 input[required]" element
8282
And I should not see a ".ct-field.js-form-item-test-radios-4 input[disabled]" element
83-
And I should see a ".ct-field.js-form-item-test-radios-4 .ct-field-message:contains('Field Radios, Title hidden, no default value, description, required, error has an error ')" element
83+
And I should see a ".ct-field.js-form-item-test-radios-4 .ct-field-message:contains('This is an error message')" element
8484

8585
# Validate: Radios, Title visible, default value, no description, disabled
8686
And I should see an ".ct-field.js-form-item-test-radios-5" element

0 commit comments

Comments
 (0)