MOBILE-3294: Update definitions to match testing document

main
Noel De Martin 2020-06-15 17:11:16 +02:00
parent 233b18f87d
commit ff2ffeb077
16 changed files with 76 additions and 69 deletions

View File

@ -20,7 +20,7 @@ Feature: Test basic usage of assignment activity in app
| assign | C1 | assign1 | assignment1 | Test assignment description1 | 1 | 1029844800 | manual | | assign | C1 | assign1 | assignment1 | Test assignment description1 | 1 | 1029844800 | manual |
@app @3.8.0 @app @3.8.0
Scenario: Create, edit and submit an assignment as a student, view it as a teacher Scenario: View assign description, due date & View list of student submissions (as teacher) & View own submission or student submission
# 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"
@ -65,7 +65,7 @@ Feature: Test basic usage of assignment activity in app
And I should see "Submission test edited" And I should see "Submission test edited"
@app @3.8.0 @app @3.8.0
Scenario: Add new attempt from previous submission Scenario: Edit/Add submission (online text) & Add new attempt from previous submission & Submit for grading
# 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"
@ -121,7 +121,7 @@ Feature: Test basic usage of assignment activity in app
And I should see "Submission test 2nd attempt" And I should see "Submission test 2nd attempt"
@app @3.8.0 @app @3.8.0
Scenario: Add offline submission and synchronise it 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 "Recently accessed courses" in the app

View File

@ -20,7 +20,7 @@ Feature: Test basic usage of chat in app
| chat | Test chat name | Test chat | C1 | chat | 0 | | chat | Test chat name | Test chat | C1 | chat | 0 |
@app @3.8.0 @app @3.8.0
Scenario: Send and read messages, send beeps and view connected users Scenario: Receive and send messages & See connected users, beep and talk to
# Send messages as student1 # Send messages as student1
When I enter the app When I enter the app
And I log in as "student1" And I log in as "student1"
@ -57,7 +57,7 @@ Feature: Test basic usage of chat in app
Then I should see "Hi David, I am Pau." Then I should see "Hi David, I am Pau."
@app @3.8.0 @app @3.8.0
Scenario: View past sessions shown for >=3.5 Scenario: Past sessions shown for >=3.5
# Send messages as student1 # Send messages as student1
Given I enter the app Given I enter the app
And I log in as "student1" And I log in as "student1"

View File

@ -18,7 +18,7 @@ Feature: Test basic usage of choice activity in app
| student1 | C1 | student | | student1 | C1 | student |
@app @3.8.0 @app @3.8.0
Scenario: Student sends a single choice answer and views the results Scenario: Answer a choice (multi or single, update answer) & View results
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 |
@ -44,7 +44,7 @@ Feature: Test basic usage of choice activity in app
And I should see "Option 3: 0" And I should see "Option 3: 0"
@app @3.8.0 @app @3.8.0
Scenario: Student sends, changes and removes a multi choice answer Scenario: Answer a choice (multi or single, update answer) & View results & Delete 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 |
@ -75,7 +75,7 @@ Feature: Test basic usage of choice activity in app
But I should not see "Remove my choice" But I should not see "Remove my choice"
@app @3.8.0 @app @3.8.0
Scenario: Student edits answer offline and synchronises Scenario: Answer and change answer offline & Sync 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 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 |
@ -108,7 +108,7 @@ Feature: Test basic usage of choice activity in app
But I should not see "This Choice has offline data to be synchronised." But I should not see "This Choice has offline data to be synchronised."
@app @3.8.0 @app @3.8.0
Scenario: Student edits answer offline and the app synchronises automatically Scenario: Answer and change answer offline & Auto-sync 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 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 |
@ -136,7 +136,7 @@ Feature: Test basic usage of choice activity in app
But I should not see "This Choice has offline data to be synchronised." But I should not see "This Choice has offline data to be synchronised."
@app @3.8.0 @app @3.8.0
Scenario: Prefetch activity Scenario: Prefetch
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 |

View File

