Skip to content
Snippets Groups Projects
Commit 31079ff7 authored by juanf's avatar juanf
Browse files

SSDM-13521: Trying to fix ui tests

parent d46b2d1d
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -17,7 +17,6 @@ package ch.systemsx.cisd.openbis.jstest.suite.common; ...@@ -17,7 +17,6 @@ package ch.systemsx.cisd.openbis.jstest.suite.common;
import java.io.File; import java.io.File;
import ch.systemsx.cisd.common.io.Posix;
import org.openqa.selenium.logging.LogEntries; import org.openqa.selenium.logging.LogEntries;
import org.openqa.selenium.logging.LogEntry; import org.openqa.selenium.logging.LogEntry;
import org.openqa.selenium.logging.LogType; import org.openqa.selenium.logging.LogType;
...@@ -25,6 +24,7 @@ import org.testng.annotations.AfterTest; ...@@ -25,6 +24,7 @@ import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest; import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import ch.systemsx.cisd.base.unix.Unix;
import ch.systemsx.cisd.common.filesystem.FileUtilities; import ch.systemsx.cisd.common.filesystem.FileUtilities;
import ch.systemsx.cisd.openbis.jstest.layout.OpenbisJsWebappLocation; import ch.systemsx.cisd.openbis.jstest.layout.OpenbisJsWebappLocation;
import ch.systemsx.cisd.openbis.jstest.layout.OpenbisV3JsWebappLocation; import ch.systemsx.cisd.openbis.jstest.layout.OpenbisV3JsWebappLocation;
...@@ -55,7 +55,7 @@ public class JsTestCommonSelenium extends SeleniumTest ...@@ -55,7 +55,7 @@ public class JsTestCommonSelenium extends SeleniumTest
{ {
String jettyHome = new File(System.getProperty("jetty.home")).getAbsolutePath(); String jettyHome = new File(System.getProperty("jetty.home")).getAbsolutePath();
new File(jettyHome + "/webapps").mkdirs(); new File(jettyHome + "/webapps").mkdirs();
Posix.createSymbolicLink(jettyHome + "/webapps/openbis/webapp", Unix.createSymbolicLink(jettyHome + "/webapps/openbis/webapp",
jettyHome + "/webapps/webapp/webapp"); jettyHome + "/webapps/webapp/webapp");
} catch (Exception e) } catch (Exception e)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment