You are here

public function ElementContext::assertVerticalTabs in Lightning Core 8.3

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

Asserts that vertical tab set exists.

@Then I should see a set of vertical tabs

Parameters

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

Return value

\Behat\Mink\Element\NodeElement The vertical tab set.

2 calls to ElementContext::assertVerticalTabs()
ElementContext::assertNoVerticalTab in tests/contexts/ElementContext.behat.inc
Asserts that a specific vertical tab does not exist.
ElementContext::assertVerticalTab in tests/contexts/ElementContext.behat.inc
Asserts that a specific vertical tab exists.

File

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

Class

ElementContext
Contains miscellaneous step definitions for working with HTML elements.

Namespace

Acquia\LightningExtension\Context

Code

public function assertVerticalTabs(ElementInterface $container = NULL) {
  return $this
    ->assertSession()
    ->elementExists('css', 'ul.vertical-tabs__menu', $container);
}