You are here

public function PanelsIPEContext::save in Lightning Layout 8

Saves the current IPE layout as a custom layout.

@When I save the layout

File

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

Class

PanelsIPEContext
Contains step definitions for interacting with Panels IPE.

Namespace

Acquia\LightningExtension\Context

Code

public function save() {
  $this
    ->assertSession()
    ->elementExists('named', [
    'link',
    'Save',
  ], $this
    ->assertTray())
    ->click();
  $this
    ->awaitAjax();
}