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 20, 2022
1 parent 8f6c74b commit a1b711b
Show file tree
Hide file tree
Showing 2 changed files with 5 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
4 changes: 3 additions & 1 deletion tests/Behat/features/element-editor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ 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"

@sboyd
Scenario: I can see the title and summary of each element
When I see a list of blocks
Then I should see a list of blocks
Expand Down

0 comments on commit a1b711b

Please sign in to comment.