mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1869 from open-sausages/pulls/4.0/fix-behat
BUG Don’t click hidden button
This commit is contained in:
commit
755289b8cd
@ -20,7 +20,7 @@ Feature: Publish a page
|
|||||||
And I click on "My Page" in the tree
|
And I click on "My Page" in the tree
|
||||||
And I press the "Save & publish" button
|
And I press the "Save & publish" button
|
||||||
|
|
||||||
Then I press the "Log out" button
|
Then I am not logged in
|
||||||
And I go to "/my-page"
|
And I go to "/my-page"
|
||||||
|
|
||||||
Then I should see "initial content"
|
Then I should see "initial content"
|
||||||
@ -66,7 +66,7 @@ Feature: Publish a page
|
|||||||
When I click "More options" in the "#ActionMenus" element
|
When I click "More options" in the "#ActionMenus" element
|
||||||
And I press the "Unpublish" button, confirming the dialog
|
And I press the "Unpublish" button, confirming the dialog
|
||||||
|
|
||||||
Then I press the "Log out" button
|
Then I am not logged in
|
||||||
And I go to "/hello"
|
And I go to "/hello"
|
||||||
Then the page can't be found
|
Then the page can't be found
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user