Skip to content

Commit

Permalink
EZEE-1487: change visibility of waitWhileLoading (ezsystems#868)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon authored and andrerom committed May 29, 2017
1 parent 7916215 commit d4075a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Features/Context/PlatformUI.php
Expand Up @@ -171,7 +171,7 @@ protected function sleep()
*
* @param $selector selector to match,
*/
protected function waitWhileLoading($selector = self::LOADING_SELECTOR, $onlyVisible = true)
public function waitWhileLoading($selector = self::LOADING_SELECTOR, $onlyVisible = true)
{
$maxTime = time() + self::MAX_WAIT_TIMEOUT;
do {
Expand Down Expand Up @@ -319,7 +319,7 @@ protected function getElementByText($text, $selector, $textSelector = null, $bas
* @param string $textSelector Extra CSS selector for text of the element
* @param string $baseElement Element in which the search is based
*/
protected function clickElementByText($text, $selector, $textSelector = null, $baseElement = null, $index = 1)
protected function clickElementByText($text, $selector, $textSelector = null, $baseElement = null)
{
$element = $this->getElementByText($text, $selector, $textSelector, $baseElement);
if ($element && $element->isVisible()) {
Expand Down

0 comments on commit d4075a7

Please sign in to comment.