Skip to content

Commit 4c2de41

Browse files
authored
Merge pull request #4902 from pcenov/gherkins-cws-2
Gherkin scenarios updates and corrections
2 parents 97e78f5 + 1b9c47f commit 4c2de41

File tree

82 files changed

+1419
-1228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1419
-1228
lines changed

integration_testing/features/access-kolibri-studio/explore-without-an-account.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ Feature: Explore without an account
77
Scenario: Explore without an account
88
When I click the *Explore without an account* link
99
Then I see the *Content Library* page with available public channels
10-
And I can filter the search results
11-
And I can view or download the channel summary
10+
And I can filter the search results by keyword, language, license, format, starred status, resources for coaches, captions or subtitles
11+
When I click on a channel card
12+
Then I can see the channel's details
13+
And I can view or download the channel summary

integration_testing/features/access-kolibri-studio/reset-your-password.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature: Reset your password
77

88
Scenario: Request a link to reset my password
99
When I click the *Forgot your password?* link
10-
Then I see a page with option to enter my email address
10+
Then I see the *Reset your password* page with option to enter my email address
1111
When I type an existing valid email address in the *Email* field
1212
And I press the *Submit* button
1313
Then I see a message that the instructions are sent
@@ -18,7 +18,7 @@ Feature: Reset your password
1818
Given I've requested and received an email with a link to reset my password
1919
When I click the link in the email
2020
Then I see a page with a *Reset your password* form
21-
And I fill in the *New password* field
21+
When I fill in the *New password* field
2222
And I fill in the *Confirm password* field with the same password
2323
And I press the *Submit* button
2424
Then I see the following message: Password reset successfully

integration_testing/features/access-kolibri-studio/sign-in.feature

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Sign in to Studio
55
And I am at Studio's sign-in page
66
And I have already registered with my email
77

8-
Scenario: Sign in to Studio
8+
Scenario: Sign in to Studio using valid credentials
99
When I fill in my email
1010
And I fill in my password
1111
And I click the *Sign in* button
@@ -17,8 +17,13 @@ Feature: Sign in to Studio
1717
And I click the *Sign in* button
1818
Then I see the following validation message above the form: *Email or password is incorrect*
1919

20-
Scenario: See validation messages for the required fields
20+
Scenario: See error notification for invalid email
21+
When I fill in an invalid email such as test@
22+
And I click the *Sign in* button
23+
Then I see the following validation message under the email field: *Please enter a valid email*
24+
25+
Scenario: See validation messages for the empty required fields
2126
When I leave one or both of the *Email* and *Password* fields empty
2227
And I click the *Sign in* button
2328
Then I see the fields colored in red
24-
And I see a *Field is required* message under each empty field
29+
And I see a *This field is required* message under each empty field

integration_testing/features/common/change-language.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Feature: Change language
33

44
Scenario: Change language when you are not signed-in
55
Given I am not signed-in to Studio
6-
And I am on the Studio home page
6+
And I am at Studio's sign-in page
77
When I click on one of the available languages
88
Then the language interface changes to the selected language
99
And the selected language is no longer clickable
@@ -13,16 +13,16 @@ Feature: Change language
1313
And I have clicked the *Explore without an account link*
1414
When I click on the user profile icon
1515
And I click *Change language*
16-
Then I see a *Change language* modal window displayed with several languages to choose from
16+
Then I see a *Change language* modal window with the available languages
1717
When I click on a language which is not currently selected
1818
And I click the *Confirm* button
1919
Then the interface language changes to the selected language
2020

21-
Scenario: Change language as a signed-in user
21+
Scenario: Change the language as a signed-in user
2222
Given I am signed-in to Studio
2323
And I click the user profile icon
2424
When I click *Change language*
25-
Then I see a *Change language* modal window displayed with several languages to choose from
25+
Then I see a *Change language* modal window with the available languages
2626
When I click on a language which is not currently selected
2727
And I click the *Confirm* button
2828
Then the interface language changes to the selected language

integration_testing/features/common/open-sidebar-and-user-menus.feature

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ User needs to be able to open and close the sidebar menu and the user menu
33

44
Background:
55
Given I am signed in to Studio
6-
And I am on any of the tabs (*My Channels*, *Starred*, *View only*, *Content Library*, or *Collections*)
76

87
Scenario: Open and close the sidebar menu
98
When I click the hamburger menu button in the upper left screen corner
109
Then I see the sidebar menu
11-
And I can select any of the options inside
10+
And I can see the following options: *Channels*, *Settings*, *Change language*, *Help and support*, *Sign out*, the LE logo, *© 2025 Learning Equality", *Give feedback*
11+
And I can click any of the options inside
1212
When I click the *X* button, or anywhere on the browser screen
1313
Then I don't see the sidebar menu anymore
1414
1515
Scenario: Open and close the user menu
1616
When I click the user menu button in the upper right screen corner
1717
Then I see the user menu
18-
And I can select any of the options inside
18+
And I can see the following options: *Settings*, *Change language*, *Help and support*, *Sign out*
19+
And I can click any of the options inside
1920
When I click the user menu button again, or anywhere on the browser screen
20-
Then I don't see the user menu anymore
21+
Then I don't see the user menu anymore

integration_testing/features/manage-account/edit-account-information.feature

Lines changed: 0 additions & 23 deletions
This file was deleted.

integration_testing/features/manage-account/export-account-information.feature

Lines changed: 0 additions & 17 deletions
This file was deleted.

integration_testing/features/manage-account/report-issue.feature

Lines changed: 0 additions & 23 deletions
This file was deleted.

integration_testing/features/manage-account/request-more-storage-space.feature

Lines changed: 0 additions & 19 deletions
This file was deleted.

integration_testing/features/manage-account/review-used-storage.feature

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)