You are here

protected function SchedulerUiTrait::clickEditLink in Lightning Scheduler 8

Clicks the link to edit an entity.

See also

lightning_scheduler_local_tasks_alter()

5 calls to SchedulerUiTrait::clickEditLink()
TransitionTest::testClearCompletedTransitions in tests/src/FunctionalJavascript/TransitionTest.php
TransitionTest::testPublishInPast in tests/src/FunctionalJavascript/TransitionTest.php
TransitionTest::testPublishPendingRevision in tests/src/FunctionalJavascript/TransitionTest.php
TransitionTest::testSkipInvalidTransition in tests/src/FunctionalJavascript/TransitionTest.php
@depends testPublishInPast
UiTest::testUi in tests/src/FunctionalJavascript/UiTest.php

File

tests/src/Traits/SchedulerUiTrait.php, line 213

Class

SchedulerUiTrait
Contains methods for interacting with the scheduler UI.

Namespace

Drupal\Tests\lightning_scheduler\Traits

Code

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