protected function visitTermPage($op, $type, $name) {
    $type = $this->getCore()->convertLabelToTermTypeId($type);
    $term = $this->getCore()->loadTaxonomyTermByName($type, $name);

    if (!empty($term)) {
      $path = [
        'view' => "taxonomy/term/{$this->getCore()->getTaxonomyTermId($term)}",
        'edit' => "taxonomy/term/{$this->getCore()->getTaxonomyTermId($term)}/edit",
        'delete' => "taxonomy/term/{$this->getCore()->getTaxonomyTermId($term)}/delete",
      ];
      $this->visitPath($path[$op]);
    }
    else {
      throw new ExpectationException("No taxonomy term with vocabulary '$type' and name '$name' has been found.", $this->getSession());
    }
  }