Skip to content

Commit

Permalink
Merge pull request #3197 from pcenov/feature-updates-3
Browse files Browse the repository at this point in the history
  • Loading branch information
radinamatic committed Jun 11, 2021
2 parents 19fbc90 + 814376c commit f4fc900
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
39 changes: 39 additions & 0 deletions integration_testing/features/create-a-collection.feature
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
14 changes: 14 additions & 0 deletions integration_testing/features/delete-a-collection.feature
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
23 changes: 23 additions & 0 deletions integration_testing/features/edit-a-collection.feature
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

0 comments on commit f4fc900

Please sign in to comment.