Skip to content

Commit

Permalink
[Behat] Increased timeout from 1 up to 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Mazur committed Feb 6, 2024
1 parent 809eea9 commit 4ef3c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Behat/Component/LeftMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ef3c7f

Please sign in to comment.