silverstripe-cms/tests/behat/features/view-reports.feature

19 lines
649 B
Gherkin
Raw Normal View History

Feature: View Reports
As an author
I want to review aggregate reports on pages
So that I can keep an overview on the health of my website data
Background:
Given a "page" "Empty Page"
2016-02-15 02:58:24 +01:00
And a "page" "Filled Page" with "Content"="<p>Some Content</p>"
And I am logged in with "ADMIN" permissions
And I go to "/admin/reports"
2020-07-08 03:50:47 +02:00
Scenario: I can view the "Pages without content" report
When I follow "Pages without content"
Then I should see "Empty Page"
But I should not see "Filled Page"
When I follow "Empty Page"
Then I should see an edit page form
2016-02-15 02:58:24 +01:00
And the "Page name" field should contain "Empty Page"