protected function moveBlockWithKeyboard($direction,
$block_label, array
$updated_blocks) { $keys =
[ 'up' => 38,
'down' => 40,
];
$key =
$keys[$direction];
$handle =
$this->
findRowHandle($block_label);
$handle->
keyDown($key);
$handle->
keyUp($key);
$handle->
blur();
$this->
assertBlockTable($updated_blocks);
} /**
* Finds the row handle for a block in the draggable table.
*
* @param string $block_label
* The block label.
*
* @return \Behat\Mink\Element\NodeElement
* The row handle element.
*/