From 31079ff726522d47c9e9c6aea0c0a252801e594f Mon Sep 17 00:00:00 2001 From: juanf <juanf@ethz.ch> Date: Tue, 13 Jun 2023 09:50:53 +0200 Subject: [PATCH] SSDM-13521: Trying to fix ui tests --- .../openbis/jstest/suite/common/JsTestCommonSelenium.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-api-openbis-javascript/source/java/ch/systemsx/cisd/openbis/jstest/suite/common/JsTestCommonSelenium.java b/test-api-openbis-javascript/source/java/ch/systemsx/cisd/openbis/jstest/suite/common/JsTestCommonSelenium.java index fae69f8a311..e02fe08d9f1 100644 --- a/test-api-openbis-javascript/source/java/ch/systemsx/cisd/openbis/jstest/suite/common/JsTestCommonSelenium.java +++ b/test-api-openbis-javascript/source/java/ch/systemsx/cisd/openbis/jstest/suite/common/JsTestCommonSelenium.java @@ -17,7 +17,6 @@ package ch.systemsx.cisd.openbis.jstest.suite.common; import java.io.File; -import ch.systemsx.cisd.common.io.Posix; import org.openqa.selenium.logging.LogEntries; import org.openqa.selenium.logging.LogEntry; import org.openqa.selenium.logging.LogType; @@ -25,6 +24,7 @@ import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; +import ch.systemsx.cisd.base.unix.Unix; import ch.systemsx.cisd.common.filesystem.FileUtilities; import ch.systemsx.cisd.openbis.jstest.layout.OpenbisJsWebappLocation; import ch.systemsx.cisd.openbis.jstest.layout.OpenbisV3JsWebappLocation; @@ -55,7 +55,7 @@ public class JsTestCommonSelenium extends SeleniumTest { String jettyHome = new File(System.getProperty("jetty.home")).getAbsolutePath(); new File(jettyHome + "/webapps").mkdirs(); - Posix.createSymbolicLink(jettyHome + "/webapps/openbis/webapp", + Unix.createSymbolicLink(jettyHome + "/webapps/openbis/webapp", jettyHome + "/webapps/webapp/webapp"); } catch (Exception e) { -- GitLab