diff --git a/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java b/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java index d10dcb2b..8156dacf 100644 --- a/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java +++ b/cws-test/src/test/java/jpl/cws/test/integration/ui/InitiatorsTestIT.java @@ -130,7 +130,10 @@ public void runStartInitiatorTest() throws IOException { driver.findElement(By.id("saveXmlBtn")).click(); waitForElementID("saveConfirmBtn"); - driver.findElement(By.id("saveConfirmBtn")).click(); + WebElement saveConfirmBtn = driver.findElement(By.id("saveConfirmBtn")); + + js.executeScript("arguments[0].scrollIntoViewIfNeeded();", saveConfirmBtn); + saveConfirmBtn.click(); wait.until(ExpectedConditions.invisibilityOfElementLocated(By.id("saveConfirmBtn"))); diff --git a/cws-test/src/test/java/jpl/cws/test/integration/ui/LoadTestIT.java b/cws-test/src/test/java/jpl/cws/test/integration/ui/LoadTestIT.java index 48fae506..196bd15f 100644 --- a/cws-test/src/test/java/jpl/cws/test/integration/ui/LoadTestIT.java +++ b/cws-test/src/test/java/jpl/cws/test/integration/ui/LoadTestIT.java @@ -177,7 +177,10 @@ public void runStartLoadTest() throws IOException { driver.findElement(By.id("saveXmlBtn")).click(); waitForElementID("saveConfirmBtn"); - driver.findElement(By.id("saveConfirmBtn")).click(); + WebElement saveConfirmBtn = driver.findElement(By.id("saveConfirmBtn")); + + js.executeScript("arguments[0].scrollIntoViewIfNeeded();", saveConfirmBtn); + saveConfirmBtn.click(); wait.until(ExpectedConditions.invisibilityOfElementLocated(By.id("saveConfirmBtn"))); diff --git a/cws-test/src/test/java/jpl/cws/test/integration/ui/WorkersTestIT.java b/cws-test/src/test/java/jpl/cws/test/integration/ui/WorkersTestIT.java index 09b64d32..76b56e11 100644 --- a/cws-test/src/test/java/jpl/cws/test/integration/ui/WorkersTestIT.java +++ b/cws-test/src/test/java/jpl/cws/test/integration/ui/WorkersTestIT.java @@ -268,7 +268,11 @@ public void runThreadLimitTest() throws IOException { waitForElementID("saveConfirmBtn"); log.info("Clicking on 'Save Confirm' button."); - driver.findElement(By.id("saveConfirmBtn")).click(); + WebElement saveConfirmBtn = driver.findElement(By.id("saveConfirmBtn")); + + js.executeScript("arguments[0].scrollIntoViewIfNeeded();", saveConfirmBtn); + + saveConfirmBtn.click(); wait.until(ExpectedConditions.invisibilityOfElementLocated(By.id("saveConfirmBtn"))); diff --git a/cws-ui/src/main/webapp/css/deployments.css b/cws-ui/src/main/webapp/css/deployments.css index 40cfe293..fa7b511b 100644 --- a/cws-ui/src/main/webapp/css/deployments.css +++ b/cws-ui/src/main/webapp/css/deployments.css @@ -200,7 +200,7 @@ display: flex; flex-direction: row; justify-content: center; - align-items: stretch; + align-items: center; align-content: space-between; gap: 10px; } diff --git a/install/cws-ui/navbar.ftl b/install/cws-ui/navbar.ftl index 4d337e00..2ceafa33 100644 --- a/install/cws-ui/navbar.ftl +++ b/install/cws-ui/navbar.ftl @@ -9,7 +9,7 @@