mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
20 lines
761 B
Gherkin
20 lines
761 B
Gherkin
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"
|
|
And a "page" "Filled Page" with "Content"="<p>Some Content</p>"
|
|
And the "group" "EDITOR" has permissions "Access to 'Pages' section" and "Access to 'Reports' section"
|
|
And I am logged in as a member of "EDITOR" group
|
|
And I go to "/admin/reports"
|
|
|
|
Scenario: I can view the "Pages with no 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
|
|
And the "Page name" field should contain "Empty Page"
|