Skip to content

Commit f4fc900

Browse files
authored
Merge pull request #3197 from pcenov/feature-updates-3
2 parents 19fbc90 + 814376c commit f4fc900

3 files changed

Lines changed: 76 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Feature: Delete a collection
2+
3+
Background:
4+
Given I am signed in to Studio
5+
And I am on the *Collections* tab
6+
And there is at least one collection
7+
8+
Scenario: Delete a collection
9+
When I click the *Options* drop-down for the collection I want to edit
10+
And I select the *Delete collection* option
11+
Then I see the *Delete collection* modal window
12+
When I click the *Delete collection* button
13+
Then I see the *Collections* tab
14+
And I see that the deleted collection is no longer displayed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Feature: Edit a collection
2+
3+
Background:
4+
Given I am signed in to Studio
5+
And I am on the *Collections* tab
6+
And there is at least one collection
7+
8+
Scenario: Edit a collection
9+
When I click the *Options* drop-down for the collection I want to edit
10+
And I select the *Edit collection* option
11+
Then I see the collection's details
12+
And I can change the collection name
13+
When I click the *Select channels* button
14+
Then I am on the *Content library* tab # alternatively I can select the *My channels* or *View-only* tab
15+
When I select one or several channels
16+
And I click the *Finish* button
17+
Then I see the the *New collection* screen with the selected channels
18+
When I click the *Remove* button
19+
Then I see a message *Channel removed*
20+
When I click the *Save and close* button
21+
Then I see the *Collections* tab
22+
And I see the edited collection
23+
And I see the number of channels in that collection

0 commit comments

Comments
 (0)