From 4ef3c7fc995eed7c1dd5ae19d8215c780ea70807 Mon Sep 17 00:00:00 2001 From: Bogdan Mazur Date: Tue, 6 Feb 2024 08:53:06 +0100 Subject: [PATCH] [Behat] Increased timeout from 1 up to 5 seconds --- src/lib/Behat/Component/LeftMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Behat/Component/LeftMenu.php b/src/lib/Behat/Component/LeftMenu.php index 04d7b8fb62..ae7d812f0c 100644 --- a/src/lib/Behat/Component/LeftMenu.php +++ b/src/lib/Behat/Component/LeftMenu.php @@ -17,7 +17,7 @@ class LeftMenu extends Component { public function goToTab(string $tabName): void { - $menuButton = $this->getHTMLPage() + $menuButton = $this->getHTMLPage()->setTimeout(5) ->findAll($this->getLocator('menuItem')) ->getByCriterion(new ElementAttributeCriterion('data-original-title', $tabName)); $menuButton->click();