Skip to content

Commit 4e47b35

Browse files
committed
Avoid false positive when clicking Menu assignment
1 parent ec07b49 commit 4e47b35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ public function displayModuleOnAllPages($module)
660660
$I->amOnPage('administrator/index.php?option=com_modules');
661661
$I->searchForItem($module);
662662
$I->click(['link' => $module]);
663+
$I->waitForElement(['link' => 'Menu Assignment'], 30);
663664
$I->click(['link' => 'Menu Assignment']);
664665
$I->waitForElement(['id' => 'jform_menus-lbl'], 30);
665666
$I->click(['id' => 'jform_assignment_chzn']);

0 commit comments

Comments
 (0)