From 84c69df1bc12a85ffa18f46da02d9f989a39d867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Thu, 15 Dec 2022 16:16:32 +0100 Subject: [PATCH] [Behat] Incresed timeout for Content Structure navigation (#2083) --- src/lib/Behat/Component/UpperMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Behat/Component/UpperMenu.php b/src/lib/Behat/Component/UpperMenu.php index 597bf1802c..6a84ac4fe0 100644 --- a/src/lib/Behat/Component/UpperMenu.php +++ b/src/lib/Behat/Component/UpperMenu.php @@ -28,7 +28,7 @@ public function goToDashboard(): void public function goToSubTab(string $tabName): void { - $this->getHTMLPage()->findAll($this->getLocator('submenuButton'))->getByCriterion(new ElementTextCriterion($tabName))->click(); + $this->getHTMLPage()->setTimeout(3)->findAll($this->getLocator('submenuButton'))->getByCriterion(new ElementTextCriterion($tabName))->click(); } public function getNotificationsCount(): int