Merge pull request #1269 from creative-commoners/pulls/5.15/fix-behat

MNT Fix behat test that was relying on a bug
This commit is contained in:
Sabina Talipova 2024-02-29 12:41:12 +13:00 committed by GitHub
commit e7b3c9795d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@ Feature: Userforms
And I fill in "Options[GridFieldAddNewInlineButton][2][Value]" with "2" And I fill in "Options[GridFieldAddNewInlineButton][2][Value]" with "2"
And I press the "Save" button And I press the "Save" button
And I follow "My userform" And I follow "My userform"
And I click the "Form Fields" CMS tab
# Create textfields # Create textfields
And I press the "Add Field" button And I press the "Add Field" button
@ -64,6 +65,7 @@ Feature: Userforms
And I check "Is this field Required?" And I check "Is this field Required?"
And I press the "Save" button And I press the "Save" button
And I follow "My userform" And I follow "My userform"
And I click the "Form Fields" CMS tab
# Drag and drop my text field 2 to Page Two # Drag and drop my text field 2 to Page Two
Then I drag the ".ss-gridfield-item[data-id='4'] .handle" element to the ".ss-gridfield-item[data-id='6'] .handle" element Then I drag the ".ss-gridfield-item[data-id='4'] .handle" element to the ".ss-gridfield-item[data-id='6'] .handle" element