You are here

public function EntityContext::edit in Lightning Core 8.2

Same name and namespace in other branches
  1. 8.5 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
  2. 8 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
  3. 8.3 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
  4. 8.4 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()

Visits the edit form for an entity.

@When I visit the edit form

See also

lightning_dev_local_tasks_alter()

File

tests/contexts/EntityContext.behat.inc, line 230

Class

EntityContext
Contains miscellaneous step definitions for working with Drupal entities.

Namespace

Acquia\LightningExtension\Context

Code

public function edit() {
  $this
    ->assertSession()
    ->elementExists('named', [
    'link',
    'edit-form',
  ])
    ->click();
}