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
Copy file name to clipboardExpand all lines: integration_testing/features/manage-resources/upload-files.feature
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Feature: Upload files
18
18
Then I see the *Edit files* modal #if I am uploading resources to a folder with metadata then I will first see the *Apply details from the folder <folder_name>*
19
19
When I fill in all the required fields
20
20
And I click the *Finish* button
21
-
Then I am returned to the main topic tree view
21
+
Then I am back at the channel editor page
22
22
And I can see the uploaded file
23
23
24
24
Scenario: Upload multiple supported files
@@ -30,7 +30,7 @@ Feature: Upload files
30
30
Then I see the *Edit files* modal #if I am uploading resources to a folder with metadata then I will first see the *Apply details from the folder <folder_name>*
31
31
When I fill in all the required fields for each file
32
32
And I click the *Finish* button
33
-
Then I am returned to the main topic tree view
33
+
Then I am back at the channel editor page
34
34
And I can see the uploaded files
35
35
36
36
Scenario: Upload more files
@@ -42,7 +42,7 @@ Feature: Upload files
42
42
Then I see the *Edit files* modal #if I am uploading resources to a folder with metadata then I will first see the *Apply details from the folder <folder_name>*
43
43
When I fill in all the required fields for each file
44
44
And I click the *Finish* button
45
-
Then I am returned to the main topic tree view
45
+
Then I am back at the channel editor page
46
46
And I can see the uploaded files
47
47
48
48
Scenario: Upload more files by drag and drop
@@ -51,7 +51,7 @@ Feature: Upload files
51
51
Then I see the *Edit files* modal with the newly uploaded files #if I am uploading resources to a folder with metadata then I will first see the *Apply details from the folder <folder_name>*
52
52
When I fill in all the required fields for each file
Copy file name to clipboardExpand all lines: integration_testing/features/studio-integration-testing.feature
+126-1Lines changed: 126 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Feature: Kolibri Studio integration testing scenarios
46
46
And I fill in the *New password* field
47
47
And I fill in the *Confirm password* field with the same password
48
48
And I press the *Submit* button
49
-
Then I see the following message: Password reset successfully
49
+
Then I see the following message: *Password reset successfully*
50
50
51
51
Scenario: Explore without an account
52
52
Given I am not signed in to Studio
@@ -133,6 +133,20 @@ Feature: Kolibri Studio integration testing scenarios
133
133
Then I am back at the channel editor page
134
134
And I can see the newly created folder
135
135
136
+
Scenario: Create multiple folders
137
+
Given I am signed in to Studio
138
+
And I am at the channel editor page
139
+
And I have created an empty folder tree
140
+
When I click *⋮* (Options) button for a folder
141
+
And I click the *New folder* option
142
+
Then I see the *New folder* modal
143
+
When I fill in the required fields
144
+
And I click the *Add new folder* button
145
+
Then I can fill in the required fields for a new folder #repeat this process for as many empty folders as you need
146
+
When I click the *Finish* button
147
+
Then I am at the channel editor page
148
+
And I can see the created folders
149
+
136
150
Scenario: Upload all supported files
137
151
Given I am signed in to Studio
138
152
And I am at the channel editor page
@@ -151,6 +165,15 @@ Feature: Kolibri Studio integration testing scenarios
151
165
Then I am back at the channel editor page
152
166
And I can see the uploaded files
153
167
168
+
Scenario: Upload more files by drag and drop
169
+
Given I am at the *Edit files* modal after having imported some files
170
+
When I drag and drop files
171
+
Then I see the *Edit files* modal with the newly uploaded files #if I am uploading resources to a folder with metadata then I will first see the *Apply details from the folder <folder_name>*
172
+
When I fill in all the required fields for each file
173
+
And I click the *Finish* button
174
+
Then I am back at the channel editor page
175
+
And I can see the uploaded files
176
+
154
177
Scenario: Create a new exercise (Completion: When goal is met - Goal: 100% correct)
155
178
Given I am signed in to Studio
156
179
And I am at the channel editor page
@@ -334,6 +357,44 @@ Feature: Kolibri Studio integration testing scenarios
334
357
When I navigate to the *Community Library* page
335
358
Then I can see that the channel is shown among the other Community Library channels
336
359
360
+
Scenario: Community Library page overview (published channels)
361
+
Given several channels have already been published to the Community Library
362
+
When I look at the page
363
+
Then I see the *Community Library* title
364
+
And I see *Browse community-submitted channels approved for discovery in Studio. Copy a token to use a channel in Kolibri. What is the Community Library?*
365
+
And I see a *Help grow the Community Library* banner with a *Go to my channels* button
366
+
And I see the cards of all of the currently published channels
367
+
And I see the following filters to the left of the page: *Search*, *Countries*, *Languages*, *Categories*
368
+
369
+
Scenario: Filter channels at the Community Library page
370
+
Given several channels have already been published to the Community Library
371
+
When I enter a keyword in the *Search* field
372
+
Then I see only the results matching the entered keyword
373
+
When there are no results matching the entered keyword
374
+
Then I see a *0 results found* text
375
+
And I see a *No channels match the selected filters.* message
376
+
When I click the *Clear all* link
377
+
Then I see the full list with the available cards
378
+
When apply any of the other available filters (*Countries*, *Languages*, *Categories*)
379
+
Then I see only the results matching the applied filters
380
+
When there are no results matching the applied filters
381
+
Then I see a *0 results found* text
382
+
And I see a *No channels match the selected filters.* message
383
+
384
+
Scenario: View the channel details and download the files with the channel summary
385
+
Given I am signed in to Studio
386
+
And I am in any of the tabs (*My Channels*, *Starred*, *View only*, or *Content Library*)
387
+
When I click the *i* button for the desired channel
388
+
Then I see a new page with the channel details
389
+
And I see the detailed information for the channel (token, size and resources, language, etc.)
390
+
And I see the *Download channel summary* button
391
+
When I click the *Download channel summary* button
392
+
Then I see the options to download the summary as a PDF or a CSV file
393
+
When I select the option to download as PDF
394
+
Then I can save and open the PDF file in my default system PDF reader application
395
+
When I select the option to download CSV
396
+
Then I can save and open the CSV file in my default system CSV application
397
+
337
398
Scenario: Invite collaborators with *Can edit* permissions
338
399
Given I am signed in to Studio
339
400
And I am at the channel editor page
@@ -422,6 +483,23 @@ Feature: Kolibri Studio integration testing scenarios
422
483
And I see the *Undo* button
423
484
And I no longer see the resource
424
485
486
+
Scenario: Remove folders and resources through the *···* (Options) menu
487
+
Given I am signed in to Studio
488
+
And I am at the channel editor page
489
+
And there are available resources of different types
490
+
When I hover over a folder
491
+
And I click on the *···* (Options) button
492
+
And I select the *Remove* option
493
+
Then I can see the *Sent to trash* snackbar notification
494
+
And I see the *Undo* button
495
+
And I no longer see the removed folder
496
+
When I hover over a resource
497
+
And I click on the *···* (Options) button
498
+
And I select the *Remove* option
499
+
Then I can see the *Sent to trash* snackbar notification
500
+
And I see the *Undo* button
501
+
And I no longer see the resource
502
+
425
503
Scenario: Removed folder and resources can be restored
426
504
Given I am signed in to Studio
427
505
And I am at the channel editor page
@@ -561,6 +639,53 @@ Feature: Kolibri Studio integration testing scenarios
561
639
And I see the newly created collection
562
640
And I see the number of channels in that collection
563
641
642
+
Scenario: Create a collection by searching for channels
643
+
Given I am signed in to Studio
644
+
And I am on the *Collections* tab
645
+
When I click the *New collection* button
646
+
And I click the *Select channels* button
647
+
Then I see the *Select channels* page
648
+
And I am on the *Kolibri library* tab # alternatively I can select the *My channels* or *View-only* tab
649
+
When I enter a search term in the *Search for a channel* field
650
+
And I select one or several channels
651
+
And I click the *Finish* button
652
+
Then I see the *New collection* screen with the selected channels
653
+
When I click the *Create* button
654
+
Then I see the *Collections* page
655
+
And I see the newly created collection
656
+
And I see the correct number of channels in that collection
657
+
658
+
Scenario: Edit a collection
659
+
Given I am signed in to Studio
660
+
And I am on the *Collections* tab
661
+
And I've already created some collections
662
+
When I click the *Options* drop-down for the collection I want to edit
663
+
And I select the *Edit collection* option
664
+
Then I see the collection's details
665
+
And I can change the collection name
666
+
When I click the *Select channels* button
667
+
Then I am on the *Kolibri library* tab # alternatively I can select the *My channels* or *View-only* tab
668
+
When I select one or several channels
669
+
And I click the *Finish* button
670
+
Then I see the the *New collection* screen with the selected channels
671
+
When I click the *Remove* button
672
+
Then I see a *Channel removed* snackbar message
673
+
When I click the *Save and close* button
674
+
Then I see the *Collections* page
675
+
And I see the edited collection
676
+
And I see the number of channels in that collection
677
+
678
+
Scenario: Delete a collection
679
+
Given I am signed in to Studio
680
+
And I am on the *Collections* tab
681
+
And I've already created some collections
682
+
When I click the *Options* drop-down for the collection I want to edit
683
+
And I select the *Delete collection* option
684
+
Then I see the *Delete collection* modal window
685
+
When I click the *Delete collection* button
686
+
Then I see the *Collections* page
687
+
And I see that the deleted collection is no longer displayed
0 commit comments