Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(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