@@ -298,6 +298,42 @@ Feature: Kolibri Studio integration testing scenarios
298298 And I see a yellow exclamation icon with the following text *N resources are incomplete and cannot be published*
299299 And I receive a confirmation email that the channel has been published successfully
300300
301+ Scenario: Submit a channel to the Community Library
302+ Given I am signed in to Studio
303+ And I am at the channel editor page for a channel created by me
304+ And I have already published the channel
305+ When I click the *Share* drop-down button
306+ And I click the *Submit to Community Library* option
307+ Then I see the *Submit to Community Library* side panel
308+ And I see the title and version of the channel
309+ And I see the licensing section and info for the criteria for submitting to the Community Library
310+ And I see a *Countries* drop-down list
311+ And I see a description textbox
312+ When I select one or several countries
313+ And I enter the description
314+ And I click the *Submit for review* button
315+ Then the side panel closes
316+ And I see a *Submitting channel to Community Library...* snack-bar message
317+ And then after a moment I see a *Channel submitted for review* snackbar message
318+
319+ Scenario: Review a Community Library submission as an Administrator and approve it
320+ Given I'm signed in as an Administrator
321+ And I am at the Community Library submission for the channel
322+ And there are channels submitted for review
323+ When I click the *Review* button
324+ Then I see the *Review submission* side panel
325+ And I can see all the relevant info for the submitted channel
326+ And I can see the *Submission notes*
327+ And I can see that *Submitted* is selected by default in the *Change status* section
328+ When I change the status to *Approved*
329+ And I enter my reasoning in the *Editor's notes* field
330+ And I fill in the *Personal notes* (optional) field
331+ And I click the *Confirm button
332+ Then I see a *Channel status is changing* snackbar message
333+ And after a moment I see a *Submission approved* snackbar message
334+ When I navigate to the *Community Library* page
335+ Then I can see that the channel is shown among the other Community Library channels
336+
301337 Scenario: Invite collaborators with *Can edit* permissions
302338 Given I am signed in to Studio
303339 And I am at the channel editor page
@@ -425,14 +461,25 @@ Feature: Kolibri Studio integration testing scenarios
425461 And the resources are no longer in my original directory
426462
427463 Scenario: Apply metadata details from a folder when adding a resource
428- Given I have created a folder with multiple metadata details such as categories, levels, requirements, language
464+ Given I am signed in to Studio
465+ And I am at the channel editor page
466+ And there are available resources of different types
467+ And I have created a folder with multiple metadata details such as categories, levels, requirements, language
429468 When I attempt to import, copy or move a resource into that folder
430469 Then I see the *Apply details from the folder <folder name>* modal
431470 And I see that all of the checkboxes for the available metadata are selected
432471 When I click the *Continue* button
433472 And I go to view the details of a resource
434473 Then I see that the selected metadata is filled in
435474
475+ Scenario: Move a resource into a folder with no metadata
476+ Given I am signed in to Studio
477+ And I am at the channel editor page
478+ And there are available resources of different types
479+ And I have created a folder named *Folder 1* with no metadata
480+ When I move a resource into *Folder 1*
481+ Then the modal for applying inheritable metadata is not displayed
482+
436483 Scenario: Delete a channel
437484 Given I am signed in to Studio
438485 And I have permissions to edit
0 commit comments