public function FeatureContext::assertRegionVariationLinkClick in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::assertRegionVariationLinkClick()
@When I click :link link for the :variation_set set :variation variation
Throws
\Exception If the menu or link cannot be found.
File
- behat-tests/
features/ bootstrap/ FeatureContext.php, line 465
Class
- FeatureContext
- Defines application features from the specific context.
Code
public function assertRegionVariationLinkClick($link, $variation_set, $variation) {
$element = $this
->assertRegionVariationHasLink($variation_set, $variation, $link);
if (!empty($element)) {
$element
->click();
}
}