|
@@ -1,8 +1,8 @@
|
|
|
@administration
|
|
|
-Feature: Access to company reports as admin
|
|
|
+Feature: Access to portal reports as admin
|
|
|
In order to analyse reports of time spent on the platform
|
|
|
As an administrator
|
|
|
- I need to be able to access the company reports
|
|
|
+ I need to be able to access the portal reports
|
|
|
|
|
|
Scenario: See the company reports link on the admin page
|
|
|
Given I am a platform administrator
|
|
@@ -18,3 +18,23 @@ Feature: Access to company reports as admin
|
|
|
Given I am a platform administrator
|
|
|
And I am on "/main/admin/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"
|
|
|
+ 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"
|
|
|
+ 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"
|
|
|
+ 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"
|
|
|
+ Then I should not see "not authorized"
|