Skip to content

Commit 83da5b4

Browse files
committed
Merge branch 'release/v3.4.8.4'
2 parents c7af4c0 + cc77247 commit 83da5b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/JoomlaBrowser.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,9 @@ 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']);
676+
$I->click(['link' => 'Module']);
677+
$I->waitForText($module, 30, ['css' => 'h3']);
676678
$I->selectOptionInChosen('Position', $position);
677679
$I->click(['xpath' => "//div[@id='toolbar-apply']/button"]);
678680
$I->waitForText('Module successfully saved',30,['id' => 'system-message-container']);
@@ -810,6 +812,7 @@ public function createMenuItem($menuTitle, $menuCategory, $menuItem, $menu = 'Ma
810812
$I->debug("Open the menu types iframe");
811813
$I->click(['link' => "Select"]);
812814
$I->waitForElement(['id' => 'menuTypeModal'], '60');
815+
$I->wait(1);
813816
$I->switchToIFrame("Menu Item Type");
814817

815818
$I->debug("Open the menu category: $menuCategory");

0 commit comments

Comments
 (0)