+5
-5
lines changedFilter options
+5
-5
lines changed Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ public void tearDown() {
81
81
82
82
@Test
83
83
void shouldReportConcurrencyZeroPercentWhenGridIsStartedWithoutLoad() {
84
-
driver.get(whereIs(server, "/ui/index.html#/sessions"));
84
+
driver.get(whereIs(server, "/ui#/sessions"));
85
85
86
86
WebElement concurrency = wait
87
87
.until(visibilityOfElementLocated(By.cssSelector("div[data-testid='concurrency-usage']")));
@@ -91,7 +91,7 @@ void shouldReportConcurrencyZeroPercentWhenGridIsStartedWithoutLoad() {
91
91
92
92
@Test
93
93
void shouldShowOneNodeRegistered() {
94
-
driver.get(whereIs(server, "/ui/index.html#"));
94
+
driver.get(whereIs(server, "/ui"));
95
95
96
96
List<WebElement> nodeInfoIcons = wait
97
97
.until(visibilityOfAllElementsLocatedBy(By.cssSelector("button[data-testid*='node-info-']")));
@@ -102,7 +102,7 @@ void shouldShowOneNodeRegistered() {
102
102
@Test
103
103
void shouldIncrementSessionCountWhenSessionStarts() {
104
104
remoteWebDriver = new RemoteWebDriver(server.getUrl(), Browser.detect().getCapabilities());
105
-
driver.get(whereIs(server, "/ui/index.html#/sessions"));
105
+
driver.get(whereIs(server, "/ui#/sessions"));
106
106
107
107
wait.until(textToBe(By.cssSelector("div[data-testid='session-count']"), "1"));
108
108
}
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
35
35
"lint": "ts-standard && eslint --ext '.js,.ts,.tsx' src",
36
36
"lint-fix": "ts-standard --fix && eslint --ext '.js,.ts,.tsx' src"
37
37
},
38
-
"homepage": "/ui",
38
+
"homepage": "./ui",
39
39
"browserslist": {
40
40
"production": [
41
41
">0.2%",
Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@ export const GridConfig = {
9
9
serverUri:
10
10
process.env.NODE_ENV === 'development'
11
11
? 'http://localhost:4444/graphql'
12
-
: document.location.protocol + '//' + document.location.host + '/graphql'
12
+
: document.location.protocol + '//' + document.location.host + document.location.pathname.replace("/ui", "") + '/graphql'
13
13
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4