MOBILE-3297 behat: Behat basic test for survey

main
David Castellón 2019-12-13 11:47:53 +01:00
parent df1e61a955
commit ca18c677e2
9 changed files with 414 additions and 189 deletions

View File

@ -0,0 +1,63 @@
@mod @mod_choice @app @javascript
Feature: Test basic usage in app
In order to participate in the choice while using the mobile app
As a student
I need basic choice functionality to work
Background:
Given the following "courses" exist:
| fullname | shortname |
| Course 1 | C1 |
And the following "users" exist:
| username |
| teacher1 |
| student1 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
Scenario: Student sends their single choice
Given the following "activities" exist:
| activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults |
| choice | Test single choice name | Test single choice description | C1 | choice1 | Option 1, Option 2, Option 3 | 0 | 0 | 1 |
When I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Test single choice name" in the app
And I press "Option 1" in the app
And I press "Option 2" in the app
And I press "Save my choice" in the app
And I should see "Are you sure"
And I press "OK" in the app
Then I should see "Option 1: 0"
And I should see "Option 2: 1"
And I should see "Option 3: 0"
And I should not see "Remove my choice"
Scenario: Student sends, changes and remove their multi choice
Given the following "activities" exist:
| activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults |
| choice | Test multi choice name | Test multi choice description | C1 | choice2 | Option 1, Option 2, Option 3 | 1 | 1 | 1 |
When I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Test multi choice name" in the app
And I press "Option 1" in the app
And I press "Option 2" in the app
And I press "Save my choice" in the app
Then I should see "Option 1: 1"
And I should see "Option 2: 1"
And I should see "Option 3: 0"
And I should see "Remove my choice"
And I press "Option 1" in the app
And I press "Option 3" in the app
And I press "Save my choice" in the app
And I should see "Option 1: 0"
And I should see "Option 2: 1"
And I should see "Option 3: 1"
And I press "Remove my choice" in the app
And I should see "Are you sure"
And I press "OK" in the app
And I should not see "Remove my choice"
And I should see "The results are not currently viewable"

View File

@ -5,19 +5,27 @@ Feature: Test basic usage in app
I need basic choice functionality to work I need basic choice functionality to work
Background: Background:
Given the following "courses" exist: Given the following "users" exist:
| fullname | shortname | | username | firstname | lastname | email |
| Course 1 | C1 | | teacher1 | Teacher | teacher | teacher1@example.com |
And the following "users" exist: | student1 | Student | student | student1@example.com |
| username | | student2 | Student | 2 | student2@example.com |
| teacher1 | | student3 | Student | 3 | student3@example.com |
| student1 | And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "course enrolments" exist: And the following "course enrolments" exist:
| user | course | role | | user | course | role |
| teacher1 | C1 | editingteacher | | teacher1 | C1 | editingteacher |
| student1 | C1 | student | | student1 | C1 | student |
| student2 | C1 | student |
| student3 | C1 | student |
And the following "activities" exist:
| activity | name | intro | course | idnumber | option |
| choice | Choice name | Test choice description | C1 | choice1 | Option 1, Option 2, Option 3 |
Scenario: Student sends their single choice @3.8.0 @OK
Scenario: Student sends their single choice, views results and sync.
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults | | activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults |
| choice | Test single choice name | Test single choice description | C1 | choice1 | Option 1, Option 2, Option 3 | 0 | 0 | 1 | | choice | Test single choice name | Test single choice description | C1 | choice1 | Option 1, Option 2, Option 3 | 0 | 0 | 1 |
@ -34,8 +42,17 @@ Feature: Test basic usage in app
And I should see "Option 2: 1" And I should see "Option 2: 1"
And I should see "Option 3: 0" And I should see "Option 3: 0"
And I should not see "Remove my choice" And I should not see "Remove my choice"
And I pause
And I press "arrow back" in the app
And I press "Test single choice name" in the app
And I should see "Option 1: 0"
And I should see "Option 2: 1"
And I should see "Option 3: 0"
And I
And I pause
Scenario: Student sends, changes and remove their multi choice @3.8.0 @OK
Scenario: Student sends, changes and remove their multi choice
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults | | activity | name | intro | course | idnumber | option | allowmultiple | allowupdate | showresults |
| choice | Test multi choice name | Test multi choice description | C1 | choice2 | Option 1, Option 2, Option 3 | 1 | 1 | 1 | | choice | Test multi choice name | Test multi choice description | C1 | choice2 | Option 1, Option 2, Option 3 | 1 | 1 | 1 |
@ -58,6 +75,33 @@ Feature: Test basic usage in app
And I should see "Option 3: 1" And I should see "Option 3: 1"
And I press "Remove my choice" in the app And I press "Remove my choice" in the app
And I should see "Are you sure" And I should see "Are you sure"
And I press "OK" in the app And I press "Delete" in the app
And I should not see "Remove my choice" And I should not see "Remove my choice"
And I should see "The results are not currently viewable" And I should see "The results are not currently viewable"
@3.8.0 @OK
Scenario: Download student choice in text format
When I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Choice name" in the app
And I press "Option 1" in the app
And I press "Option 2" in the app
And I press "Save my choice" in the app
And I should see "Are you sure"
And I press "OK" in the app
When I enter the app
And I log in as "teacher1"
And I press "Course 1" near "Course overview" in the app
And I press "Choice name" in the app
And I press "Information" 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 "View 1 responses"
And I press "Download in text format"
And I close the browser tab opened by the app

