Skip to content

Commit ea6a8c8

Browse files
Merge pull request #1255 from creative-commoners/pulls/5.15/behat
MNT Fix behat test
2 parents 95531e7 + eae7c5d commit ea6a8c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/behat/features/userforms.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ Feature: Userforms
5050
And I fill in "Form_Fields_GridFieldEditableColumns_7_Title" with "My upload field"
5151
# Weird behat limitation where the only the select field on the first row is selectable
5252
And I drag the ".ss-gridfield-item[data-id='7'] .handle" element to the ".ss-gridfield-item[data-id='2'] .handle" element
53-
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_7_ClassName" field
53+
And I wait for 1 seconds
5454
# Click save on the file upload modal to use the default "Form-submissions" folder
55-
And I press the "Save and continue" button
56-
And I wait for 5 seconds
5755
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_7_ClassName" field
5856
And I press the "Save and continue" button
59-
And I wait for 5 seconds
57+
And I wait for 2 seconds
6058
And I press the "Publish" button
59+
And I wait for 5 seconds
6160

6261
# Edit My textfield 3
6362
When I click on the ".ss-gridfield-item[data-id='6'] .edit-link" element
@@ -68,6 +67,7 @@ Feature: Userforms
6867

6968
# Drag and drop my text field 2 to Page Two
7069
Then I drag the ".ss-gridfield-item[data-id='4'] .handle" element to the ".ss-gridfield-item[data-id='6'] .handle" element
70+
And I wait for 1 seconds
7171
And I press the "Publish" button
7272
And I wait for 5 seconds
7373

0 commit comments

Comments
 (0)