/** * @param string $actionName * @param string $element * * @When /^I (delete) the "([^"]*)" job$/ * @Given /^I click on the "([^"]*)" action of the row which contains "([^"]*)"$/ */ public function iClickOnTheActionOfTheRowWhichContains($actionName, $element) { $action = ucfirst(strtolower($actionName)); $this->datagrid->clickOnAction($element, $action); $this->wait(); }