Skip to content

Commit

Permalink
MNT Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Nov 28, 2023
1 parent 62b4a59 commit 2c8aa2f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tests/behat/features/userforms.feature
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,19 @@ Feature: Userforms
And I press the "Save" button
When I press the "Add Page Break" button
And I press the "Add Field" button
And I press the "Add Field" button
And I fill in "Form_Fields_GridFieldEditableColumns_5_Title" with "Second Page"
When I fill in "Form_Fields_GridFieldEditableColumns_6_Title" with "My textfield 3"
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
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_7_ClassName" field
And I fill in "Form_Fields_GridFieldEditableColumns_5_Title" with "My upload field"
And I select "File Upload Field" from the "Form_Fields_GridFieldEditableColumns_5_ClassName" field
# 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 press the "Add Field" button
And I fill in "Form_Fields_GridFieldEditableColumns_6_Title" with "Second Page"
When I fill in "Form_Fields_GridFieldEditableColumns_7_Title" with "My textfield 3"

# 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

And I should see "Some text"
And I press the "Save" button

# Edit My textfield 3
Expand Down

0 comments on commit 2c8aa2f

Please sign in to comment.