|
| 1 | +Feature: Create a collection |
| 2 | + |
| 3 | + Background: |
| 4 | + Given I am signed in to Studio |
| 5 | + And I am on the *Collections* tab |
| 6 | + |
| 7 | + Scenario: Create an empty collection |
| 8 | + When I click the *New collection* button |
| 9 | + And I fill in the *Collection name* field |
| 10 | + And I click the *Create* button |
| 11 | + Then I see the *Collections* tab |
| 12 | + And I see the newly created collection |
| 13 | + |
| 14 | + Scenario: Create a collection by selecting channels |
| 15 | + When I click the *New collection* button |
| 16 | + And I click the *Select channels* button |
| 17 | + Then I see the *Select channels* page |
| 18 | + And I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab |
| 19 | + When I select one or several channels |
| 20 | + And I click the *Finish* button |
| 21 | + Then I see the the *New collection* screen with the selected channels |
| 22 | + When I click the *Create* button |
| 23 | + Then I see the *Collections* tab |
| 24 | + And I see the newly created collection |
| 25 | + And I see the number of channels in that collection |
| 26 | + |
| 27 | + Scenario: Create a collection by searching for channels |
| 28 | + When I click the *New collection* button |
| 29 | + And I click the *Select channels* button |
| 30 | + Then I see the *Select channels* page |
| 31 | + And I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab |
| 32 | + When I enter a search term in the *Search for a channel* field |
| 33 | + And I select one or several channels |
| 34 | + And I click the *Finish* button |
| 35 | + Then I see the the *New collection* screen with the selected channels |
| 36 | + When I click the *Create* button |
| 37 | + Then I see the *Collections* tab |
| 38 | + And I see the newly created collection |
| 39 | + And I see the number of channels in that collection |
0 commit comments