Loading core/modules/statistics/tests/src/FunctionalJavascript/StatisticsLoggingTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ class StatisticsLoggingTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'stark'; /** * Node for tests. Loading Loading @@ -85,7 +85,7 @@ protected function getStatisticsCounter($path) { // update information on the page. See statistics_node_links_alter(). $this->node->save(); $field_counter = $this->getSession()->getPage()->find('css', '.statistics-counter'); $field_counter = $this->getSession()->getPage()->find('css', '.links li'); return $field_counter ? (int) explode(' ', $field_counter->getText())[0] : NULL; } Loading Loading
core/modules/statistics/tests/src/FunctionalJavascript/StatisticsLoggingTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ class StatisticsLoggingTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected $defaultTheme = 'classy'; protected $defaultTheme = 'stark'; /** * Node for tests. Loading Loading @@ -85,7 +85,7 @@ protected function getStatisticsCounter($path) { // update information on the page. See statistics_node_links_alter(). $this->node->save(); $field_counter = $this->getSession()->getPage()->find('css', '.statistics-counter'); $field_counter = $this->getSession()->getPage()->find('css', '.links li'); return $field_counter ? (int) explode(' ', $field_counter->getText())[0] : NULL; } Loading