X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/workshop/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
workshop
/
tests
/
behat
/
📁
..
📄
behat_mod_workshop.php
(8.05 KB)
📄
delete_submission.feature
(4.38 KB)
📄
embedded_images.feature
(4.45 KB)
📄
example_submission.feature
(1.81 KB)
📄
export_submission.feature
(4.47 KB)
📄
file_type_restriction.feature
(6.25 KB)
📄
grade_to_pass.feature
(4.87 KB)
📄
grading_strategy.feature
(4.62 KB)
📄
group_mode.feature
(3.81 KB)
📄
submission_types.feature
(9.54 KB)
📄
workshop_activity_completion.feature
(4.4 KB)
📄
workshop_activity_filter.feature
(4.53 KB)
📄
workshop_assessment.feature
(8.86 KB)
📄
workshop_completion_pass_grade.feature
(7.34 KB)
📄
workshop_edit_form.feature
(2.45 KB)
📄
workshop_late_submission.feature
(3.59 KB)
📄
workshop_section_remembered.feature
(1.6 KB)
Editing: example_submission.feature
@mod @mod_workshop @_file_upload Feature: Provide example submission In order to let students practise the assessment process in the workshop As a teacher I need to be able to define example submission and its referential assessment @javascript Scenario: Add example submission with attachments to a workshop # Prepare the users, course, enrolments and the workshop instance. Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Terry1 | Teacher1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | | Course1 | c1 | And the following "course enrolments" exist: | user | course | role | | teacher1 | c1 | editingteacher | And the following "activities" exist: | activity | name | course | idnumber | useexamples | | workshop | TestWorkshop | c1 | workshop1 | 1 | # As a teacher, define the assessment form to be used in the workshop. When I am on the "Course1" course page logged in as teacher1 And I edit assessment form in workshop "TestWorkshop" as: | id_description__idx_0_editor | Aspect1 | | id_description__idx_1_editor | Aspect2 | | id_description__idx_2_editor | | # Add an example submission with an attachment. And I press "Add example submission" And I set the following fields to these values: | Title | First example submission | | Submission content | Just an example but hey, it works! | | Attachment | lib/tests/fixtures/empty.txt | And I press "Save changes" # Make sure that the submission was saved. Then I should see "First example submission" And I should see "Just an example but hey, it works!" And "empty.txt" "link" should exist
Upload File
Create Folder