File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
e2e-tests/src/main/java/io/kafbat/ui/settings Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77public abstract class BaseSource {
88
99 public static final boolean HEADLESS = parseBoolean (getOptionalString (TRUE , System .getProperty ("headless" )));
10+ public static final boolean SELENOID = parseBoolean (getOptionalString (TRUE , System .getProperty ("selenoid" )));
1011 public static final String CLUSTER_NAME = "local" ;
1112 public static final String CONNECT_NAME = "first" ;
1213 private static final String LOCAL_HOST = "localhost" ;
1314 public static final String REMOTE_URL = String .format ("http://%s:4444/wd/hub" , LOCAL_HOST );
1415 public static final String BASE_API_URL = String .format ("http://%s:8080" , LOCAL_HOST );
15- public static final String BASE_HOST = "host.docker.internal" ;
16+ public static final String BASE_HOST = SELENOID ? "host.docker.internal" : LOCAL_HOST ;
1617 public static final String BASE_UI_URL = String .format ("http://%s:8080" , BASE_HOST );
1718}
You can’t perform that action at this time.
0 commit comments