View File

@ -1,8 +1,5 @@
@mod @mod_data @app @javascript @mod @mod_data @app @javascript
Feature: Users can manage entries in database activities Feature: Trying options moodle mobile
In order to populate databases
As a user
I need to add and manage entries to databases
Background: Background:
Given the following "users" exist: Given the following "users" exist:
@ -21,179 +18,29 @@ Feature: Users can manage entries in database activities
And the following "activities" exist: And the following "activities" exist:
| activity | name | intro | course | idnumber | | activity | name | intro | course | idnumber |
| data | Web links | Useful links | C1 | data1 | | data | Web links | Useful links | C1 | data1 |
And I log in as "teacher1"
And I am on "Course 1" course homepage
And I add a "Text input" field to "Web links" database and I fill the form with:
| Field name | URL |
| Field description | URL link |
And I add a "Text input" field to "Web links" database and I fill the form with:
| Field name | Description |
| Field description | Link description |
And I log out
Scenario: Students can add entries to a database in the app Scenario: Teacher create an event
Given I enter the app Given I enter the app
And I log in as "student1" When I log in as "teacher1"
And I press "Course 1" near "Course overview" in the app And I press "calendar" in the app
And I press "Web links" near "General" in the app And I press "close" in the app
And I should see "No entries in database" And I set the field "name" to "Holidays!"
When I press "Add entries" in the app And I press "No selection" in the app
And I set the field "URL" to "https://moodle.org/" in the app And I press "Course 1" in the app
And I set the field "Description" to "Moodle community site" in the app Then I press "Show more..." in the app
And I press "Save" near "Web links" in the app And I set the field "location" to "Moodle"
Then I should see "https://moodle.org/" And I press "Save" in the app
And I should see "Moodle community site"
Scenario: Students can navigate along single entries in the app Scenario: Student change his moodle language
Given I enter the app Given I enter the app
And I log in as "student1" When I log in as "student1"
And I press "Course 1" near "Course overview" in the app And I press "more" near "Timeline" in the app
And I press "Web links" near "General" in the app And I press "App settings" in the app
And I press "Add entries" in the app And I press "General" in the app
And I set the field "URL" to "https://moodle.org/" in the app And I press "Language" in the app
And I set the field "Description" to "Moodle community site" in the app And I press "Español" in the app
And I press "Save" near "Web links" in the app And I pause
When I enter the app And I press "Text size" near "Español" in the app
And I log in as "student2" And I pause
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
And I press "Add entries" in the app
And I set the field "URL" to "https://moodlecloud.com/" in the app
And I set the field "Description" to "Moodle Cloud" in the app
And I press "Save" near "Web links" in the app
And I press "More" near "Moodle community site" in the app
Then I should see "Moodle community site"
And I should not see "Next"
And I should see "Previous"
And I press "Previous" in the app
And I should see "Moodle Cloud"
And I should see "Next"
And I should not see "Previous"
And I press "Next" in the app
And I should see "Moodle community site"
And I should not see "Moodle Cloud"
And I press "back" near "Web links" in the app
And I should see "Moodle community site"
And I should see "Moodle Cloud"
Scenario: Students can not edit or delete other user's entries from list and single view in the app
Given I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
And I press "Add entries" in the app
And I set the field "URL" to "https://moodle.org/" in the app
And I set the field "Description" to "Moodle community site" in the app
And I press "Save" near "Web links" in the app
When I enter the app
And I log in as "student2"
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
Then "Edit" "link" should not exist
And "Delete" "link" should not exist
And I press "More" in the app
And "Edit" "link" should not exist
And "Delete" "link" should not exist
Scenario: Students can edit and delete their own entries from list and single view in the app
Given I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
And I press "Add entries" in the app
And I set the field "URL" to "https://moodle.org/" in the app
And I set the field "Description" to "Moodle community site" in the app
And I press "Save" near "Web links" in the app
When I press "Edit" in the app
And I set the field "URL" to "https://moodlecloud.com/" in the app
And I set the field "Description" to "Moodle Cloud" in the app
And I press "Save" near "Web links" in the app
Then I should not see "https://moodle.org/"
And I should not see "Moodle community site"
And I should see "https://moodlecloud.com/"
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "Cancel" in the app
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "OK" in the app
And I should not see "Moodle Cloud"
And I press "Add entries" in the app
And I set the field "URL" to "https://moodle.org/" in the app
And I set the field "Description" to "Moodle community site" in the app
And I press "Save" near "Web links" in the app
And I press "More" in the app
And I press "Edit" in the app
And I set the field "URL" to "https://moodlecloud.com/" in the app
And I set the field "Description" to "Moodle Cloud" in the app
And I press "Save" near "Web links" in the app
And I should not see "https://moodle.org/"
And I should not see "Moodle community site"
And I should see "https://moodlecloud.com/"
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "Cancel" in the app
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "OK" in the app
And I should not see "Moodle Cloud"
And I should see "No entries in database"
Scenario: Teachers can edit and delete students' entries from list view in the app
Given I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
And I press "Add entries" in the app
And I set the field "URL" to "https://moodle.org/" in the app
And I set the field "Description" to "Moodle community site" in the app
And I press "Save" near "Web links" in the app
And I press "Add entries" in the app
And I set the field "URL" to "https://telegram.org/" in the app
And I set the field "Description" to "Telegram" in the app
And I press "Save" near "Web links" in the app
When I enter the app
And I log in as "teacher1"
And I press "Course 1" near "Course overview" in the app
And I press "Web links" near "General" in the app
Then I should see "https://moodle.org/"
And I should see "Moodle community site"
And I press "Edit" near "Moodle community site" in the app
And I set the field "URL" to "https://moodlecloud.com/" in the app
And I set the field "Description" to "Moodle Cloud" in the app
And I press "Save" near "Web links" in the app
And I should not see "https://moodle.org/"
And I should not see "Moodle community site"
And I should see "https://moodlecloud.com/"
And I should see "Moodle Cloud"
And I press "Delete" near "Moodle Cloud" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "Cancel" in the app
And I should see "Moodle Cloud"
And I press "Delete" near "Moodle Cloud" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "OK" in the app
And I should not see "Moodle Cloud"
And I press "More" in the app
And I should see "https://telegram.org/"
And I should see "Telegram"
And I press "Edit" in the app
And I set the field "URL" to "https://moodlecloud.com/" in the app
And I set the field "Description" to "Moodle Cloud" in the app
And I press "Save" near "Web links" in the app
And I should not see "https://telegram.org/"
And I should not see "Telegram"
And I should see "https://moodlecloud.com/"
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "Cancel" in the app
And I should see "Moodle Cloud"
And I press "Delete" in the app
And I should see "Are you sure you want to delete this entry?"
And I press "OK" in the app
And I should not see "Moodle Cloud"

