Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

Steps definitions related to mod_workshop.

Copyright: 2014 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 186 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class


Class: behat_mod_workshop  - X-Ref

Steps definitions related to mod_workshop.

i_change_phase_in_workshop_to($workshopname, $phase)   X-Ref
Changes the submission phase for the workshop.

param: string $questiontype
param: string $workshopname

i_add_a_submission_in_workshop_as($workshopname, $table)   X-Ref
Adds or edits a student workshop submission.

param: string $workshopname
param: TableNode $table data to fill the submission form with, must contain 'Title'

i_edit_assessment_form_in_workshop_as($workshopname, $table)   X-Ref
Sets the workshop assessment form.

param: string $workshopname
param: TableNode $table data to fill the submission form with, must contain 'Title'

i_assess_submission_in_workshop_as($submission, $workshopname, TableNode $table)   X-Ref
Peer-assesses a workshop submission.

param: string $submission
param: string $workshopname
param: TableNode $table

i_should_see_grade_for_workshop_participant_set_by_peer($grade, $participant, $reviewer)   X-Ref
Checks that the user has particular grade set by his reviewing peer in workshop

param: string $grade
param: string $participant
param: string $reviewer

i_set_portfolio_instance_to($portfolioinstance, $value)   X-Ref
Configure portfolio plugin, set value for portfolio instance

param: string $portfolioinstance
param: string $value