You are here

public function ElementContext::assertVerticalTabMultiple in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTabMultiple()
  2. 8.2 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTabMultiple()
  3. 8.3 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTabMultiple()
  4. 8.4 tests/contexts/ElementContext.behat.inc \Acquia\LightningExtension\Context\ElementContext::assertVerticalTabMultiple()

Asserts that a specific set of vertical tabs exists.

@Then I should see (the )vertical tabs:

Parameters

\Behat\Gherkin\Node\PyStringNode $tabs: The text of the tabs, one per line.

ElementInterface $container: (optional) The element containing the vertical tab set.

File

tests/contexts/ElementContext.behat.inc, line 261

Class

ElementContext
Contains miscellaneous step definitions for working with HTML elements.

Namespace

Acquia\LightningExtension\Context

Code

public function assertVerticalTabMultiple(PyStringNode $tabs, ElementInterface $container = NULL) {
  foreach ($tabs
    ->getStrings() as $tab) {
    $this
      ->assertVerticalTab($tab, $container);
  }
}