Skip to content

Commit 4718bd9

Browse files
committed
Merge pull request #114 from javigomez/110b
Update modulePosition with more performant locator
2 parents 15da9b1 + 27a8af4 commit 4718bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoomlaBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ public function setModulePosition($module, $position = 'position-7')
675675
$I->click(['link' => $module]);
676676
$I->waitForText("Modules: $module", 30, ['css' => 'h1.page-title']);
677677
$I->click(['link' => 'Module']);
678-
$I->waitForText($module, 30, ['css' => 'h3']);
678+
$I->waitForElement(['id' => 'general'], 30);
679679
$I->selectOptionInChosen('Position', $position);
680680
$I->click(['xpath' => "//div[@id='toolbar-apply']/button"]);
681681
$I->waitForText('Module successfully saved',30,['id' => 'system-message-container']);

0 commit comments

Comments
 (0)