Skip to content

Commit 0954591

Browse files
committed
Update modulePosition method
closes #109
1 parent d11139f commit 0954591

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
@@ -672,7 +672,7 @@ public function setModulePosition($module, $position = 'position-7')
672672
$I->amOnPage('administrator/index.php?option=com_modules');
673673
$I->searchForItem($module);
674674
$I->click(['link' => $module]);
675-
$I->waitForText($module, 30, ['css' => 'H3']);
675+
$I->waitForText("Modules: $module", 30, ['css' => 'h1.page-title']);
676676
$I->selectOptionInChosen('Position', $position);
677677
$I->click(['xpath' => "//div[@id='toolbar-apply']/button"]);
678678
$I->waitForText('Module successfully saved',30,['id' => 'system-message-container']);

0 commit comments

Comments
 (0)