public function EntityContext::edit in Lightning Core 8.3
Same name and namespace in other branches
- 8.5 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
- 8 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
- 8.2 tests/contexts/EntityContext.behat.inc \Acquia\LightningExtension\Context\EntityContext::edit()
- 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 233
Class
- EntityContext
- Contains miscellaneous step definitions for working with Drupal entities.
Namespace
Acquia\LightningExtension\ContextCode
public function edit() {
$this
->assertSession()
->elementExists('named', [
'link',
'edit-form',
])
->click();
}