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: workshop_section_remembered.feature
@mod @mod_workshop Feature: Workshop should remember collapsed/expanded sections in view page. In order to keep the last state of collapsed/expanded sections in view page As an user I need to be able to choose collapsed/expanded, and after refresh the page it will display collapsed/expanded I chose before. Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student1 | Student | 1 | student1@example.com | And the following "courses" exist: | fullname | shortname | | Course1 | c1 | And the following "course enrolments" exist: | user | course | role | | teacher1 | c1 | editingteacher | | student1 | c1 | student | And the following "activities" exist: | activity | name | course | idnumber | | workshop | Workshop 1 | c1 | workshop1 | @javascript Scenario: Check section in view page can be remembered. Given I am on the "Workshop 1" "workshop activity" page logged in as teacher1 When I change phase in workshop "Workshop 1" to "Submission phase" And I wait until the page is ready And I am on the "Workshop 1" "workshop activity" page logged in as student1 Then I should see "You have not submitted your work yet" And I click on "Your submission" "link" And I should not see "You have not submitted your work yet" And I reload the page And I wait until the page is ready And I should not see "You have not submitted your work yet"
Upload File
Create Folder