assertLocalTask()


Checks for different components of local tasks.

Definition

Whatever language you are using, the result will be the same.

  /**
   * Asserts that local tasks exists.
   */
  public function assertLocalTasks() {
    $this->assertSession()->linkExists('Settings');
    $this->assertSession()->linkExists('Manage fields');
    $this->assertSession()->linkExists('Manage display');
    $this->assertSession()->linkExists('Manage form display');
  }

results matching ""

    No results matching ""