public function ElementContext::assertNoVerticalTab in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
- 8 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
- 8.3 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
- 8.4 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
Asserts that a specific vertical tab does not exist.
@Then I should not see a :tab vertical tab @Then I should not 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::assertNoVerticalTab()
- ElementContext::assertNotVerticalTabMultiple in tests/
contexts/ ElementContext.behat.inc - Asserts that a set of specific vertical tabs exists.
File
- tests/
contexts/ ElementContext.behat.inc, line 246
Class
- ElementContext
- Contains miscellaneous step definitions for working with HTML elements.
Namespace
Acquia\LightningExtension\ContextCode
public function assertNoVerticalTab($tab, ElementInterface $container = NULL) {
$this
->assertSession()
->elementNotExists('named', [
'link',
$tab,
], $this
->assertVerticalTabs($container));
}