Skip to content

Commit 277ab0e

Browse files
authored
Merge pull request #13030 from pcenov/0.18-gherkins-2
0.18 New Gherkin scenarios and corrections
2 parents 413c795 + 05d61fb commit 277ab0e

20 files changed

+840
-681
lines changed

integration_testing/018-features/coach/learners/coach-learners.feature

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ Feature: Learners
33
Background:
44
Given I am signed in to Kolibri as a super admin or a coach
55
And I am at the *Coach - '<class>' > Learners* page
6+
And there are learners who have interacted with and completed lessons and quizzes
67

78
Scenario: Learners page overview
89
When I look at the *Learners* page
9-
Then I see the *Learners* title and class info
10+
Then I see the *Learners* title and class name
1011
And I see the filter by recipients, *View learner devices* link, *Print report* and *Export as CSV* icons
1112
And I see a table with all of the learners with the following columns: *Name*, *Groups*, *Average score*, *Exercises completed*, *Resources viewed*, *Last activity*
1213

@@ -18,14 +19,31 @@ Feature: Learners
1819
And I see the *Lessons completed*, *Average quiz score*, *Exercises completed* and *Resources viewed* cards
1920
And I see the *Lessons assigned* and *Quizzes assigned* sections with a separate *Export as CSV* icon for each
2021

22+
Scenario: Review the progress on a lesson assigned to a learner
23+
Given I am at the learner's details page
24+
And there are lessons assigned to the learner
25+
And the learner has interacted with resources from the lesson
26+
When I click on the title of a lesson
27+
Then I see a table with all of the lesson resources and the following columns: *Title*, *Progress* and *Time spent*
28+
And in the top right corner I see a *Print report* and *Export CSV* icons
29+
2130
Scenario: Review the progress on a quiz assigned to a learner
2231
Given I am at the learner's details page
2332
And there are quizzes assigned to the learner
33+
And the learner has started or completed a quiz
2434
When I click on the title of a quiz
2535
Then I see the quiz report page for the learner
2636

27-
Scenario: Review the progress on a lesson assigned to a learner
28-
Given I am at the learner's details page
29-
And there are lessons assigned to the learner
30-
When I click on the title of a lesson
31-
Then I see the lesson report page for the learner
37+
Scenario: Coach can export a CSV file for the assigned lessons and quizzes
38+
Given I am at the learner's details page
39+
And there are lessons and quizzes assigned to the learner
40+
And the learner has interacted with resources from the lesson
41+
And the learner has started or completed a quiz
42+
When I click the *Export as CSV* icon next to the *Lessons assigned* label
43+
And I save the exported CSV file to the device
44+
And I open the CSV file to see the data
45+
Then I see a CSV file containing the following columns: *Title*, *Progress*
46+
When I click the *Export as CSV* icon next to the *Quizzes assigned* label
47+
And I save the exported CSV file to the device
48+
And I open the CSV file to see the data
49+
Then I see a CSV file containing the following columns: *Title*, *Progress*, *Score*

integration_testing/018-features/coach/lessons/coach-adds-or-removes-bookmarked-resources-to-lesson.feature

Lines changed: 0 additions & 49 deletions
This file was deleted.

integration_testing/018-features/coach/lessons/coach-adds-practice-quiz-to-lesson.feature

Lines changed: 0 additions & 15 deletions
This file was deleted.

integration_testing/018-features/coach/lessons/coach-copy-lesson.feature

Lines changed: 0 additions & 47 deletions
This file was deleted.

integration_testing/018-features/coach/lessons/coach-create-lesson.feature

Lines changed: 0 additions & 168 deletions
This file was deleted.

integration_testing/018-features/coach/lessons/coach-delete-lesson.feature

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)