Skip to content

Commit 0cee514

Browse files
committed
Merge branch 'release/v3.5.1.0'
2 parents c7af4c0 + 3b4601e commit 0cee514

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/JoomlaBrowser.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ public function uninstallExtension($extensionName)
558558
$I->waitForElement(['id' => 'manageList'],'30');
559559
$I->click(['xpath' => "//input[@id='cb0']"]);
560560
$I->click(['xpath' => "//div[@id='toolbar-delete']/button"]);
561+
$I->acceptPopup();
561562
$I->waitForText('was successful','30', ['id' => 'system-message-container']);
562563
$I->see('was successful', ['id' => 'system-message-container']);
563564
$I->searchForItem($extensionName);
@@ -672,7 +673,9 @@ public function setModulePosition($module, $position = 'position-7')
672673
$I->amOnPage('administrator/index.php?option=com_modules');
673674
$I->searchForItem($module);
674675
$I->click(['link' => $module]);
675-
$I->waitForText($module, 30, ['css' => 'H3']);
676+
$I->waitForText("Modules: $module", 30, ['css' => 'h1.page-title']);
677+
$I->click(['link' => 'Module']);
678+
$I->waitForText($module, 30, ['css' => 'h3']);
676679
$I->selectOptionInChosen('Position', $position);
677680
$I->click(['xpath' => "//div[@id='toolbar-apply']/button"]);
678681
$I->waitForText('Module successfully saved',30,['id' => 'system-message-container']);
@@ -810,6 +813,7 @@ public function createMenuItem($menuTitle, $menuCategory, $menuItem, $menu = 'Ma
810813
$I->debug("Open the menu types iframe");
811814
$I->click(['link' => "Select"]);
812815
$I->waitForElement(['id' => 'menuTypeModal'], '60');
816+
$I->wait(1);
813817
$I->switchToIFrame("Menu Item Type");
814818

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

0 commit comments

Comments
 (0)