You are here

private function EntityBrowserContext::openNoJs in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.2 tests/contexts/EntityBrowserContext.behat.inc \Acquia\LightningExtension\Context\EntityBrowserContext::openNoJS()

Opens an entity browser without using JavaScript.

Parameters

string $id: The entity browser ID.

1 call to EntityBrowserContext::openNoJs()
EntityBrowserContext::open in tests/contexts/EntityBrowserContext.behat.inc
Opens an entity browser.

File

tests/contexts/EntityBrowserContext.behat.inc, line 187

Class

EntityBrowserContext
Contains step definitions for interacting with entity browser instances.

Namespace

Acquia\LightningExtension\Context

Code

private function openNoJs($id) {
  $settings = $this
    ->getEntityBrowserSettings($id);
  Assert::notEmpty($settings['src']);
  $this
    ->visitPath($settings['src']);
}