Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix problem with button not being visible on page.

  • Loading branch information...
commit 3ef98c2efafc16f0b87f76a997c976ba96cedf5e 1 parent 5ba2931
@dextercowley dextercowley authored
View
7 tests/CHANGELOG
@@ -26,10 +26,13 @@ $ -> Language fix or change
- -> Removed
! -> Note
-01-Nov-2013
+14-Nov-2013 Mark Dexter
+ # Fix problem with button not being visible on page.
+
+01-Nov-2013 Mark Dexter
# Fix problem with hidden filters in User Manager.
-31-Oct-2013
+31-Oct-2013 Mark Dexter
# Fix problem with category filter in article manager.
30-Oct-2013 Mark Dexter
View
3  tests/system/webdriver/Pages/System/AdminEditPage.php
@@ -448,6 +448,7 @@ protected function setTextAreaValues(array $values)
}
if (isset($guiEditor) && is_array($guiEditor) && count($guiEditor) == 1 && $guiEditor[0]->isDisplayed())
{
+ $this->driver->executeScript("window.scrollBy(0,400)");
$guiEditor[0]->click();
}
@@ -457,8 +458,10 @@ protected function setTextAreaValues(array $values)
if (isset($guiEditor) && is_array($guiEditor) && count($guiEditor) == 1 && $guiEditor[0]->isDisplayed())
{
+ $this->driver->executeScript("window.scrollBy(0,400)");
$guiEditor[0]->click();
}
+ $this->driver->executeScript("window.scrollTo(0,0)");
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.