mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-06-25 22:19:42 +02:00
More resilient Behat checks for "page not found"
Wrapping in a step to capture cases where the ErrorPage defaults haven't been generated, and the default ModelAsController message shows which is slightly different wording.
This commit is contained in:
parent
595a0375e7
commit
0437c0597d
|
@ -10,7 +10,7 @@ So that only high quality changes are seen by our visitors
|
|||
@javascript
|
||||
Scenario: I can have a unpublished version of a page that is not publicly available
|
||||
Given I go to "/my-page"
|
||||
Then I should see "Page not found"
|
||||
Then the page can't be found
|
||||
|
||||
@javascript
|
||||
Scenario: I can publish a previously never published page
|
||||
|
@ -68,7 +68,7 @@ So that only high quality changes are seen by our visitors
|
|||
|
||||
Then I press the "Log out" button
|
||||
And I go to "/hello"
|
||||
Then I should see "Page not found"
|
||||
Then the page can't be found
|
||||
|
||||
@javascript
|
||||
Scenario: I can delete a page from live and draft stage to completely remove it
|
||||
|
|
Loading…
Reference in New Issue
Block a user