Merge pull request #31 from NoelDeMartin/MOBILE-3833
MOBILE-3833: Fix behat tests
This commit is contained in:
		
						commit
						44b687bcf2
					
				| @ -23,7 +23,7 @@ Feature: Test basic usage of assignment activity in app | ||||
|     # Create, edit and submit as a student | ||||
|     When I enter the app | ||||
|     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 | ||||
|     Then the header should be "assignment1" 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 | ||||
|     When I enter the app | ||||
|     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 | ||||
|     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 | ||||
|     Given I enter the app | ||||
|     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 "Add submission" 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 | ||||
|     When I enter the app | ||||
|     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 "Participants" 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 | ||||
|     When I enter the app | ||||
|     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 | ||||
|     Then I should find "Reopened" 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 | ||||
|     When I enter the app | ||||
|     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 "Participants" 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 | ||||
|     When I enter the app | ||||
|     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 "Add submission" in the app | ||||
|     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 | ||||
|     When I enter the app | ||||
|     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 "Add submission" in the app | ||||
|     And I switch offline mode to "true" | ||||
|  | ||||
| @ -174,6 +174,7 @@ Feature: Test basic usage of choice activity in app | ||||
|     And I should find "Option 3: 0" in the app | ||||
|     But I should not find "This Choice has offline data to be synchronised." in the app | ||||
| 
 | ||||
|   # TODO remove LMS UI steps in app tests | ||||
|   Scenario: Download students choice in text format | ||||
|     # Submit answer as student | ||||
|     Given the following "activities" exist: | ||||
| @ -199,6 +200,6 @@ Feature: Test basic usage of choice activity in app | ||||
|     And I switch to the browser tab opened by the app | ||||
|     And I log in as "teacher1" | ||||
|     And I press "Actions menu" | ||||
|     And I follow "View 1 responses" | ||||
|     And I follow "Responses" | ||||
|     And I press "Download in text format" | ||||
|     # TODO Then I should find "..." in the downloads folder | ||||
|  | ||||
| @ -28,7 +28,7 @@ Feature: Test basic usage of comments in app | ||||
|     # Create database entry and comment as a teacher | ||||
|     Given I enter the app | ||||
|     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 "Display options" 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 | ||||
|     When I enter the app | ||||
|     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 "add" 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 | ||||
|     When I enter the app | ||||
|     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 "More" 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) | ||||
|     Given I enter the app | ||||
|     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 "Display options" 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 | ||||
|     When I enter the app | ||||
|     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 "add" 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 | ||||
|     When I enter the app | ||||
|     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 "close" 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 | ||||
|     When I enter the app | ||||
|     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 "potato" 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) | ||||
|     When I enter the app | ||||
|     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 "close" 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 | ||||
|     Given I enter the app | ||||
|     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 "Website" in 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 | ||||
|     When I enter the app | ||||
|     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 "Site blog" in the app | ||||
|     Then I should see "Blog test" | ||||
| @ -297,7 +297,7 @@ Feature: Test basic usage of comments in app | ||||
|     # Create blog as a teacher | ||||
|     Given I enter the app | ||||
|     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 "Website" in 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 | ||||
|     When I enter the app | ||||
|     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 "Site blog" in the app | ||||
|     Then I should see "Blog test" | ||||
|  | ||||
| @ -74,7 +74,7 @@ Feature: Test basic usage of one course in app | ||||
|   Scenario: View course contents | ||||
|     When I enter the app | ||||
|     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 | ||||
|     And I should find "Choice course 1" 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 | ||||
|     When I enter the app | ||||
|     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 | ||||
|     And I should find "Choice course 1" 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 | ||||
|     When I enter the app | ||||
|     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 | ||||
|     And I should find "Choice course 1" 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 | ||||
|     Given I enter the app | ||||
|     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 "Course summary" 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 | ||||
|     Given I enter the app | ||||
|     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 "Course summary" in the app | ||||
|     And I press "Open in browser" in the app | ||||
| @ -485,10 +485,11 @@ Feature: Test basic usage of one course in app | ||||
|     And I should find "Test scorm name" in the app | ||||
|     And I should find "Test workshop name" in the app | ||||
| 
 | ||||
