Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]

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