public function FeatureContext::assertVisitorActionEditLink in Acquia Lift Connector 7.2
@Then I should see the visitor action edit link for the :action action
File
- behat-tests/
features/ bootstrap/ FeatureContext.php, line 632
Class
- FeatureContext
- Defines application features from the specific context.
Code
public function assertVisitorActionEditLink($action_name) {
$element = $this
->getVisitorActionEditLink($action_name);
if (empty($element)) {
throw new \Exception(sprintf('The edit link for %s action was not found in the %s region on page %s', $action_name, 'campaign_workflow_form', $this
->getSession()
->getCurrentUrl()));
}
}