directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r888141 - /directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java
Date Mon, 07 Dec 2009 21:23:42 GMT
Author: seelmann
Date: Mon Dec  7 21:23:31 2009
New Revision: 888141

URL: http://svn.apache.org/viewvc?rev=888141&view=rev
Log:
Wait till referral dialog becomes visible

Modified:
    directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java

Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java?rev=888141&r1=888140&r2=888141&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java
(original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/ReferralDialogTest.java
Mon Dec  7 21:23:31 2009
@@ -120,6 +120,7 @@
 
         // expand ou=system, that reads the referral and opens the referral dialog
         ReferralDialogBot referralDialogBot = browserViewBot.expandEntryExpectingReferralDialog(
parentPath );
+        assertTrue( referralDialogBot.isVisible() );
         assertEquals( connection.getName(), referralDialogBot.getSelectedConnection() );
         referralDialogBot.clickOkButton();
 
@@ -148,6 +149,7 @@
 
         // expand ou=system, that reads the referral and opens the referral dialog
         ReferralDialogBot referralDialogBot = browserViewBot.expandEntryExpectingReferralDialog(
parentPath );
+        assertTrue( referralDialogBot.isVisible() );
         assertEquals( connection.getName(), referralDialogBot.getSelectedConnection() );
         referralDialogBot.clickCancelButton();
 
@@ -230,6 +232,7 @@
 
         // select the target, that should popup the referral dialog
         ReferralDialogBot referralDialogBot = browserViewBot.selectEntryExpectingReferralDialog(
targetPath );
+        assertTrue( referralDialogBot.isVisible() );
         assertEquals( connection.getName(), referralDialogBot.getSelectedConnection() );
         referralDialogBot.clickOkButton();
 



Mime
View raw message