You are here

private function PanelizerWizardTest::waitForField in Lightning Layout 8

Waits for a link with specified locator.

Parameters

string $locator: The link ID, title, text or image alt.

File

tests/src/FunctionalJavascript/PanelizerWizardTest.php, line 131

Class

PanelizerWizardTest
Tests Lightning Layout's integration with Panelizer's wizard.

Namespace

Drupal\Tests\lightning_layout\FunctionalJavascript

Code

private function waitForField($locator) {
  $field = $this
    ->assertSession()
    ->waitForField($locator);
  $this
    ->assertNotEmpty($field);
  return $field;
}