diff --git a/tests/src/Context/SolutionContext.php b/tests/src/Context/SolutionContext.php index e026ed1d42..ce7e778b56 100644 --- a/tests/src/Context/SolutionContext.php +++ b/tests/src/Context/SolutionContext.php @@ -859,7 +859,7 @@ public function setDownloadCountForEntity(string $type, string $target_entity_la public function assertHighlightedSolution(string $label): void { $solution = self::getSolutionByName($label); - $block_element = $this->getSession()->getPage()->find('css', '.block-entityqueue--highlighted-content'); + $block_element = $this->getSession()->getPage()->find('css', '.block-entityqueue--highlighted-solution'); // Check block title. $actual_block_title = $block_element->find('css', 'h2')->getText();