public function ElementContext::assertVerticalTab in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTab()
- 8 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTab()
- 8.3 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTab()
- 8.4 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTab()
Asserts that a specific vertical tab exists.
@Then I should see a :tab vertical tab @Then I should see the :tab vertical tab
Parameters
string $tab: The text of the tab.
ElementInterface $container: (optional) The element containing the vertical tab set.
Return value
\Behat\Mink\Element\NodeElement The vertical tab.
1 call to ElementContext::assertVerticalTab()
- ElementContext::assertVerticalTabMultiple in tests/
contexts/ ElementContext.behat.inc - Asserts that a specific set of vertical tabs exists.
File
- tests/
contexts/ ElementContext.behat.inc, line 222
Class
- ElementContext
- Contains miscellaneous step definitions for working with HTML elements.
Namespace
Acquia\LightningExtension\ContextCode
public function assertVerticalTab($tab, ElementInterface $container = NULL) {
return $this
->assertSession()
->elementExists('named', [
'link',
$tab,
], $this
->assertVerticalTabs($container));
}