X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/feedback/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
feedback
/
tests
/
behat
/
📁
..
📄
anonymous.feature
(11.18 KB)
📄
behat_mod_feedback.php
(9.8 KB)
📄
coursemapping.feature
(11.2 KB)
📄
export_import.feature
(6.43 KB)
📄
feedback_activity_completion.feature
(3.43 KB)
📄
feedback_no_calendar_capabilities.feature
(2.04 KB)
📄
groups.feature
(14.58 KB)
📄
multichoice.feature
(21.55 KB)
📄
multipleattempt.feature
(2.46 KB)
📄
non_anonymous.feature
(7.24 KB)
📄
preview_questions.feature
(2.18 KB)
📄
question_types.feature
(6.89 KB)
📄
question_types_non_anon.feature
(7.21 KB)
📄
show_nonrespondents.feature
(2.77 KB)
📄
templates.feature
(9.97 KB)
Editing: multipleattempt.feature
@mod @mod_feedback Feature: Non anonymous feedback with multiple submissions In order to modify feedback response As a student I need to be able to see previous response when I re-submit feedback Background: Given the following "users" exist: | username | firstname | lastname | | user1 | Username | 1 | | user2 | Username | 2 | | teacher | Teacher | 3 | | manager | Manager | 4 | And the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "course enrolments" exist: | user | course | role | | user1 | C1 | student | | user2 | C1 | student | | teacher | C1 | editingteacher | And the following "activities" exist: | activity | name | course | idnumber | anonymous | publish_stats | multiple_submit | section | | feedback | Course feedback | C1 | feedback1 | 2 | 1 | 1 | 0 | Scenario: Completing a feedback second time When I log in as "teacher" And I am on "Course 1" course homepage And I follow "Course feedback" And I click on "Edit questions" "link" in the "[role=main]" "css_element" And I add a "Short text answer" question to the feedback with: | Question | first | | Label | shorttext1 | | Maximum characters accepted | 200 | And I add a page break to the feedback And I add a "Short text answer" question to the feedback with: | Question | second | | Label | shorttext2 | | Maximum characters accepted | 200 | And I log out And I log in as "user1" And I am on "Course 1" course homepage And I follow "Course feedback" And I follow "Answer the questions" And I set the following fields to these values: | first | 111 | And I press "Next" And I set the following fields to these values: | second | 222 | And I press "Submit your answers" And I log out And I log in as "user1" And I am on "Course 1" course homepage And I follow "Course feedback" And I follow "Answer the questions" Then the field "first" matches value "111" And I press "Next" And the field "second" matches value "222" And I set the following fields to these values: | second | 333 | And I press "Submit your answers"
Upload File
Create Folder