directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-commander git commit: using .clear()
Date Tue, 19 Jul 2016 23:14:29 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master a02760dc5 -> 3bf577100


using .clear()


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/commit/3bf57710
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/tree/3bf57710
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/diff/3bf57710

Branch: refs/heads/master
Commit: 3bf57710078edb00d47ac8e03f12734d53bfff70
Parents: a02760d
Author: Shawn McKinney <smckinney@apache.org>
Authored: Tue Jul 19 18:12:32 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Tue Jul 19 18:12:32 2016 -0500

----------------------------------------------------------------------
 .../fortress/web/integration/FortressWebSeleniumITCase.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/3bf57710/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
b/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
index 8ffe47b..0b28e20 100644
--- a/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
+++ b/src/test/java/org/apache/directory/fortress/web/integration/FortressWebSeleniumITCase.java
@@ -53,12 +53,8 @@ public class FortressWebSeleniumITCase
         driver = new FirefoxDriver( ffProfile );
         driver.manage().window().maximize();
 
-        // Use test local default:
-        //baseUrl = "http://localhost:8081";
-
         // tomcat default:
         baseUrl = "http://localhost:8080";
-        //baseUrl = "http://10.71.6.36:8080";
         //baseUrl = "http://fortressdemo2.com:8080";
         // tomcat SSL:
         //baseUrl = "https://localhost:8443";
@@ -199,7 +195,8 @@ TODO: FIX ME:
         driver.findElement( By.name( GlobalIds.ASSIGN ) ).click();
         TUtils.sleep( 1 );
         driver.findElement( By.id( GlobalIds.ROLE_ASSIGNMENTS_LABEL ) ).click();
-        driver.findElement( By.id( GlobalIds.ASSIGN_NEW_ROLE ) ).sendKeys( "" );
+        driver.findElement( By.id( GlobalIds.ASSIGN_NEW_ROLE ) ).clear();
+        TUtils.sleep( 2 );
         driver.findElement( By.name( GlobalIds.ROLES_SEARCH ) ).click();
         TUtils.sleep( 2 );
         driver.findElement( By.linkText( "3" ) ).click();


Mime
View raw message