Skip to content

Commit

Permalink
FIX Update Behat tests as action menu closes once items clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
raissanorth committed Sep 25, 2018
1 parent 5f1d92d commit d937538
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/Behat/features/publish-block-element.feature
Expand Up @@ -28,5 +28,6 @@ Feature: Publish elements in the CMS
Then I should see a "Published 'Block A' successfully" notice
# Behat's assertion is faster than React's rendering
When I wait 1 second
And I press the "View actions" button
Then I should see the unpublish button for block 1
But I should not see the publish button for block 1
2 changes: 1 addition & 1 deletion tests/Behat/features/unpublish-block-element.feature
Expand Up @@ -26,10 +26,10 @@ Feature: Unpublish elements in the CMS
When I press the "Publish" button
# Behat's assertion is faster than React's rendering
And I wait 1 second
And I press the "View actions" button
Then I should see the unpublish button for block 1
But I should not see the publish button for block 1
When I press the "Unpublish" button
And I wait 1 second
Then I should see a "Removed 'Block A' from the published page" notice


0 comments on commit d937538

Please sign in to comment.