|   # TODO remove LMS UI steps in app tests | ||||
|   Scenario: View blocks below/beside contents also when All sections selected | ||||
|     Given I enter the app | ||||
|     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 "Course summary" in the app | ||||
|     And I press "Open in browser" in the app | ||||
| @ -497,20 +498,20 @@ Feature: Test basic usage of one course in app | ||||
|     And I press "Turn editing on" | ||||
|     And I click on "Side panel" "button" | ||||
|     And I follow "Add a block" | ||||
|     And I follow "HTML" | ||||
|     And I follow "Text" | ||||
|     And I click on "#theme_boost-drawers-blocks [aria-label=\"Close drawer\"]" "css_element" | ||||
|     And I click on "Side panel" "button" | ||||
|     And I follow "Add a block" | ||||
|     And I follow "Activities" | ||||
|     And I click on "Actions menu" "icon" in the "#action-menu-toggle-0" "css_element" | ||||
|     And I follow "Configure (new HTML block) block" | ||||
|     And I set the field "HTML block title" to "HTML title test" | ||||
|     And I follow "Configure (new text block) block" | ||||
|     And I set the field "Text block title" to "HTML title test" | ||||
|     And I set the field "Content" to "body test" | ||||
|     And I press "Save changes" | ||||
|     And I close the browser tab opened by the app | ||||
|     When I enter the app | ||||
|     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 | ||||
|     And I should find "Choice course 1" 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              | | ||||
|     When I enter the app | ||||
|     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. | ||||
|     And I should find "0%" 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 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 | ||||
|     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 | ||||
|     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 | ||||
|     And the header should be "Course 2" 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 | ||||
|     And the header should be "Course 3" in the app | ||||
| 
 | ||||
| @ -100,20 +100,21 @@ Feature: Test basic usage of courses in app | ||||
|     And I should find "Course 3" in the app | ||||
|     And I should find "Course 4" in the app | ||||
| 
 | ||||
|   # TODO remove LMS UI steps in app tests | ||||
|   Scenario: Links to actions in Timeline work for teachers/students | ||||
|     # Configure assignment as teacher | ||||
|     When I enter the app | ||||
|     And I log in as "teacher1" | ||||
|     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 "Display options" in the app | ||||
|     And I press "Open in browser" in the app | ||||
|     And I switch to the browser tab opened by the app | ||||
|     And I log in as "teacher1" | ||||
|     And I press "Actions menu" | ||||
|     And I follow "Edit settings" | ||||
|     And I follow "Settings" | ||||
|     And I press "Expand all" | ||||
|     And I click on "duedate[enabled]" "checkbox" | ||||
|     And I click on "gradingduedate[enabled]" "checkbox" | ||||
|  | ||||
| @ -29,7 +29,7 @@ Feature: Test basic usage of glossary in app | ||||
|   Scenario: View a glossary and its terms | ||||
|     When I enter the app | ||||
|     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 "close" 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) | ||||
|     When I enter the app | ||||
|     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 "close" 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" | ||||
|     And I enter the app | ||||
|     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 "close" 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 | ||||
|     When I enter the app | ||||
|     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 "close" 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 | ||||
|     When I enter the app | ||||
|     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 "mountain" in the app | ||||
|     Then I should see "Comments (0)" | ||||
| @ -186,7 +186,7 @@ Feature: Test basic usage of glossary in app | ||||
|     # View comments as a student | ||||
|     When I enter the app | ||||
|     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 "mountain" in the app | ||||
|     Then I should see "Comments (2)" | ||||
| @ -199,7 +199,7 @@ Feature: Test basic usage of glossary in app | ||||
|   Scenario: Prefetch | ||||
|     When I enter the app | ||||
|     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 "close" 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 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 press "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 | ||||
|     When I enter the app | ||||
|     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 switch offline mode to "true" | ||||
|     And I press "close" in the app | ||||
| @ -282,7 +282,7 @@ Feature: Test basic usage of glossary in app | ||||
|     # Create entries as a student | ||||
|     When I enter the app | ||||
|     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 "close" 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 | ||||
|     When I enter the app | ||||
|     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 "mountain" in the app | ||||
|     Then I should see "Average of ratings: -" | ||||
| @ -316,7 +316,7 @@ Feature: Test basic usage of glossary in app | ||||
|     # Rate entries as teacher2 | ||||
|     When I enter the app | ||||
|     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 "mountain" in the app | ||||
|     And I switch offline mode to "true" | ||||
| @ -337,7 +337,7 @@ Feature: Test basic usage of glossary in app | ||||
|     # View ratings as a student | ||||
|     When I enter the app | ||||
|     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 "mountain" in the app | ||||
|     Then the header should be "mountain" in the app | ||||
|  | ||||
| @ -39,7 +39,7 @@ Feature: Test basic usage of login in app | ||||
|     And I set the field "Your site" to "Wrong Site Address" in the app | ||||
|     And I press enter in the app | ||||
|     Then I should find "Cannot connect" in the app | ||||
|     And I should find "Please check the address is correct." in the app | ||||
|     And I should find "Wrong Site Address" in the app | ||||
| 
 | ||||
|   Scenario: Delete a site | ||||
|     When I enter the app | ||||
|  | ||||
| @ -292,7 +292,7 @@ Feature: Test basic usage of messages in app | ||||
|   Scenario: User blocking feature | ||||
|     When I enter the app | ||||
|     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 "Student1 student1" 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 | ||||
|     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 "Student2 student2" 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 | ||||
|     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 "Student1 student1" 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 | ||||
|     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 "Student2 student2" 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 | ||||
|     When I enter the app | ||||
|     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 "Student2 student2" in the app | ||||
|     And I press "Message" in the app | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user