You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2020/05/20 19:15:21 UTC

[directory-fortress-commander] branch master updated: clear out old code

This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-commander.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c4528f  clear out old code
9c4528f is described below

commit 9c4528f551a037da5716d1d4d52f5ad2add05cdc
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Wed May 20 14:15:13 2020 -0500

    clear out old code
---
 .../web/integration/FortressWebSeleniumITCase.java         | 14 --------------
 1 file changed, 14 deletions(-)

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 f75a704..22250d4 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
@@ -64,9 +64,6 @@ public class FortressWebSeleniumITCase
     public static final String BINDS = "BINDS";
     public static final String AUTHZ = "AUTHZ";
     public static final String MODS = "MODS";
-
-    //private static String version = System.getProperty( "version" );
-    //private static final String FORTRESS_WEB = "/fortress-web-" + version;
     private static final String FORTRESS_WEB = "/fortress-web";
     private static final String DRIVER_SYS_PROP = "web.driver";
     private WebDriver driver;
@@ -88,22 +85,12 @@ public class FortressWebSeleniumITCase
     {
         // http default:
         baseUrl = "http://localhost:8080";
-        //baseUrl = "http://10.71.6.75:8080";
-        //baseUrl = "http://fortressdemo2.com:8080";
-        // https:
-        //baseUrl = "https://localhost:8443";
-        //baseUrl = "https://NY1SCOLFTDEMO01:8443";
         driver.manage().timeouts().implicitlyWait( 5, TimeUnit.SECONDS );
     }
 
     @BeforeClass
     public static void setupClass()
     {
-        // TODO: determine usage req's of the browser drivers:
-        //System.setProperty("webdriver.gecko.driver", "/home/user/drivers/geckodriver");
-        //System.setProperty( "webdriver.chrome.driver", "/home/user/drivers/chromedriver");
-
-
         String szDriverType = System.getProperty( DRIVER_SYS_PROP );
         if( StringUtils.isNotEmpty( szDriverType ) && szDriverType.equalsIgnoreCase( DriverType.CHROME.toString() ))
         {
@@ -189,7 +176,6 @@ public class FortressWebSeleniumITCase
          */
         driver.findElement( By.linkText( "LOGOUT" ) ).click();
         log.info( "End FortressWebSeleniumITCase" );
-        //driver.findElement( By.linkText( "glob:search*" ) ).click();
     }