File tree 1 file changed +2
-1
lines changed
e2e-tests/src/main/java/io/kafbat/ui/settings
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 7
7
public abstract class BaseSource {
8
8
9
9
public static final boolean HEADLESS = parseBoolean (getOptionalString (TRUE , System .getProperty ("headless" )));
10
+ public static final boolean SELENOID = parseBoolean (getOptionalString (TRUE , System .getProperty ("selenoid" )));
10
11
public static final String CLUSTER_NAME = "local" ;
11
12
public static final String CONNECT_NAME = "first" ;
12
13
private static final String LOCAL_HOST = "localhost" ;
13
14
public static final String REMOTE_URL = String .format ("http://%s:4444/wd/hub" , LOCAL_HOST );
14
15
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 ;
16
17
public static final String BASE_UI_URL = String .format ("http://%s:8080" , BASE_HOST );
17
18
}
You can’t perform that action at this time.
0 commit comments