Skip to content

Commit b68cc2f

Browse files
committed
Update checkboxes test for change in uikit.
1 parent ffe8615 commit b68cc2f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Feature: Field, Checkboxes
1919
And I should see a ".ct-field.js-form-item-test-checkboxes-1 input[id='edit-test-checkboxes-1-option-3']" element
2020
And I should see a ".ct-field.js-form-item-test-checkboxes-1 input[id='edit-test-checkboxes-1-option-4']" element
2121
And I should see a ".ct-field.js-form-item-test-checkboxes-1 input[id='edit-test-checkboxes-1-option-5']" element
22-
And I should not see a ".ct-field.js-form-item-test-checkboxes-1 input[required]" element
22+
And I should not see a ".ct-field.js-form-item-test-checkboxes-1.ct-field--required input" element
2323
And I should not see a ".ct-field.js-form-item-test-checkboxes-1 input[disabled]" element
2424

2525
# Validate: Checkboxes, Title visible, default value, no description, no error, required, with attributes
@@ -49,8 +49,8 @@ Feature: Field, Checkboxes
4949
And I should see a ".ct-field.js-form-item-test-checkboxes-2 input[id='edit-test-checkboxes-2-option-5']" element
5050
And I should see a ".ct-field.js-form-item-test-checkboxes-2 input[id='edit-test-checkboxes-2-option-5'][data-test='test-attribute-value']" element
5151
And I should see a ".ct-field.js-form-item-test-checkboxes-2 input[id='edit-test-checkboxes-2-option-5'].test-class" element
52-
And I should see a ".ct-field.js-form-item-test-checkboxes-2 input[required]" element
53-
And I should not see a ".ct-field.js-form-item-test-checkboxes-2 input[disabled]" element
52+
And I should see a ".ct-field.js-form-item-test-checkboxes-2.ct-field--required input" element
53+
And I should not see a ".ct-field.js-form-item-test-checkboxes-2.ct-field--disabled input[disabled]" element
5454

5555
# Validate: Checkboxes, Title visually hidden, default value, description, no error
5656
And I should see an ".ct-field.js-form-item-test-checkboxes-3" element
@@ -64,8 +64,8 @@ Feature: Field, Checkboxes
6464
And I should see a ".ct-field.js-form-item-test-checkboxes-3 input[id='edit-test-checkboxes-3-option-3']" element
6565
And I should see a ".ct-field.js-form-item-test-checkboxes-3 input[id='edit-test-checkboxes-3-option-4']" element
6666
And I should see a ".ct-field.js-form-item-test-checkboxes-3 input[id='edit-test-checkboxes-3-option-5']" element
67-
And I should not see a ".ct-field.js-form-item-test-checkboxes-3 input[required]" element
68-
And I should not see a ".ct-field.js-form-item-test-checkboxes-3 input[disabled]" element
67+
And I should not see a ".ct-field.js-form-item-test-checkboxes-3.ct-field--required input" element
68+
And I should not see a ".ct-field.js-form-item-test-checkboxes-3.ct-field--disabled input[disabled]" element
6969

7070
# Validate: Checkboxes, Title hidden, no default value, description, required, error
7171
And I should see an ".ct-field.js-form-item-test-checkboxes-4" element
@@ -78,8 +78,8 @@ Feature: Field, Checkboxes
7878
And I should see a ".ct-field.js-form-item-test-checkboxes-4 input[id='edit-test-checkboxes-4-option-3']" element
7979
And I should see a ".ct-field.js-form-item-test-checkboxes-4 input[id='edit-test-checkboxes-4-option-4']" element
8080
And I should see a ".ct-field.js-form-item-test-checkboxes-4 input[id='edit-test-checkboxes-4-option-5']" element
81-
And I should see a ".ct-field.js-form-item-test-checkboxes-4 input[required]" element
82-
And I should not see a ".ct-field.js-form-item-test-checkboxes-4 input[disabled]" element
81+
And I should see a ".ct-field.js-form-item-test-checkboxes-4.ct-field--required input" element
82+
And I should not see a ".ct-field.js-form-item-test-checkboxes-4.ct-field--disabled input[disabled]" element
8383
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
@@ -94,5 +94,5 @@ Feature: Field, Checkboxes
9494
And I should see a ".ct-field.js-form-item-test-checkboxes-5 input[id='edit-test-checkboxes-5-option-3']" element
9595
And I should see a ".ct-field.js-form-item-test-checkboxes-5 input[id='edit-test-checkboxes-5-option-4']" element
9696
And I should see a ".ct-field.js-form-item-test-checkboxes-5 input[id='edit-test-checkboxes-5-option-5']" element
97-
And I should not see a ".ct-field.js-form-item-test-checkboxes-5 input[required]" element
98-
And I should see a ".ct-field.js-form-item-test-checkboxes-5 input[disabled]" element
97+
And I should not see a ".ct-field.js-form-item-test-checkboxes-5.ct-field--required input" element
98+
And I should see a ".ct-field.js-form-item-test-checkboxes-5.ct-field--disabled input[disabled]" element

0 commit comments

Comments
 (0)