You are here

public function PanelsIPEContext::assertTray in Lightning Layout 8

Asserts the presence of the Panels IPE tray.

@Then I should see the Panels IPE tray

Return value

\Behat\Mink\Element\NodeElement The Panels IPE tray element.

2 calls to PanelsIPEContext::assertTray()
PanelsIPEContext::getActiveTab in tests/contexts/PanelsIPEContext.behat.inc
Returns the active Panels IPE tab's contents.
PanelsIPEContext::openTab in tests/contexts/PanelsIPEContext.behat.inc
Opens a tab of the Panels IPE tray.

File

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

Class

PanelsIPEContext
Contains step definitions for interacting with Panels IPE.

Namespace

Acquia\LightningExtension\Context

Code

public function assertTray() {
  return $this
    ->assertSession()
    ->elementExists('css', '#panels-ipe-tray');
}