Skip to content

Commit 79fc085

Browse files
committed
Ensure that we are in the first tab before changing position
1 parent 0954591 commit 79fc085

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

0 commit comments

Comments
 (0)