You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I look at the *Administration > Channels* page
11
11
Then I see the table with all of the available channels
12
12
And I see an *N channels* label with the total number of created channels
13
13
And I see a *Channel type* filter with *All channels* set as the default value
14
14
And I see a *Channel status* filter with *Live* set as the default value
15
15
And I see a *Language* filter with no selected value
16
16
And I see a *Search for a channel...* field
17
+
And I see the following table columns: Channel name, Token ID, Channel ID, Size, Editors, Viewers, Date created, Last updated, Demo URL, Source URL, Latest community library submission, Actions
18
+
And for each row I see the correct value in the respective column
19
+
When I click on the *Actions* drop-down for a row
20
+
Then I see the following options: View editors, Download PDF, Download CSV, Make public, Delete channel
21
+
22
+
Scenario: See the *Kolibri Studio Library* table
23
+
Given I am at *Administration > Channels*
24
+
When I select the *Kolibri Studio Library* option from the *Channel type* drop-down
25
+
Then I see the table with all of the available *Kolibri Studio Library* channels
26
+
And I see an *N channels* label with the total number of created channels
27
+
And I see a *Channel status* filter with *Live* set as the default value and a *Sushi chef* option
28
+
And I see a *Language* filter with no selected value
29
+
And I see a *Search for a channel...* field
30
+
And I see the following table columns: Channel name, Token ID, Channel ID, Size, Editors, Viewers, Date created, Last updated, Demo URL, Source URL, Latest community library submission, Actions
31
+
And for each row I see the correct value in the respective column
32
+
When I click on the *Actions* drop-down for a row
33
+
Then I see the following options: View editors, Download PDF, Download CSV, Make private
34
+
35
+
Scenario: See the *Community Library* table
36
+
Given I am at *Administration > Channels*
37
+
When I select the *Community Library* option from the *Channel type* drop-down
38
+
Then I see the table with all of the available *Community Library* channels
39
+
And I see an *N channels* label with the total number of created channels
40
+
And I see a *Channel status* filter with *Live* set as the default value and the following additional options: Needs review, Published, Sushi chef
41
+
And I see a *Language* filter with no selected value
42
+
And I see a *Search for a channel...* field
43
+
And I see the following table columns: Channel name, Token ID, Channel ID, Size, Editors, Viewers, Date created, Last updated, Demo URL, Source URL, Latest community library submission, Actions
44
+
And for each row I see the correct value in the respective column
45
+
When I click on the *Actions* drop-down for a row
46
+
Then I see the following options: View editors, Download PDF, Download CSV, Make public, Delete channel
47
+
48
+
Scenario: See the *Unlisted channels* table
49
+
Given I am at *Administration > Channels*
50
+
When I select the *Unlisted channels* option from the *Channel type* drop-down
51
+
Then I see the table with all of the available *Unlisted channels* channels
52
+
And I see an *N channels* label with the total number of created channels
53
+
And I see a *Channel status* filter with *Live* set as the default value and the following additional options: Draft, Published, Sushi chef, Deleted
54
+
And I see a *Language* filter with no selected value
55
+
And I see a *Search for a channel...* field
56
+
And I see the following table columns: Channel name, Token ID, Channel ID, Size, Editors, Viewers, Date created, Last updated, Demo URL, Source URL, Latest community library submission, Actions
57
+
And for each row I see the correct value in the respective column
58
+
When I click on the *Actions* drop-down for a row
59
+
Then I see the following options: View editors, Download PDF, Download CSV, Make public, Delete channel
60
+
61
+
Scenario: Filter by status and language
62
+
When I change the value of the *Channel status* drop-down to one of the available values
63
+
Then I see only results matching the applied filter e.g. if I have selected *Published* then I am seeing only published channels
64
+
When I select a value from the *Language* drop-down
65
+
Then I see only results matching the applied language filter
66
+
When there aren't any results for the applied filter or combination of filters
67
+
Then I see a *No users found* message
68
+
69
+
Scenario: Search for a channel
70
+
When I enter the name or part of the name of a channel, token, channel id or editor in the *Search for a channel...* field
71
+
Then I am seeing only results matching the entered keyword
72
+
When there aren't any results for the entered keyword
And I see an *Active within* filter with *Any time* set as a default value
17
17
And I see a *Search for a user...* field
18
18
And I see the *Has published a channel* and *Has Studio edits* checkboxes
19
+
And I see the following table columns: Email, Disk space, Can edit, Can view, Date joined, Last active, Actions
20
+
And for each row I see the correct value in the respective column
21
+
When I click on the *Actions* drop-down for a row
22
+
Then I see the following options: Email, Activate, Delete
23
+
24
+
Scenario: Filter by any of the available filters
25
+
When I change the value of any of the available filters
26
+
Then I see only results matching the applied filter e.g. if I have selected *Active* from the *User type* filter then I am seeing only published channels
27
+
When there aren't any results for the applied filter or combination of filters
28
+
Then I see a *No users found* message
29
+
30
+
Scenario: Search for a user
31
+
When I enter the name or part of the name of a user, email or channel in the *Search for a user...* field
32
+
Then I am seeing only results matching the entered keyword
33
+
When there aren't any results for the entered keyword
34
+
Then I see a *No users found* message
35
+
36
+
Scenario: See the user's details
37
+
When I click on the name of the user
38
+
Then I see the user's details page with the full name of the user
39
+
And I see an *Actions* drop-down
40
+
And I see the *Basic information* section with the following fields: Privileges, Email, Where do you plan to use Kolibri?, How did you hear about us?, How do you plan to use Kolibri Studio?, Signed up on, Last active
41
+
And I see the *Disk space* section with the percentage of storage used and an option to increase the storage size
42
+
And I see the *Feature flags* section
43
+
And I see the *Policies accepted* section
44
+
And I see the *Editing N channels* and *Viewing N channels* sections
45
+
46
+
Scenario: Download CSV
47
+
Given I have applied at least one of the available filters
48
+
When I click on the *Download CSV* button
49
+
Then I see a *Generating CSV* snackbar message
50
+
And I see a *Save as* modal
51
+
When I chose a destination for the studio_users<date>.csv file
52
+
And I click the *Save* button
53
+
Then the .csv file is saved on my device
54
+
When I open the file
55
+
Then I see that all the information for each user is exported correctly
56
+
And I see the following columns: First name, Last name, Email, Is active, Is admin, Date joined, Last active, Disk space (bytes), Disk space used (bytes), Has editable channels, Has viewable channels, Has published a channel, Most recent publish date, Has Studio edits, Locations (country names), Primary location, Location count, Storage needed, Heard from
57
+
58
+
Scenario: Email users
59
+
When I click on the *Email users* button
60
+
Then I see a *Send email* modal window with an email form with prefilled *From* and *To* fields
61
+
And I see a *Subject line* field, an *Add placeholder to message* option and an *Email body* field.
62
+
When I fill in all the fields
63
+
And I click the *Send email* button
64
+
Then I see an *Email sent* snackbar message
65
+
66
+
Scenario: Add and remove admin privileges
67
+
When I click the *Actions* drop-down for a user
68
+
And I select the *Add admin privileges* option
69
+
Then I see an *Add admin privileges* confirmation modal
70
+
And I see an *Email address* field
71
+
When I fill in my email address
72
+
And I click the *Add privileges* button
73
+
Then I see an *Admin privileges added* snackbar message
74
+
And I see a green circle to the left of the user's name indicating that the user is now an administrator
75
+
When I click the *Actions* drop-down for the same user
76
+
And I select the *Remove admin privileges* option
77
+
Then I see an *Remove admin privileges* confirmation modal
78
+
And I see an *Email address* field
79
+
When I fill in my email address
80
+
And I click the *Remove privileges* button
81
+
Then I see an *Admin privilege removed* snackbar message
82
+
And the green circle is removed indicating that the user is no longer an administrator
83
+
84
+
Scenario: Deactivate a user
85
+
When I click the *Actions* drop-down for a user
86
+
And I select the *Deactivate* option
87
+
Then I see a *Deactivate user* confirmation modal
88
+
When I click the *Deactivate* button
89
+
Then I see an *User deactivated* snackbar message
90
+
And the user's details are colored in red
91
+
And I see an *Inactive* label in the *Disk space* column
92
+
When I go to the user's details page
93
+
Then I see a red banner with the following text: This user has been deactivated
94
+
When I click the *Actions* drop-down
95
+
And I click the *Activate* option
96
+
Then I see an *User activated* message
97
+
And the red banner has disappeared
98
+
99
+
Scenario: Delete a deactivated user
100
+
Given I have deactivated a user
101
+
When I go to the user's details page
102
+
And I click the *Actions* drop-down list
103
+
And I select the *Delete* option
104
+
Then I see a *Delete user* confirmation modal
105
+
When I click the *Delete* button
106
+
Then I see a *User removed* snackbar message
107
+
And the user is no longer listed in the users table
0 commit comments