You are here

public function ElementContext::assertNoVerticalTab in Lightning Core 8.5

Same name and namespace in other branches
  1. 8 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
  2. 8.2 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
  3. 8.3 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertNoVerticalTab()
  4. 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.

\Behat\Mink\Element\ElementInterface $container: (optional) The element containing the vertical tab set.

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 244

Class

ElementContext
Contains miscellaneous step definitions for working with HTML elements.

Namespace

Acquia\LightningExtension\Context

Code

public function assertNoVerticalTab($tab, ElementInterface $container = NULL) {
  $this
    ->assertSession()
    ->elementNotExists('named', [
    'link',
    $tab,
  ], $this
    ->assertVerticalTabs($container));
}