-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3202 from learningequality/hotfixes
Patch 2 for release 2021-05-24
- Loading branch information
Showing
7 changed files
with
146 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Feature: Create a collection | ||
|
||
Background: | ||
Given I am signed in to Studio | ||
And I am on the *Collections* tab | ||
|
||
Scenario: Create an empty collection | ||
When I click the *New collection* button | ||
And I fill in the *Collection name* field | ||
And I click the *Create* button | ||
Then I see the *Collections* tab | ||
And I see the newly created collection | ||
|
||
Scenario: Create a collection by selecting channels | ||
When I click the *New collection* button | ||
And I click the *Select channels* button | ||
Then I see the *Select channels* page | ||
And I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab | ||
When I select one or several channels | ||
And I click the *Finish* button | ||
Then I see the the *New collection* screen with the selected channels | ||
When I click the *Create* button | ||
Then I see the *Collections* tab | ||
And I see the newly created collection | ||
And I see the number of channels in that collection | ||
|
||
Scenario: Create a collection by searching for channels | ||
When I click the *New collection* button | ||
And I click the *Select channels* button | ||
Then I see the *Select channels* page | ||
And I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab | ||
When I enter a search term in the *Search for a channel* field | ||
And I select one or several channels | ||
And I click the *Finish* button | ||
Then I see the the *New collection* screen with the selected channels | ||
When I click the *Create* button | ||
Then I see the *Collections* tab | ||
And I see the newly created collection | ||
And I see the number of channels in that collection |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Feature: Delete a collection | ||
|
||
Background: | ||
Given I am signed in to Studio | ||
And I am on the *Collections* tab | ||
And there is at least one collection | ||
|
||
Scenario: Delete a collection | ||
When I click the *Options* drop-down for the collection I want to edit | ||
And I select the *Delete collection* option | ||
Then I see the *Delete collection* modal window | ||
When I click the *Delete collection* button | ||
Then I see the *Collections* tab | ||
And I see that the deleted collection is no longer displayed |
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,23 @@ | ||
Feature: Edit a collection | ||
|
||
Background: | ||
Given I am signed in to Studio | ||
And I am on the *Collections* tab | ||
And there is at least one collection | ||
|
||
Scenario: Edit a collection | ||
When I click the *Options* drop-down for the collection I want to edit | ||
And I select the *Edit collection* option | ||
Then I see the collection's details | ||
And I can change the collection name | ||
When I click the *Select channels* button | ||
Then I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab | ||
When I select one or several channels | ||
And I click the *Finish* button | ||
Then I see the the *New collection* screen with the selected channels | ||
When I click the *Remove* button | ||
Then I see a message *Channel removed* | ||
When I click the *Save and close* button | ||
Then I see the *Collections* tab | ||
And I see the edited collection | ||
And I see the number of channels in that collection |
29 changes: 29 additions & 0 deletions
29
integration_testing/features/set-up-empty-topic-tree.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,29 @@ | ||
Feature: Set up empty topic tree | ||
|
||
Background: | ||
Given I am signed in to Studio | ||
And I am on the channel editor page for an empty channel | ||
|
||
Scenario: Create an empty topic tree | ||
When I click the *Add* button in the top right corner | ||
And I click the *New topic* option | ||
Then I see the *New topic* modal | ||
When I fill in the required fields | ||
And I click the *Add new topic* button | ||
Then I can fill in the required fields for a new topic #repeat this process for as many empty topics you need | ||
When I click the *Finish* button | ||
Then I am on the channel editor page | ||
And I can see the empty topics | ||
|
||
Scenario: Create sub-topics | ||
Given I have created an empty topic tree | ||
When I click *⋮* (Options) button for a topic | ||
And I click the *New topic* option | ||
Then I see the *New topic* modal | ||
When I fill in the required fields | ||
And I click the *Add new topic* button | ||
Then I can fill in the required fields for a new topic #repeat this process for as many empty topics you need | ||
When I click the *Finish* button | ||
Then I am on the channel editor page | ||
And I can click on the topic to see the created sub-topics | ||
|