You are here

private function EntityBrowserContext::openNoJS in Lightning Media 8.2

Same name and namespace in other branches
  1. 8.3 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 197

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']);
}