Skip to content

Commit

Permalink
Merge branch '5' into 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 6, 2023
2 parents 1e2c4e8 + 92c83d2 commit 8cf7f90
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/behat/features/userforms.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,13 @@ Feature: Userforms
And I fill in "Form_Fields_GridFieldEditableColumns_7_Title" with "My upload field"
# Weird behat limitation where the only the select field on the first row is selectable
And I drag the ".ss-gridfield-item[data-id='7'] .handle" element to the ".ss-gridfield-item[data-id='2'] .handle" element
# Behat sometimes messes up and doesn't correctly select the upload field if you don't give it a beat after reordering
And I wait for 2 seconds
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_7_ClassName" field
And I wait for 1 seconds
# Click save on the file upload modal to use the default "Form-submissions" folder
And I press the "Save and continue" button
And I wait for 5 seconds
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_7_ClassName" field
And I press the "Save and continue" button
And I wait for 5 seconds
And I wait for 2 seconds
And I press the "Publish" button
And I wait for 5 seconds

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

# 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
And I wait for 1 seconds
And I press the "Publish" button
And I dismiss all toasts

Expand Down

0 comments on commit 8cf7f90

Please sign in to comment.