You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2012/05/04 09:38:08 UTC

svn commit: r1333791 - /incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java

Author: fmartelli
Date: Fri May  4 07:38:07 2012
New Revision: 1333791

URL: http://svn.apache.org/viewvc?rev=1333791&view=rev
Log:
SYNCOPE-67 #comment selenium text fixed

Modified:
    incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java

Modified: incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java?rev=1333791&r1=1333790&r2=1333791&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java (original)
+++ incubator/syncope/trunk/console/src/test/java/org/apache/syncope/console/TaskTestITCase.java Fri May  4 07:38:07 2012
@@ -29,16 +29,16 @@ public class TaskTestITCase extends Abst
         selenium.waitForCondition("selenium.isElementPresent(\"//div[@id='tabs']\");", "30000");
 
         selenium.click("//div[@id='tabs']/ul/li[4]/a");
-        selenium.click("//table/tbody/tr/td[7]/span/span[3]/a");
+        selenium.click("//*[span=1]/../td[7]/span/span[3]/a");
 
         selenium.waitForCondition("selenium.isTextPresent(" + "\"Operation executed successfully\");", "30000");
 
-        selenium.click("//table/tbody/tr/td[7]/span/span[7]/a");
+        selenium.click("//*[span=1]/../td[7]/span/span[7]/a");
 
         selenium.waitForCondition("selenium.isElementPresent("
                 + "\"//form/div[2]/div/div/span/div/div/div[2]/span/input\");", "30000");
 
-        assertTrue(selenium.isElementPresent("//form/div[2]/div[2]/span/table/tbody/tr/td"));
+        assertTrue(selenium.isElementPresent("//form/div[2]/div[2]/span/table/tbody/tr[2]/td"));
 
         selenium.click("css=a.w_close");
     }
@@ -50,7 +50,7 @@ public class TaskTestITCase extends Abst
         selenium.waitForCondition("selenium.isElementPresent(\"//div[@id='tabs']\");", "30000");
 
         selenium.click("//div[@id='tabs']/ul/li[3]/a/span");
-        selenium.click("//table/tbody/tr[4]/td[7]/span/span[9]/a");
+        selenium.click("//table/tbody/tr/td[7]/span/span[9]/a");
 
         assertTrue(selenium.getConfirmation().matches("^Do you really want to delete the selected item[\\s\\S]$"));