You are here

protected function ControllerTest::getLogsEntriesTable in MongoDB 8.2

Find the Logs table in the DOM.

Return value

\Behat\Mink\Element\NodeElement[] The return value of a xpath search.

1 call to ControllerTest::getLogsEntriesTable()
ControllerTest::getLogEntries in modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php
Get the log entry information form the page.

File

modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php, line 320

Class

ControllerTest
Test the MongoDB report controllers.

Namespace

Drupal\Tests\mongodb_watchdog\Functional

Code

protected function getLogsEntriesTable() : array {
  return $this
    ->xpath('.//table/tbody/tr');
}