Skip to content

Commit be95abd

Browse files
committed
Wait until first tab is loaded
1 parent 79fc085 commit be95abd

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
@@ -674,6 +674,7 @@ public function setModulePosition($module, $position = 'position-7')
674674
$I->click(['link' => $module]);
675675
$I->waitForText("Modules: $module", 30, ['css' => 'h1.page-title']);
676676
$I->click(['link' => 'Module']);
677+
$I->waitForText($module, 30, ['css' => 'h3']);
677678
$I->selectOptionInChosen('Position', $position);
678679
$I->click(['xpath' => "//div[@id='toolbar-apply']/button"]);
679680
$I->waitForText('Module successfully saved',30,['id' => 'system-message-container']);

0 commit comments

Comments
 (0)