You are here

protected function DeveloperAppUITestTrait::getBreadcrumbLinks in Apigee Edge 8

Gets breadcrumb links of the current page.

Return value

\Behat\Mink\Element\NodeElement[] Array of breadcrumb links.

1 call to DeveloperAppUITestTrait::getBreadcrumbLinks()
DeveloperAppUITest::testBreadcrumbOnDeveloperAppPages in tests/src/Functional/DeveloperAppUITest.php
Ensures breadcrumb is properly displayed on the developer app pages.

File

tests/src/Functional/DeveloperAppUITestTrait.php, line 376

Class

DeveloperAppUITestTrait
Contains re-usable components for developer app UI tests.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

protected function getBreadcrumbLinks() : array {
  return $this
    ->xpath('//nav[@role="navigation"]/ol/li/a');
}