View File

View File

@ -0,0 +1,46 @@
@mod @mod_data @app @javascript
Feature: Trying options moodle mobile
Background:
Given the following "users" exist:
| username | firstname | lastname | email |
| student1 | Student | 1 | student1@example.com |
| student2 | Student | 2 | student2@example.com |
| teacher1 | Teacher | 1 | teacher1@example.com |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
| student2 | C1 | student |
And the following "activities" exist:
| activity | name | intro | course | idnumber |
| data | Web links | Useful links | C1 | data1 |
Scenario: Teacher create an event
When I enter the app
And I log in as "teacher1"
And I press "calendar" in the app
And I press "close" in the app
And I set the field "name" to "Holidays!"
And I press "No selection" in the app
And I press "Course 1" in the app
Then I press "Show more..." in the app
And I set the field "location" to "Moodle"
And I press "Save" in the app
Scenario: Student change his moodle language
When I enter the app
And I log in as "student1"
And I press "more" near "Timeline" in the app
And I press "App settings" in the app
And I press "General" in the app
And I press "Language" in the app
And I press "Español" in the app
And I pause
And I press "Text size" in the app
And I pause

View File

@ -106,4 +106,5 @@ Feature: Attempt a quiz in app
And I should see "Are you sure" And I should see "Are you sure"
And I should see "OK" And I should see "OK"
And I press "OK" in the app And I press "OK" in the app
And I pause
And I should see "Acceptance test site" And I should see "Acceptance test site"

