private function PanelizerWizardTest::waitForLink 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 143
Class
- PanelizerWizardTest
- Tests Lightning Layout's integration with Panelizer's wizard.
Namespace
Drupal\Tests\lightning_layout\FunctionalJavascriptCode
private function waitForLink($locator) {
$link = $this
->assertSession()
->waitForLink($locator);
$this
->assertNotEmpty($link);
return $link;
}