Skip to content

Commit be00d4d

Browse files
Merge pull request #437 from creative-commoners/pulls/5/fix-behat
MNT Fix behat test
2 parents 554e680 + a806a8c commit be00d4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/behat/features/create-edit-linkfield.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Feature: Create Links in LinkField and MultiLinkField
118118
# open "folder1"
119119
And I click on the ".gallery__folders > :nth-child(1) label" element
120120
# select "file1"
121-
And I click on the ".gallery__files .gallery-item[role='button']" element
121+
And I click on the ".gallery__files .gallery-item" element
122122
And I press the "Insert" button
123123
And I press the "Create link" button
124124
And I wait for 2 seconds
@@ -199,7 +199,7 @@ Feature: Create Links in LinkField and MultiLinkField
199199
# open "folder1"
200200
And I click on the ".gallery__folders > :nth-child(1) label" element
201201
# select "file1"
202-
And I click on the ".gallery__files .gallery-item[role='button']" element
202+
And I click on the ".gallery__files .gallery-item" element
203203
# Resize screen so we have "insert file" instead of just "insert" - they're actually buttons for completely different forms.
204204
And I set the screen width to 700px
205205
And I press the "Insert file" button

0 commit comments

Comments
 (0)