Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]
Steps definitions related with blocks.
Copyright: | 2012 David MonllaĆ³ |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 200 lines (8 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
Class: behat_blocks - X-Ref
Blocks management steps definitions.i_add_the_block($blockname) X-Ref |
Adds the selected block. Editing mode must be previously enabled. param: string $blockname |
i_add_the_block_to_the_region(string $blockname, string $region) X-Ref |
Adds the selected block to the specified region Editing mode must be previously enabled. param: string $blockname param: string $region |
i_add_the_block_to_the_region_with(string $blockname, string $region, TableNode $data) X-Ref |
Adds the selected block to the specified region and fills configuration form. Editing mode must be previously enabled. param: string $blockname param: string $region param: TableNode $data |
i_add_the_block_if_not_present($blockname) X-Ref |
Adds the selected block if it is not already present. Editing mode must be previously enabled. param: string $blockname |
i_open_the_blocks_action_menu($blockname) X-Ref |
Opens a block's actions menu if it is not already opened. param: string $blockname |
i_configure_the_block($blockname) X-Ref |
Clicks on Configure block for specified block. Page must be in editing mode. Argument block_name may be either the name of the block or CSS class of the block. param: string $blockname |
the_add_block_selector_should_contain_block($blockname) X-Ref |
Ensures that block can be added to the page but does not actually add it. param: string $blockname |
the_add_block_selector_should_not_contain_block($blockname) X-Ref |
Ensures that block can not be added to the page. param: string $blockname |