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.

(no description)

File Size: 59 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 lib/behat/behat_base.php
 question/tests/behat/behat_question_base.php

Defines 1 class

behat_qbank_usage:: (2 methods):
  i_click_on_the_usage_column()
  i_should_see_on_the_usage_column()


Class: behat_qbank_usage  - X-Ref

Steps definitions to deal with the usage in question.

i_click_on_the_usage_column($linkname)   X-Ref
Looks for a table, then looks for a row that contains the given text.
Once it finds the right row, it clicks a link in that row.

param: string $linkname

i_should_see_on_the_usage_column($linkdata)   X-Ref
Looks for the appropriate usage count in the column.

param: string $linkdata