You are here

protected function PanelsIPEContext::getActiveTab in Lightning Layout 8

Returns the active Panels IPE tab's contents.

Return value

\Behat\Mink\Element\NodeElement The active tab's contents.

3 calls to PanelsIPEContext::getActiveTab()
PanelsIPEContext::assertPlugin in tests/contexts/PanelsIPEContext.behat.inc
Asserts that a particular block plugin is available.
PanelsIPEContext::instantiate in tests/contexts/PanelsIPEContext.behat.inc
Instantiates a block plugin.
PanelsIPEContext::openTab in tests/contexts/PanelsIPEContext.behat.inc
Opens a tab of the Panels IPE tray.

File

tests/contexts/PanelsIPEContext.behat.inc, line 33

Class

PanelsIPEContext
Contains step definitions for interacting with Panels IPE.

Namespace

Acquia\LightningExtension\Context

Code

protected function getActiveTab() {
  return $this
    ->assertSession()
    ->elementExists('css', '.ipe-tabs-content', $this
    ->assertTray());
}