. declare(strict_types=1); // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. require_once(__DIR__ . '/../../../lib/behat/behat_base.php'); /** * Behat step definitions for Reportbuilder * * @package core_reportbuilder * @copyright 2021 Paul Holden * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class behat_reportbuilder extends behat_base { /** * Return the list of partial named selectors * * @return behat_component_named_selector[] */ public static function get_partial_named_selectors(): array { return [ new behat_component_named_selector('Filter', [ ".//*[@data-region='filters-form']//*[@data-filter-for=%locator%]", ]), ]; } }