diff --git a/src/lib/Behat/Component/Pagination.php b/src/lib/Behat/Component/Pagination.php index 0dbb3e5058..e71f2b81b6 100644 --- a/src/lib/Behat/Component/Pagination.php +++ b/src/lib/Behat/Component/Pagination.php @@ -27,7 +27,7 @@ public function clickNextButton(): void JS); $this->getHTMLPage() ->setTimeout(3) - ->findAll(new VisibleCSSLocator('backToTopWithTitle', '.ibexa-back-to-top__title--visible')); + ->findAll(new VisibleCSSLocator('backToTopBtn', '.ibexa-back-to-top__btn--visible')); $this->getHTMLPage()->find($this->getLocator('nextButton'))->click(); $this->getHTMLPage()->setTimeout(10)->waitUntil(function () use ($currentPage) { $activePge = (int) $this->getHTMLPage()->find($this->getLocator('currentPage'))->getText();