Skip to content

Commit 82b0fe8

Browse files
committed
Fix joomla isntallation folder removal false positives
This command was wrong. It was waiting for a visibility change in the element, but the right check is not to check if visibilty is changed but if the element has appeared in the DOM.
1 parent 17cdf8a commit 82b0fe8

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
@@ -158,7 +158,7 @@ public function installJoomlaRemovingInstallationFolder()
158158

159159
$this->debug('Removing Installation Folder');
160160
$I->click(['xpath' => "//input[@value='Remove installation folder']"]);
161-
$I->waitForElementVisible(['xpath' => "//input[@value='Installation folder successfully removed']"]);
161+
$I->waitForElement(['xpath' => "//input[@value='Installation folder successfully removed']"]);
162162
$this->debug('Joomla is now installed');
163163
$I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']);
164164
}

0 commit comments

Comments
 (0)