Skip to content

Commit

Permalink
MNT Fix behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 21, 2022
1 parent 8f6c74b commit cae2eb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/Behat/features/block-link-field.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Feature: Add link to banner block
And a "image" "Uploads/folder1/file1.jpg"
And a "page" "Blocks Page" with a "Alice's Block" banner element with "Alice's sample content" content
Given I am logged in with "ADMIN" permissions
And I go to "/admin/pages/edit/show/6"
And I go to "/admin/pages"
And I click on "Blocks Page" in the tree
And I wait until I see the ".element-editor__element" element
Then I should see "Alice's Block"

Expand Down
3 changes: 2 additions & 1 deletion tests/Behat/features/element-editor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Feature: Manage banner blocks
Given I am logged in with "ADMIN" permissions
# Replace with 'And I click "Blocks Page" in the ".breadcrumbs-wrapper" element' once the ElementalArea refreshes,
# See https://github.com/dnadesign/silverstripe-elemental/issues/320
And I go to "/admin/pages/edit/show/6"
And I go to "/admin/pages"
And I click on "Blocks Page" in the tree
And I wait until I see the ".element-editor__element" element
Then I should see "Alice's Block"

Expand Down

0 comments on commit cae2eb0

Please sign in to comment.