-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release-v0.12.y' into consistent…
…-modals
- Loading branch information
Showing
153 changed files
with
4,816 additions
and
1,779 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
integration_testing/features/coach/coach-edit-lesson-from-report.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# START testing this scenario with a FRESH DB (make a copy of the current if you want to reuse it later), and use the `kolibri manage importusers your-csv-file.csv` command to import a set of users for this case. | ||
|
||
Feature: Edit lesson details and manage resources from the lesson *Report* tab | ||
Class and facility coaches need to be able to edit details and manage resources directly from the *Report* tab | ||
|
||
Background: | ||
Given I am signed in to Kolibri as a class or facility coach | ||
And I have created a <lesson> lesson in a class <class> | ||
And the <lesson> lesson contains one or more resources | ||
And the <lesson> lesson is either inactive, or active and assigned to some learner(s) | ||
And I am on the report page for <lesson> | ||
|
||
Scenario: Lesson details can be edited from the Lesson report page | ||
When I click the *Options* dropdown menu | ||
And I select the *Edit details* option | ||
Then I see the *Edit details dialogue for '<lesson>'* | ||
And I see form fields for editing the title, description, status, and recipients (in that order) | ||
And I see a *Resources* section where I can reorder, remove, and preview resources in <lesson> | ||
When I edit one or more details of the lesson | ||
And I click *Save changes* button | ||
Then I am returned to the report page for <lesson> | ||
And the changes I made are reflected in the report | ||
|
||
Scenario: Lesson resources can be managed (added or removed) from the Lesson report page | ||
When I click the *Options* dropdown menu | ||
And I select the *Manage resources* option | ||
Then I see the *Manage resources in '<lesson>'* dialogue | ||
When I finish adding to or removing resources from the lesson | ||
And I click the *Finish* button | ||
Then I am returned to the report page for <lesson> | ||
And the changes to the resources I made are reflected in the report | ||
|
||
Examples: | ||
| class | lesson | | ||
| Explorers | Count 1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.