MDL-72116 behat: Fix tests using removed blocks
parent
962d873187
commit
b79dbd2dda
|
@ -23,7 +23,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# Create, edit and submit as a student
|
# Create, edit and submit as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
Then the header should be "assignment1" in the app
|
Then the header should be "assignment1" in the app
|
||||||
And I should find "Test assignment description1" in the app
|
And I should find "Test assignment description1" in the app
|
||||||
|
@ -51,7 +51,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# View as a teacher
|
# View as a teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
Then the header should be "assignment1" in the app
|
Then the header should be "assignment1" in the app
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# Submit first attempt as a student
|
# Submit first attempt as a student
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
And I press "Add submission" in the app
|
And I press "Add submission" in the app
|
||||||
And I set the field "Online text submissions" to "Submission test 1st attempt" in the app
|
And I set the field "Online text submissions" to "Submission test 1st attempt" in the app
|
||||||
|
@ -78,7 +78,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# Allow more attempts as a teacher
|
# Allow more attempts as a teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student student" near "assignment1" in the app
|
And I press "Student student" near "assignment1" in the app
|
||||||
|
@ -91,7 +91,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# Submit second attempt as a student
|
# Submit second attempt as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
Then I should find "Reopened" in the app
|
Then I should find "Reopened" in the app
|
||||||
And I should find "2 out of Unlimited" in the app
|
And I should find "2 out of Unlimited" in the app
|
||||||
|
@ -111,7 +111,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
# View second attempt as a teacher
|
# View second attempt as a teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student student" near "assignment1" in the app
|
And I press "Student student" near "assignment1" in the app
|
||||||
|
@ -121,7 +121,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
Scenario: Add submission offline (online text) & Submit for grading offline & Sync submissions
|
Scenario: Add submission offline (online text) & Submit for grading offline & Sync submissions
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
And I press "Add submission" in the app
|
And I press "Add submission" in the app
|
||||||
And I switch offline mode to "true"
|
And I switch offline mode to "true"
|
||||||
|
@ -142,7 +142,7 @@ Feature: Test basic usage of assignment activity in app
|
||||||
Scenario: Edit an offline submission before synchronising it
|
Scenario: Edit an offline submission before synchronising it
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment1" in the app
|
And I press "assignment1" in the app
|
||||||
And I press "Add submission" in the app
|
And I press "Add submission" in the app
|
||||||
And I switch offline mode to "true"
|
And I switch offline mode to "true"
|
||||||
|
|
|
@ -28,7 +28,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create database entry and comment as a teacher
|
# Create database entry and comment as a teacher
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Data" in the app
|
And I press "Data" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
@ -41,7 +41,7 @@ Feature: Test basic usage of comments in app
|
||||||
And I close the browser tab opened by the app
|
And I close the browser tab opened by the app
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Data" in the app
|
And I press "Data" in the app
|
||||||
And I press "add" in the app
|
And I press "add" in the app
|
||||||
And I set the field "Test field name" to "Test" in the app
|
And I set the field "Test field name" to "Test" in the app
|
||||||
|
@ -60,7 +60,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create and delete comments as a student
|
# Create and delete comments as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Data" in the app
|
And I press "Data" in the app
|
||||||
And I press "More" in the app
|
And I press "More" in the app
|
||||||
And I press "Comments (1)" in the app
|
And I press "Comments (1)" in the app
|
||||||
|
@ -87,7 +87,7 @@ Feature: Test basic usage of comments in app
|
||||||
Scenario: Add comments offline & Delete comments offline & Sync comments (database)
|
Scenario: Add comments offline & Delete comments offline & Sync comments (database)
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Data" in the app
|
And I press "Data" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
@ -100,7 +100,7 @@ Feature: Test basic usage of comments in app
|
||||||
And I close the browser tab opened by the app
|
And I close the browser tab opened by the app
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Data" in the app
|
And I press "Data" in the app
|
||||||
And I press "add" in the app
|
And I press "add" in the app
|
||||||
And I set the field "Test field name" to "Test" in the app
|
And I set the field "Test field name" to "Test" in the app
|
||||||
|
@ -150,7 +150,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create glossary entry and comment as a teacher
|
# Create glossary entry and comment as a teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -169,7 +169,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create and delete comments as a student
|
# Create and delete comments as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "potato" in the app
|
And I press "potato" in the app
|
||||||
And I press "Comments (1)" in the app
|
And I press "Comments (1)" in the app
|
||||||
|
@ -196,7 +196,7 @@ Feature: Test basic usage of comments in app
|
||||||
Scenario: Add comments offline & Delete comments offline & Sync comments (glossary)
|
Scenario: Add comments offline & Delete comments offline & Sync comments (glossary)
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -247,7 +247,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create blog as a teacher
|
# Create blog as a teacher
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "menu" in the app
|
And I press "menu" in the app
|
||||||
And I press "Website" in the app
|
And I press "Website" in the app
|
||||||
And I switch to the browser tab opened by the app
|
And I switch to the browser tab opened by the app
|
||||||
|
@ -268,7 +268,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create and delete comments as a student
|
# Create and delete comments as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "menu" in the app
|
And I press "menu" in the app
|
||||||
And I press "Site blog" in the app
|
And I press "Site blog" in the app
|
||||||
Then I should see "Blog test"
|
Then I should see "Blog test"
|
||||||
|
@ -297,7 +297,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create blog as a teacher
|
# Create blog as a teacher
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "menu" in the app
|
And I press "menu" in the app
|
||||||
And I press "Website" in the app
|
And I press "Website" in the app
|
||||||
And I switch to the browser tab opened by the app
|
And I switch to the browser tab opened by the app
|
||||||
|
@ -318,7 +318,7 @@ Feature: Test basic usage of comments in app
|
||||||
# Create and delete comments as a student
|
# Create and delete comments as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "menu" in the app
|
And I press "menu" in the app
|
||||||
And I press "Site blog" in the app
|
And I press "Site blog" in the app
|
||||||
Then I should see "Blog test"
|
Then I should see "Blog test"
|
||||||
|
|
|
@ -74,7 +74,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: View course contents
|
Scenario: View course contents
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
Then the header should be "Course 1" in the app
|
Then the header should be "Course 1" in the app
|
||||||
And I should find "Choice course 1" in the app
|
And I should find "Choice course 1" in the app
|
||||||
And I should find "assignment" in the app
|
And I should find "assignment" in the app
|
||||||
|
@ -151,7 +151,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: View section contents
|
Scenario: View section contents
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
Then the header should be "Course 1" in the app
|
Then the header should be "Course 1" in the app
|
||||||
And I should find "Choice course 1" in the app
|
And I should find "Choice course 1" in the app
|
||||||
And I should find "assignment" in the app
|
And I should find "assignment" in the app
|
||||||
|
@ -330,7 +330,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: Navigation between sections using the bottom arrows
|
Scenario: Navigation between sections using the bottom arrows
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
Then the header should be "Course 1" in the app
|
Then the header should be "Course 1" in the app
|
||||||
And I should find "Choice course 1" in the app
|
And I should find "Choice course 1" in the app
|
||||||
And I should find "assignment" in the app
|
And I should find "assignment" in the app
|
||||||
|
@ -409,7 +409,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: Self enrol
|
Scenario: Self enrol
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Course summary" in the app
|
And I press "Course summary" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
@ -449,7 +449,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: Guest access
|
Scenario: Guest access
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Course summary" in the app
|
And I press "Course summary" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
@ -488,7 +488,7 @@ Feature: Test basic usage of one course in app
|
||||||
Scenario: View blocks below/beside contents also when All sections selected
|
Scenario: View blocks below/beside contents also when All sections selected
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Course summary" in the app
|
And I press "Course summary" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
@ -510,7 +510,7 @@ Feature: Test basic usage of one course in app
|
||||||
And I close the browser tab opened by the app
|
And I close the browser tab opened by the app
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
Then the header should be "Course 1" in the app
|
Then the header should be "Course 1" in the app
|
||||||
And I should find "Choice course 1" in the app
|
And I should find "Choice course 1" in the app
|
||||||
And I should find "assignment" in the app
|
And I should find "assignment" in the app
|
||||||
|
|
|
@ -22,7 +22,7 @@ Feature: Check course completion feature.
|
||||||
| forum | Second forum | C1 | forum2 | 1 | 0 |
|
| forum | Second forum | C1 | forum2 | 1 | 0 |
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
# Set activities as completed.
|
# Set activities as completed.
|
||||||
And I should find "0%" in the app
|
And I should find "0%" in the app
|
||||||
And I press "Mark First forum as done" in the app
|
And I press "Mark First forum as done" in the app
|
||||||
|
|
|
@ -60,7 +60,7 @@ Feature: Test basic usage of courses in app
|
||||||
And I should find "Course 2" in the app
|
And I should find "Course 2" in the app
|
||||||
And I should find "Course 3" in the app
|
And I should find "Course 3" in the app
|
||||||
|
|
||||||
When I press "Course 1" near "Recently accessed courses" in the app
|
When I press "Course 1" near "Course overview" in the app
|
||||||
Then I should find "Choice course 1" in the app
|
Then I should find "Choice course 1" in the app
|
||||||
And the header should be "Course 1" in the app
|
And the header should be "Course 1" in the app
|
||||||
|
|
||||||
|
@ -70,12 +70,12 @@ Feature: Test basic usage of courses in app
|
||||||
|
|
||||||
When I press the back button in the app
|
When I press the back button in the app
|
||||||
And I press the back button in the app
|
And I press the back button in the app
|
||||||
And I press "Course 2" near "Recently accessed courses" in the app
|
And I press "Course 2" near "Course overview" in the app
|
||||||
Then I should find "Choice course 2" in the app
|
Then I should find "Choice course 2" in the app
|
||||||
And the header should be "Course 2" in the app
|
And the header should be "Course 2" in the app
|
||||||
|
|
||||||
When I press the back button in the app
|
When I press the back button in the app
|
||||||
And I press "Course 3" near "Recently accessed courses" in the app
|
And I press "Course 3" near "Course overview" in the app
|
||||||
Then I should find "Choice course 3" in the app
|
Then I should find "Choice course 3" in the app
|
||||||
And the header should be "Course 3" in the app
|
And the header should be "Course 3" in the app
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ Feature: Test basic usage of courses in app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
Then I should find "Timeline" in the app
|
Then I should find "Timeline" in the app
|
||||||
|
|
||||||
Given I press "Course 1" near "Recently accessed courses" in the app
|
Given I press "Course 1" near "Course overview" in the app
|
||||||
And I press "assignment" in the app
|
And I press "assignment" in the app
|
||||||
And I press "Display options" in the app
|
And I press "Display options" in the app
|
||||||
And I press "Open in browser" in the app
|
And I press "Open in browser" in the app
|
||||||
|
|
|
@ -29,7 +29,7 @@ Feature: Test basic usage of glossary in app
|
||||||
Scenario: View a glossary and its terms
|
Scenario: View a glossary and its terms
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -56,7 +56,7 @@ Feature: Test basic usage of glossary in app
|
||||||
Scenario: Change filters (include search)
|
Scenario: Change filters (include search)
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -94,7 +94,7 @@ Feature: Test basic usage of glossary in app
|
||||||
When the "glossary" filter is "on"
|
When the "glossary" filter is "on"
|
||||||
And I enter the app
|
And I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -139,7 +139,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# Create entries as a student
|
# Create entries as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -164,7 +164,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# Write comments as a teacher
|
# Write comments as a teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "mountain" in the app
|
And I press "mountain" in the app
|
||||||
Then I should see "Comments (0)"
|
Then I should see "Comments (0)"
|
||||||
|
@ -186,7 +186,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# View comments as a student
|
# View comments as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "mountain" in the app
|
And I press "mountain" in the app
|
||||||
Then I should see "Comments (2)"
|
Then I should see "Comments (2)"
|
||||||
|
@ -199,7 +199,7 @@ Feature: Test basic usage of glossary in app
|
||||||
Scenario: Prefetch
|
Scenario: Prefetch
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -222,7 +222,7 @@ Feature: Test basic usage of glossary in app
|
||||||
And I press "Download" in the app
|
And I press "Download" in the app
|
||||||
And I press the back button in the app
|
And I press the back button in the app
|
||||||
And I press the back button in the app
|
And I press the back button in the app
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I switch offline mode to "true"
|
And I switch offline mode to "true"
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
Then the header should be "Test glossary" in the app
|
Then the header should be "Test glossary" in the app
|
||||||
|
@ -240,7 +240,7 @@ Feature: Test basic usage of glossary in app
|
||||||
Scenario: Sync
|
Scenario: Sync
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I switch offline mode to "true"
|
And I switch offline mode to "true"
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
|
@ -282,7 +282,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# Create entries as a student
|
# Create entries as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "close" in the app
|
And I press "close" in the app
|
||||||
And I set the field "Concept" to "potato" in the app
|
And I set the field "Concept" to "potato" in the app
|
||||||
|
@ -304,7 +304,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# Rate entries as teacher1
|
# Rate entries as teacher1
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "mountain" in the app
|
And I press "mountain" in the app
|
||||||
Then I should see "Average of ratings: -"
|
Then I should see "Average of ratings: -"
|
||||||
|
@ -316,7 +316,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# Rate entries as teacher2
|
# Rate entries as teacher2
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher2"
|
And I log in as "teacher2"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "mountain" in the app
|
And I press "mountain" in the app
|
||||||
And I switch offline mode to "true"
|
And I switch offline mode to "true"
|
||||||
|
@ -337,7 +337,7 @@ Feature: Test basic usage of glossary in app
|
||||||
# View ratings as a student
|
# View ratings as a student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Test glossary" in the app
|
And I press "Test glossary" in the app
|
||||||
And I press "mountain" in the app
|
And I press "mountain" in the app
|
||||||
Then the header should be "mountain" in the app
|
Then the header should be "mountain" in the app
|
||||||
|
|
|
@ -292,7 +292,7 @@ Feature: Test basic usage of messages in app
|
||||||
Scenario: User blocking feature
|
Scenario: User blocking feature
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student2"
|
And I log in as "student2"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student1 student1" in the app
|
And I press "Student1 student1" in the app
|
||||||
And I press "Message" in the app
|
And I press "Message" in the app
|
||||||
|
@ -303,7 +303,7 @@ Feature: Test basic usage of messages in app
|
||||||
|
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student2 student2" in the app
|
And I press "Student2 student2" in the app
|
||||||
And I press "Message" in the app
|
And I press "Message" in the app
|
||||||
|
@ -311,7 +311,7 @@ Feature: Test basic usage of messages in app
|
||||||
|
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student2"
|
And I log in as "student2"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student1 student1" in the app
|
And I press "Student1 student1" in the app
|
||||||
And I press "Message" in the app
|
And I press "Message" in the app
|
||||||
|
@ -325,7 +325,7 @@ Feature: Test basic usage of messages in app
|
||||||
|
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student2 student2" in the app
|
And I press "Student2 student2" in the app
|
||||||
And I press "Message" in the app
|
And I press "Message" in the app
|
||||||
|
@ -337,7 +337,7 @@ Feature: Test basic usage of messages in app
|
||||||
Scenario: Mute Unmute conversations
|
Scenario: Mute Unmute conversations
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I press "Course 1" near "Recently accessed courses" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
And I press "Participants" in the app
|
And I press "Participants" in the app
|
||||||
And I press "Student2 student2" in the app
|
And I press "Student2 student2" in the app
|
||||||
And I press "Message" in the app
|
And I press "Message" in the app
|
||||||
|
|
Loading…
Reference in New Issue