View File

@ -0,0 +1,68 @@
@mod @mod_quiz @app @javascript
Feature: Attempt a quiz in app
As a student
In order to demonstrate what I know
I need to be able to attempt quizzes
Background:
Given the following "courses" exist:
| fullname | shortname |
| Course 1 | C1 |
And the following "users" exist:
| username |
| student1 |
And the following "course enrolments" exist:
| user | course | role |
| student1 | C1 | student |
And the following "activities" exist:
| activity | name | intro | course | idnumber |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 |
And the following "question categories" exist:
| contextlevel | reference | name |
| Course | C1 | Test questions |
And the following "questions" exist:
| questioncategory | qtype | name | questiontext |
| Test questions | truefalse | TF1 | Text of the first question |
| Test questions | truefalse | TF2 | Text of the second question |
And quiz "Quiz 1" contains the following questions:
| question | page |
| TF1 | 1 |
| TF2 | 2 |
@app_upto3.7.0
Scenario: Next and previous navigation in the 3.6 app
Given I enter the app
And I log in as "student1"
When I press "Course 1" near "Course overview" in the app
And I press "Quiz 1" in the app
And I press "Attempt quiz now" in the app
Then I should see "Text of the first question"
And I should not see "Text of the second question"
And I press "Next" near "Question 1" in the app
And I should see "Text of the second question"
And I should not see "Text of the first question"
And I press "Previous" near "Question 2" in the app
And I should not see "Text of the second question"
And I should see "Text of the first question"
And I press "Next" near "Quiz 1" in the app
And I should see "Text of the second question"
And I should not see "Text of the first question"
And I press "Previous" near "Quiz 1" in the app
And I should not see "Text of the second question"
And I should see "Text of the first question"
And I press "Next" near "Question 1" in the app
And I press "Next" near "Quiz 1" in the app
And I should see "Summary of attempt"
And I press "Return to attempt" in the app
And I should see "Text of the second question"
And I should not see "Text of the first question"
And I press "Next" in the app
And I press "Submit all and finish" in the app
And I should see "Once you submit"
And I press "Cancel" near "Once you submit" in the app
And I should see "Summary of attempt"
And I press "Submit all and finish" in the app
And I press "OK" near "Once you submit" in the app
And I should see "Review"
And I press "home" in the app
And I should see "Acceptance test site"

View File

@ -0,0 +1,70 @@
@mod @mod_quiz @app @javascript
Feature: Trying quizzes in app
As a student
In order to demonstrate what I know
I need to be able to attempt quizzes
As a teacher
I need to see the results
Background:
Given the following "courses" exist:
| fullname | shortname |
| Course 1 | C1 |
And the following "users" exist:
| username |
| student1 |
| teacher1 |
And the following "course enrolments" exist:
| user | course | role |
| student1 | C1 | student |
| teacher1 | C1 | teacher |
And the following "activities" exist:
| activity | name | intro | course | idnumber |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 |
And the following "question categories" exist:
| contextlevel | reference | name |
| Course | C1 | Test questions |
And the following "questions" exist:
| questioncategory | qtype | name | questiontext |
| Test questions | truefalse | TF1 | Text of the first question |
| Test questions | truefalse | TF2 | Text of the second question |
And quiz "Quiz 1" contains the following questions:
| question | page |
| TF1 | 1 |
| TF2 | 2 |
@app_from3.7.1
Scenario: Student attempt a quiz in app and teacher see the results.
Given I enter the app
And I log in as "student1"
When I press "Course 1" near "Course overview" in the app
And I press "Quiz 1" in the app
And I press "Attempt quiz now" in the app
Then I should see "Text of the first question"
And I should not see "Text of the second question"
And I press "True" in the app
And I press "Next" near "Question 1" in the app
And I should see "Text of the second question"
And I should not see "Text of the first question"
And I press "False" in the app
And I press "Clear my choice" in the app
And I press "True" in the app
And I press "Next" in the app
And I press "Submit all and finish" in the app
And I should see "OK"
And I press "OK" in the app
And I should see "Review"
Given I enter the app
And I log in as "teacher1"
When I press "Course 1" near "Course overview" in the app
And I press "Quiz 1" in the app
And I press "Information" 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 "Results"
And I press "Download"
And I pause
And I close the browser tab opened by the app

