2013-10-21 09:33:45 +02:00
|
|
|
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>"
|
2022-09-05 22:44:46 +02:00
|
|
|
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
|
2013-10-21 09:33:45 +02:00
|
|
|
And I go to "/admin/reports"
|
|
|
|
|
2020-11-06 01:02:50 +01:00
|
|
|
Scenario: I can view the "Pages with no content" report
|
2020-12-09 02:34:16 +01:00
|
|
|
When I follow "Pages without content"
|
2013-10-21 09:33:45 +02:00
|
|
|
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"
|