@ -24,7 +24,7 @@ Feature: Test basic usage of comments in app
| data | Data | Data info | C1 | data1 | 1 | | data | Data | Data info | C1 | data1 | 1 |
@app @3.8.0 @app @3.8.0
Scenario: Create and delete comments (database) Scenario: Add comments & Delete comments (database)
# 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"
@ -84,7 +84,7 @@ Feature: Test basic usage of comments in app
Then I should see "Comments (1)" Then I should see "Comments (1)"
@app @3.8.0 @app @3.8.0
Scenario: Create and delete offline comments and synchronise (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 "Recently accessed courses" in the app
@ -146,7 +146,7 @@ Feature: Test basic usage of comments in app
And I should see "Comments (0)" And I should see "Comments (0)"
@app @3.8.0 @app @3.8.0
Scenario: Create and delete comments (glossary) Scenario: Add comments & delete comments (glossary)
# 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"
@ -193,7 +193,7 @@ Feature: Test basic usage of comments in app
And I should see "Comments (1)" And I should see "Comments (1)"
@app @3.8.0 @app @3.8.0
Scenario: Create and delete offline comments and synchronise (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 "Recently accessed courses" in the app
@ -243,7 +243,7 @@ Feature: Test basic usage of comments in app
And I should see "Comments (0)" And I should see "Comments (0)"
@app @3.8.0 @app @3.8.0
Scenario: Create and delete comments (blogs) Scenario: Add comments & Delete comments (blogs)
# 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"
@ -293,7 +293,7 @@ Feature: Test basic usage of comments in app
Then I should see "Comments (0)" Then I should see "Comments (0)"
@app @3.8.0 @app @3.8.0
Scenario: Create and delete offline comments and synchronise (blogs) Scenario: Add comments offline & Delete comments offline & Sync comments (blogs)
# 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"

View File

@ -72,7 +72,7 @@ Feature: Test basic usage of one course in app
| workshop | Test workshop name | Test workshop | C1 | workshop | 0 | 3 | | workshop | Test workshop name | Test workshop | C1 | workshop | 0 | 3 |
@app @3.8.0 @app @3.8.0
Scenario: Student views 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 "Recently accessed courses" in the app
@ -150,7 +150,7 @@ Feature: Test basic usage of one course in app
Then the header should be "Test workshop name" in the app Then the header should be "Test workshop name" in the app
@app @3.8.0 @app @3.8.0
Scenario: Student views 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 "Recently accessed courses" in the app

View File

@ -15,7 +15,7 @@ Feature: Check course completion feature.
| user | course | role | | user | course | role |
| student1 | C1 | student | | student1 | C1 | student |
Scenario: Complete the activity manually by clicking at the completion checkbox. Scenario: Activity completion, marking the checkbox manually
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | course | idnumber | completion | completionview | | activity | name | course | idnumber | completion | completionview |
| forum | First forum | C1 | forum1 | 1 | 0 | | forum | First forum | C1 | forum1 | 1 | 0 |

View File

@ -19,39 +19,22 @@ Feature: Test course list shown on app start tab
| student2 | C1 | student | | student2 | C1 | student |
| student2 | C2 | student | | student2 | C2 | student |
Scenario: Student is registered on one course Scenario: View courses (shortnames not displayed)
When I enter the app When I enter the app
And I log in as "student1" And I log in as "student1"
Then I should see "Course 1" Then I should see "Course 1"
And I should not see "Course 2" But I should not see "Course 2"
But I should not see "C1"
But I should not see "C2"
Scenario: Student is registered on two courses (shortnames not displayed)
When I enter the app When I enter the app
And I log in as "student2" And I log in as "student2"
Then I should see "Course 1" Then I should see "Course 1"
And I should see "Course 2" And I should see "Course 2"
And I should not see "C1" But I should not see "C1"
And I should not see "C2" But I should not see "C2"
Scenario: Student is registered on two courses (shortnames displayed) Scenario: Filter courses
Given the following config values are set as admin:
| courselistshortnames | 1 |
When I enter the app
And I log in as "student2"
Then I should see "Course 1"
And I should see "Course 2"
And I should see "C1"
And I should see "C2"
Scenario: Student uses course list to enter course, then leaves it again
When I enter the app
And I log in as "student2"
And I press "Course 2" near "Course overview" in the app
Then the header should be "Course 2" in the app
And I press the back button in the app
Then the header should be "Acceptance test site" in the app
Scenario: Student uses filter feature to reduce course list
Given the following config values are set as admin: Given the following config values are set as admin:
| courselistshortnames | 1 | | courselistshortnames | 1 |
And the following "courses" exist: And the following "courses" exist:

View File

@ -35,7 +35,7 @@ Feature: Test basic usage of courses in app
| assign | C1 | assign1 | assignment | Test assignment description | 1 | | assign | C1 | assign1 | assignment | Test assignment description | 1 |
@app @3.8.0 @app @3.8.0
Scenario: Dashboard tab displayed in >= 3.3 sites Scenario: "Dashboard" tab displayed in >= 3.3 sites
When I enter the app When I enter the app
And I log in as "student1" And I log in as "student1"
Then I should see "Dashboard" Then I should see "Dashboard"

View File

@ -31,7 +31,7 @@ Feature: Users can manage entries in database activities
| Field description | Link description | | Field description | Link description |
And I log out And I log out
Scenario: Students can add entries to a database in the app Scenario: Create entry
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -44,7 +44,7 @@ Feature: Users can manage entries in database activities
Then I should see "https://moodle.org/" Then I should see "https://moodle.org/"
And I should see "Moodle community site" And I should see "Moodle community site"
Scenario: Students can navigate along single entries in the app Scenario: Browse entry
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -95,7 +95,7 @@ Feature: Users can manage entries in database activities
And "Edit" "link" should not exist And "Edit" "link" should not exist
And "Delete" "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 Scenario: Delete entry (student) & Update entry (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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -143,7 +143,7 @@ Feature: Users can manage entries in database activities
And I should not see "Moodle Cloud" And I should not see "Moodle Cloud"
And I should see "No entries in database" And I should see "No entries in database"
Scenario: Teachers can edit and delete students' entries from list view in the app Scenario: Delete entry (teacher) & Update entry (teacher)
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app

View File

@ -32,7 +32,7 @@ Feature: Users can store entries in database activities when offline and sync wh
And I log out And I log out
@app_from3.7 @app_from3.7
Scenario: Students can add entries to a database in the app while offline Scenario: Create entry (offline)
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -54,7 +54,7 @@ Feature: Users can store entries in database activities when offline and sync wh
And I should not see "This Database has offline data to be synchronised" And I should not see "This Database has offline data to be synchronised"
@app_from3.7 @app_from3.7
Scenario: Students can edit and delete entries to a database in the app while offline Scenario: Update entry (offline) & Delete entry (offline)
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app

View File

@ -25,7 +25,7 @@ Feature: Test basic usage of forum activity in app
| forum | Test forum name | Test forum | C1 | forum | 0 | 1 | 1 | | forum | Test forum name | Test forum | C1 | forum | 0 | 1 | 1 |
@app @3.8.0 @app @3.8.0
Scenario: Student starts a discussion Scenario: Create new discussion
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -40,7 +40,7 @@ Feature: Test basic usage of forum activity in app
Then I should see "An awesome message" Then I should see "An awesome message"
@app_from3.7 @app_from3.7
Scenario: Student posts a reply Scenario: Reply a post
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -57,7 +57,7 @@ Feature: Test basic usage of forum activity in app
And I should see "ReplyMessage" And I should see "ReplyMessage"
@app @3.8.0 @app @3.8.0
Scenario: Student stars a discussion Scenario: Star and pin discussions (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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -94,7 +94,7 @@ Feature: Test basic usage of forum activity in app
Then I should see "normal message" Then I should see "normal message"
@app @3.8.0 @app @3.8.0
Scenario: Teacher star and pin a discussion Scenario: Star and pin discussions (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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -127,7 +127,7 @@ Feature: Test basic usage of forum activity in app
And I should see "Auto-test pin" And I should see "Auto-test pin"
@app_upto3.6.0 @app_upto3.6.0
Scenario: Teacher checks pin and star in 3.6 Scenario: Star and pin discussions (teacher in 3.6)
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -313,7 +313,7 @@ Feature: Test basic usage of forum activity in app
But I should not see "Average of ratings: -" But I should not see "Average of ratings: -"
@app @3.8.0 @app @3.8.0
Scenario: Student replies a post offline Scenario: Reply a post offline
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -344,7 +344,7 @@ Feature: Test basic usage of forum activity in app
But I should not see "Not sent" But I should not see "Not sent"
@app @3.8.0 @app @3.8.0
Scenario: Student creates a new discussion offline and sync forum Scenario: New discussion offline & Sync Forum
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -370,7 +370,7 @@ Feature: Test basic usage of forum activity in app
And I should not see "This Forum has offline data to be synchronised." And I should not see "This Forum has offline data to be synchronised."
@app @3.8.0 @app @3.8.0
Scenario: Student creates a new discussion offline and auto-sync forum Scenario: New discussion offline & Auto-sync forum
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app

View File

@ -17,6 +17,20 @@ Feature: Test basic usage of login in app
| student2 | C1 | student | | student2 | C1 | student |
| teacher1 | C1 | editingteacher | | teacher1 | C1 | editingteacher |
@app @3.8.0
Scenario: Add a new site in the app & Site name in displayed when adding a new site
When I enter the app
And I press the back button in the app
And I set the field "https://campus.example.edu" to "webserver" in the app
And I press "Connect to your site" in the app
Then I should see "Acceptance test site"
When I set the field "Username" to "student1" in the app
And I set the field "Password" to "student1" in the app
And I press "Log in" near "Forgotten your username or password?" in the app
Then I should see "Acceptance test site"
But I should not see "Log in"
@app @3.8.0 @app @3.8.0
Scenario: Add a non existing site Scenario: Add a non existing site
When I enter the app When I enter the app
@ -43,7 +57,7 @@ Feature: Test basic usage of login in app
But I should not see "Acceptance test site" But I should not see "Acceptance test site"
@app @3.8.0 @app @3.8.0
Scenario: Require minium version of the app for a site and site name in displayed when adding a new site Scenario: Require minium version of the app for a site
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 "menu" in the app And I press "menu" in the app

View File

@ -109,7 +109,7 @@ Feature: Test basic usage of messages in app
And I should see "byee" And I should see "byee"
@app @3.8.0 @app @3.8.0
Scenario: User profile, send message, add/remove contact Scenario: User profile: send message, add/remove contact
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 "Messages" in the app And I press "Messages" in the app

View File

@ -142,7 +142,7 @@ Feature: Attempt a quiz in app
And I should see "Not yet graded" And I should see "Not yet graded"
@app @3.8.0 @app @3.8.0
Scenario: Submit a quiz and review a quiz attempt Scenario: Submit a quiz & Review a quiz attempt
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app

View File

@ -106,4 +106,4 @@ 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 should see "Acceptance test site" And I should see "Acceptance test site"

View File

@ -21,7 +21,7 @@ Feature: Test basic usage of survey activity in app
| survey | Test survey name | Test survey | C1 | survey | 0 | | survey | Test survey name | Test survey | C1 | survey | 0 |
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey ATTLS and see results Scenario: Answer a survey & View results (ATTLS)
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 "Course overview" in the app And I press "Course 1" near "Course overview" in the app
@ -75,7 +75,7 @@ Feature: Test basic usage of survey activity in app
And I should see "1 people have completed this survey so far" And I should see "1 people have completed this survey so far"
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey of critical incidents and see results Scenario: Answer a survey & View results (Critical incidents)
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template |course | idnumber | groupmode | | activity | name | intro | template |course | idnumber | groupmode |
| survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 | | survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 |
@ -83,6 +83,11 @@ Feature: Test basic usage of survey activity in app
And I log in as "student1" And I log in as "student1"
And I press "Course 1" near "Course overview" in the app And I press "Course 1" near "Course overview" in the app
And I press "Test survey critical incidents" in the app And I press "Test survey critical incidents" in the app
And I set the field with xpath "//textarea[@aria-label='At what moment in class were you most engaged as a learner?']" to "1st answer"
And I set the field with xpath "//textarea[@aria-label='At what moment in class were you most distanced as a learner?']" to "2nd answer"
And I set the field with xpath "//textarea[@aria-label='What action from anyone in the forums did you find most affirming or helpful?']" to "3rd answer"
And I set the field with xpath "//textarea[@aria-label='What action from anyone in the forums did you find most puzzling or confusing?']" to "4th answer"
And I set the field with xpath "//textarea[@aria-label='What event surprised you most?']" to "5th answer"
And I press "Submit" in the app And I press "Submit" in the app
And I press "OK" in the app And I press "OK" in the app
Then I should see "Results" Then I should see "Results"
@ -91,9 +96,14 @@ Feature: Test basic usage of survey activity in app
And I switch to the browser tab opened by the app And I switch to the browser tab opened by the app
And I log in as "student1" And I log in as "student1"
Then I should see "Test survey critical incidents" Then I should see "Test survey critical incidents"
And I should see "1st answer"
And I should see "2nd answer"
And I should see "3rd answer"
And I should see "4th answer"
And I should see "5th answer"
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey of Colles (actual) and see results Scenario: Answer a survey & View results (Colles actual)
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template |course | idnumber | groupmode | | activity | name | intro | template |course | idnumber | groupmode |
| survey | Test survey Colles (actual) | Test survey1 | 1 | C1 | survey1 | 0 | | survey | Test survey Colles (actual) | Test survey1 | 1 | C1 | survey1 | 0 |
@ -162,7 +172,7 @@ Feature: Test basic usage of survey activity in app
And I should see "1 people have completed this survey so far" And I should see "1 people have completed this survey so far"
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey of Colles (preferred) and see results Scenario: Answer a survey & View results (Colles preferred)
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template | course | idnumber | groupmode | | activity | name | intro | template | course | idnumber | groupmode |
| survey | Test survey Colles (preferred) | Test survey1 | 2 | C1 | survey1 | 0 | | survey | Test survey Colles (preferred) | Test survey1 | 2 | C1 | survey1 | 0 |
@ -231,7 +241,7 @@ Feature: Test basic usage of survey activity in app
And I should see "1 people have completed this survey so far" And I should see "1 people have completed this survey so far"
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey of Colles (preferred and actual) and see results Scenario: Answer a survey & View results (Colles preferred amd actual)
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template | course | idnumber | groupmode | | activity | name | intro | template | course | idnumber | groupmode |
| survey | Test survey Colles (preferred and actual) | Test survey1 | 3 | C1 | survey1 | 0 | | survey | Test survey Colles (preferred and actual) | Test survey1 | 3 | C1 | survey1 | 0 |
@ -348,7 +358,7 @@ Feature: Test basic usage of survey activity in app
And I should see "1 people have completed this survey so far" And I should see "1 people have completed this survey so far"
@app @3.8.0 @app @3.8.0
Scenario: Student answers a survey offline and sync survey Scenario: Answer survey offline & Sync survey
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template | course | idnumber | groupmode | | activity | name | intro | template | course | idnumber | groupmode |
| survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 | | survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 |
@ -371,7 +381,7 @@ Feature: Test basic usage of survey activity in app
But I should not see "This Survey has offline data to be synchronised." But I should not see "This Survey has offline data to be synchronised."
@app @3.8.0 @app @3.8.0
Scenario: Prefetch and auto-sync Scenario: Prefetch & Auto-sync survey
Given the following "activities" exist: Given the following "activities" exist:
| activity | name | intro | template | course | idnumber | groupmode | | activity | name | intro | template | course | idnumber | groupmode |
| survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 | | survey | Test survey critical incidents | Test survey1 | 5 | C1 | survey1 | 0 |