Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix failing system test.

  • Loading branch information...
commit d8ba5093b4a520604977754553f5accc8868178a 1 parent f9cb610
@dextercowley dextercowley authored
Showing with 15 additions and 2 deletions.
  1. +3 −0  tests/CHANGELOG
  2. +12 −2 tests/system/suite/menus/menu0002Test.php
View
3  tests/CHANGELOG
@@ -26,6 +26,9 @@ $ -> Language fix or change
- -> Removed
! -> Note
+06-Apr-2013
+ # Fix failing system test.
+
29-Mar-2013 Michael Babker
+# Test JTableCorecontent, fix bugs found in class
View
14 tests/system/suite/menus/menu0002Test.php
@@ -67,17 +67,22 @@ public function testSelectTypeWithoutSave()
$this->click("//div[@id='toolbar-cancel']/button");
$this->waitForPageToLoad("30000");
+ $this->click("link=Fruit Shop");
+ $this->waitForPageToLoad("30000");
+ $this->click("link=User Menu");
+ $this->waitForPageToLoad("30000");
+
$this->type("filter_search", "Test Menu Item");
$this->click("//button[@type='submit']");
$this->waitForPageToLoad("30000");
- $this->click("cb0");
+ $this->click("checkall-toggle");
$this->click("//div[@id='toolbar-trash']/button");
$this->waitForPageToLoad("30000");
$this->select("filter_published", "label=Trashed");
$this->waitForPageToLoad("30000");
- $this->click("cb0");
+ $this->click("checkall-toggle");
$this->click("//div[@id='toolbar-delete']/button");
$this->waitForPageToLoad("30000");
@@ -137,6 +142,11 @@ public function testSelectAndSave()
$this->click("//div[@id='toolbar-cancel']/button");
$this->waitForPageToLoad("30000");
+ $this->click("link=Fruit Shop");
+ $this->waitForPageToLoad("30000");
+ $this->click("link=User Menu");
+ $this->waitForPageToLoad("30000");
+
$this->jPrint ("Clean up - we trash and delete our item and then log out\n");
$this->type("filter_search", "Test Menu Item" . $saltGroup);
$this->click("//button[@type='submit']");
Please sign in to comment.
Something went wrong with that request. Please try again.