Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
Feature: Create account on Studio
Feature: Create an account on Studio

Background:
Given I am signed in to Studio
And I am on Studio home page
And I do not have an account registered with my <email>
Given I am not signed in to Studio
And I am at Studio's sign-in page
And I haven't previously registered with my email

Scenario: Create account
Scenario: Create an account and sign in with the created account
When I click the *Create an account* button
Then I see the *Create an account* form
And I see the *Basic information* section containing the following fields: First name, Last name, Email, Password and Confirm password
And I see the *How do you plan on using Kolibri Studio (check all that apply)*, *Where do you plan to use Kolibri Studio? (check all that apply)*, *How did you hear about us?* and *I have read and agree to terms of service and the privacy policy* sections
And I see the *View Privacy Policy* and *View Terms of Service* links
When I input all the required fields
And I click the *Finish* button
Then I see the *Activation link sent* page
And I see the email in my Inbox
When I click the activation link
And I go to Studio home page
Then I am able to sign in
And I see *Thank you for creating an account! To complete the process, please check your email for the activation link we sent you.*
When I open the received email and click the activation link
Then I see the *Account successfully created* page
When I click the *Continue to sign-in page* button
Then I am at the sign-in page
When I fill in my email and password
And I click the *Sign in* button
Then I am able to sign in successfully

Scenario: See error notification
Scenario: See an error notification if not all required information is provided
When I fail to provide all the required information
Then I see the *Please fix the errors below* alert under the main heading
And I see the *Field is required* error notification for each missing information
When I correct the error(s)
And I click the *Finish* button
Then I see the *Activation link sent* page
And I see the email in my Inbox
When I click the activation link
And I go to Studio home page
Then I am able to sign in

Examples:
| email |
And I see *Thank you for creating an account! To complete the process, please check your email for the activation link we sent you.*
24 changes: 24 additions & 0 deletions integration_testing/features/access-kolibri-studio/sign-in.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Feature: Sign in to Studio

Background:
Given I am not signed in to Studio
And I am at Studio's sign-in page
And I have already registered with my email

Scenario: Sign in to Studio
When I fill in my email
And I fill in my password
And I click the *Sign in* button
Then I am signed in
And I am at *My channels* page

Scenario: See error notification for incorrect email or password
When I fill in an incorrect email or password
And I click the *Sign in* button
Then I see the following validation message above the form: *Email or password is incorrect*

Scenario: See validation messages for the required fields
When I leave one or both of the *Email* and *Password* fields empty
And I click the *Sign in* button
Then I see the fields colored in red
And I see a *Field is required* message under each empty field

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ Feature: Change language
Then the language interface changes to the selected language
And the selected language is no longer clickable

Scenario: Change language when you are exploring without an account
Given I am not signed-in to Studio
And I have clicked the *Explore without an account link*
When I click on the user profile icon
And I click *Change language*
Then I see a *Change language* modal window displayed with several languages to choose from
When I click on a language which is not currently selected
And I click the *Confirm* button
Then the interface language changes to the selected language

Scenario: Change language as a signed-in user
Given I am signed-in to Studio
And I click the user profile icon
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Feature: Expand and collapse folders in the clipboard

Background:
Given I am signed in to Studio
And I am on the channel editor view

Scenario: Expand and collapse folders in the clipboard
When I click on clipboard button on the bottom-right of the screen
Then the clipboard opens up
When I expand a folder on the clipboard via the downward arrow button
Then I see the items within the folder appear
And I see the downward arrow button changes to an upward arrow button
When I collapse a folder on the clipboard via the upward arrow button
Then I see the items within that folder disappear
And I see the upward arrow button changes to an upward arrow button

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Feature: Create a topic
Feature: Create a folder

Background:
Given I am signed in to Studio
And I am on the channel editor page

Scenario: Create a topic
Scenario: Create a folder
When I click the *Add* button in the top right corner
And I click the *New topic* option
Then I see the *New topic* modal
And I click the *New folder* option
Then I see the *New folder* modal
When I fill in the required field *Title*
And I fill in any of the other fields such as *Description*, *Tags* and *Language*
And I add a thumbnail image
And I click the *Finish* button
Then I am on the channel editor page
And I can see the newly created topic
And I can see the newly created folder
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Feature: Set up empty folder tree

Background:
Given I am signed in to Studio
And I am on the channel editor page for an empty channel

Scenario: Create an empty folder tree
When I click the *Add* button in the top right corner
And I click the *New folder* option
Then I see the *New folder* modal
When I fill in the required fields
And I click the *Add new folder* button
Then I can fill in the required fields for a new folder #repeat this process for as many empty folders you need
When I click the *Finish* button
Then I am on the channel editor page
And I can see the empty folders

Scenario: Create sub-folders
Given I have created an empty folder tree
When I click *⋮* (Options) button for a folder
And I click the *New folder* option
Then I see the *New folder* modal
When I fill in the required fields
And I click the *Add new folder* button
Then I can fill in the required fields for a new folder #repeat this process for as many empty folders you need
When I click the *Finish* button
Then I am on the channel editor page
And I can click on the folder to see the created sub-folders

This file was deleted.