Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Fix behat test #89

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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