|
|
|
@ -4,37 +4,33 @@ Feature: Access to portal reports as admin |
|
|
|
|
As an administrator |
|
|
|
|
I need to be able to access the portal reports |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Background: |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/admin/index.php" |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Given I am on "/main/admin/index.php" |
|
|
|
|
Then I should see "Reports" |
|
|
|
|
|
|
|
|
|
Scenario: Access the company report |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/mySpace/company_reports.php" |
|
|
|
|
Given I am on "/main/mySpace/company_reports.php" |
|
|
|
|
Then I should not see "not authorized" |
|
|
|
|
|
|
|
|
|
Scenario: Access the resumed version of the company report |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/mySpace/company_reports_resumed.php" |
|
|
|
|
Given I am on "/main/mySpace/company_reports_resumed.php" |
|
|
|
|
Then I should not see "not authorized" |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/admin/teacher_time_report.php" |
|
|
|
|
Given I am on "/main/admin/teacher_time_report.php" |
|
|
|
|
Then I should see "Teachers time report" |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/admin/teacher_time_report.php" |
|
|
|
|
Given I am on "/main/admin/teacher_time_report.php" |
|
|
|
|
Then I should not see "not authorized" |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/admin/teachers_time_by_session_report.php" |
|
|
|
|
Given I am on "/main/admin/teachers_time_by_session_report.php" |
|
|
|
|
Then I should see "Teachers time report by session" |
|
|
|
|
|
|
|
|
|
Scenario: See the company reports link on the admin page |
|
|
|
|
Given I am a platform administrator |
|
|
|
|
And I am on "/main/admin/teachers_time_by_session_report.php" |
|
|
|
|
Given I am on "/main/admin/teachers_time_by_session_report.php" |
|
|
|
|
Then I should not see "not authorized" |