View File

@ -0,0 +1,86 @@
@mod @mod_survey @app @javascript
Feature: Test basic usage in app
In order to participate in surveys while using the mobile app
As a student
I need basic forum functionality to work
Background:
Given the following "courses" exist:
| fullname | shortname |
| Course 1 | C1 |
And the following "users" exist:
| username |
| student1 |
| teacher1 |
And the following "course enrolments" exist:
| user | course | role |
| student1 | C1 | student |
| teacher1 | C1 | editingteacher |
And the following "activities" exist:
| activity | name | intro | course | idnumber | groupmode |
| survey | Test survey name | Test survey | C1 | survey | 0 |
@Mobile @3.8.0 @OK
Scenario: Student answer a survey and see results
When I enter the app
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Test survey name" in the app
And I press "Choose" near "1. In evaluating what someone says, I focus on the quality of their argument, not on the person who's presenting it." in the app
And I press "Strongly agree" in the app
And I press "Choose" near "2. I like playing devil's advocate - arguing the opposite of what someone is saying." in the app
And I press "Strongly disagree" in the app
And I press "Choose" near "3. I like to understand where other people are 'coming from', what experiences have led them to feel the way they do." in the app
And I press "Somewhat agree" in the app
And I press "Choose" near "4. The most important part of my education has been learning to understand people who are very different to me." in the app
And I press "Somewhat disagree" in the app
And I press "Choose" near "5. I feel that the best way for me to achieve my own identity is to interact with a variety of other people." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "6. I enjoy hearing the opinions of people who come from backgrounds different to mine - it helps me to understand how the same things can be seen in such different ways." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "7. I find that I can strengthen my own position through arguing with someone who disagrees with me." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "8. I am always interested in knowing why people say and believe the things they do." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "9. I often find myself arguing with the authors of books that I read, trying to logically figure out why they're wrong." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "10. It's important for me to remain as objective as possible when I analyze something." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "11. I try to think with people instead of against them." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "12. I have certain criteria I use in evaluating arguments." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "13. I'm more likely to try to understand someone else's opinion than to try to evaluate it." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "14. I try to point out weaknesses in other people's thinking to help them clarify their arguments." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "15. I tend to put myself in other people's shoes when discussing controversial issues, to see why they think the way they do." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "16. One could call my way of analysing things 'putting them on trial' because I am careful to consider all the evidence." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "17. I value the use of logic and reason over the incorporation of my own concerns when solving problems." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "18. I can obtain insight into opinions that differ from mine through empathy." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "19. When I encounter people whose opinions seem alien to me, I make a deliberate effort to 'extend' myself into that person, to try to see how they could have those opinions." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Choose" near "20. I spend time figuring out what's 'wrong' with things. For example, I'll look for something in a literary interpretation that isn't argued well enough." in the app
And I press "Somewhat agree" near "Neither agree nor disagree" in the app
And I press "Submit" in the app
And I press "OK" in the app
And I press "open" in the app
And I switch to the browser tab opened by the app
And I log in as "student1"
Then I should see "You've completed this survey. The graph below shows a summary of your results compared to the class averages."
And I should see "1 people have completed this survey so far"
@Tablet @3.8.0
Scenario: Student answer a survey and see results tablet
When I enter the app
And I change viewport size to "1280x1080"
And I log in as "student1"
And I press "Course 1" near "Course overview" in the app
And I press "Test survey name" in the app
And I pause