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