diff --git a/artemis-console/pom.xml b/artemis-console/pom.xml
index bf7bb7fd361..4e3593f033f 100644
--- a/artemis-console/pom.xml
+++ b/artemis-console/pom.xml
@@ -39,7 +39,7 @@
- org.apache.activemq
+ org.apache.artemis
artemis-console-war
war
@@ -86,7 +86,7 @@
- org.apache.activemq
+ org.apache.artemis
artemis-console-war
WEB-INF/lib/guava*.jar
diff --git a/artemis-console/src/main/webapp/hawtconfig.json b/artemis-console/src/main/webapp/hawtconfig.json
index 59f79677b49..835f2796e56 100644
--- a/artemis-console/src/main/webapp/hawtconfig.json
+++ b/artemis-console/src/main/webapp/hawtconfig.json
@@ -2,24 +2,24 @@
"branding": {
"appName": "Artemis Console",
"showAppName": false,
- "appLogoUrl": "img/activemq.png",
- "companyLogoUrl": "img/activemq.png",
- "css": "css/activemq.css",
+ "appLogoUrl": "img/artemis.png",
+ "companyLogoUrl": "img/artemis.png",
+ "css": "css/artemis.css",
"favicon": "img/favicon.png"
},
"login": {
- "description": "Login page for ActiveMQ Artemis Console.",
+ "description": "Login page for Apache Artemis Console.",
"links": [
- { "url": "https://activemq.apache.org/components/artemis/documentation/", "text": "Documentation" },
- { "url": "https://activemq.apache.org/", "text": "Website" }
+ { "url": "https://artemis.apache.org/components/artemis/documentation/", "text": "Documentation" },
+ { "url": "https://artemis.apache.org/", "text": "Website" }
]
},
"about": {
- "title": "ActiveMQ Artemis Management Console",
- "productInfo": [{"name": "ActiveMQ Artemis", "value": "${project.version}"}],
+ "title": "Apache Artemis Management Console",
+ "productInfo": [{"name": "Apache Artemis", "value": "${project.version}"}],
"additionalInfo": "",
"copyright": " ",
- "imgSrc": "img/activemq.png"
+ "imgSrc": "img/artemis.png"
},
"disabledRoutes": []
-}
\ No newline at end of file
+}
diff --git a/artemis-distribution/pom.xml b/artemis-distribution/pom.xml
index 791ca1d34b8..356efc5933e 100644
--- a/artemis-distribution/pom.xml
+++ b/artemis-distribution/pom.xml
@@ -156,7 +156,7 @@
- org.apache.activemq
+ org.apache.artemis
apache-artemis-console
zip
bin
diff --git a/artemis-pom/pom.xml b/artemis-pom/pom.xml
index a55d17c3a00..88d7d9ac606 100644
--- a/artemis-pom/pom.xml
+++ b/artemis-pom/pom.xml
@@ -232,14 +232,14 @@
- org.apache.activemq
+ org.apache.artemis
artemis-console-war
war
${artemis-console-version}
- org.apache.activemq
+ org.apache.artemis
apache-artemis-console
${artemis-console-version}
zip
diff --git a/pom.xml b/pom.xml
index 1edba18f98e..1d1b663692a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,7 +88,7 @@
--add-modules java.sql,jdk.unsupported
2.0.0
- 1.3.0
+ 1.5.0
4.4.9
4.14.0
2.13.0
diff --git a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/PageConstants.java b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/PageConstants.java
index 9535ebabde9..ce8abf49738 100644
--- a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/PageConstants.java
+++ b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/PageConstants.java
@@ -47,8 +47,8 @@ public class PageConstants {
public static final String COLUMN_ORIGINAL_QUEUE = "Original Queue";
- // Node prrefixes
- public static final String BROKER_NODE = "org.apache.activemq.artemis-folder-0.0.0.0";
+ // Node prefixes
+ public static final String BROKER_NODE = "Broker0.0.0.0";
public static final String ADDRESS_NODE_SUFFIX = "folder-addresses-folder-";
@@ -73,7 +73,7 @@ public class PageConstants {
public static final By BUTTON_LOCATOR = By.tagName(BUTTON);
//Branding and Image locations
- public static final String DEFAULT_CONSOLE_LOGIN_BRAND_IMAGE = "/img/activemq.png";
+ public static final String DEFAULT_CONSOLE_LOGIN_BRAND_IMAGE = "/img/artemis.png";
public static final String DEFAULT_CONSOLE_NAME = "Artemis";
@@ -137,4 +137,5 @@ public class PageConstants {
public static final By BROKER_NODE_LOCATOR = By.id(BROKER_NODE);
+ public static final By BROKER_BUTTON_LOCATOR = By.xpath("//button[contains(text(), 'Broker 0.0.0.0')]");
}
diff --git a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/ArtemisTreePage.java b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/ArtemisTreePage.java
index 8f9092a0322..7a7b9ae10e9 100644
--- a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/ArtemisTreePage.java
+++ b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/ArtemisTreePage.java
@@ -22,7 +22,7 @@
import org.openqa.selenium.interactions.Actions;
import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.BROKER_NODE_LOCATOR;
-import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.BUTTON_LOCATOR;
+import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.BROKER_BUTTON_LOCATOR;
import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.COLLAPSE_BUTTON;
import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.EXPAND_BUTTON;
import static org.apache.activemq.artemis.tests.smoke.console.PageConstants.NODE_TITLE_LOCATOR;
@@ -56,7 +56,7 @@ public String getNodeTitle() {
}
public AttributesPage selectBrokerNode() {
- WebElement element = driver.findElement(BROKER_NODE_LOCATOR).findElement(BUTTON_LOCATOR);
+ WebElement element = driver.findElement(BROKER_NODE_LOCATOR).findElement(BROKER_BUTTON_LOCATOR);
Actions actions = new Actions(driver);
actions.moveToElement(element).click().perform();
return new AttributesPage(driver);
diff --git a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/AttributesPage.java b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/AttributesPage.java
index 05e0bfec835..16f978d4f63 100644
--- a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/AttributesPage.java
+++ b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/jmx/AttributesPage.java
@@ -16,6 +16,7 @@
*/
package org.apache.activemq.artemis.tests.smoke.console.pages.jmx;
+import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
@@ -40,6 +41,7 @@ public void selectAttribute(String name) {
WebElement row = iterator.next();
List cols = row.findElements(TD_TAG_LOCATOR);
if (cols.size() == 2 && name.equals(cols.get(0).getText())) {
+ ((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView();", cols.get(0));
Actions actions = new Actions(driver);
actions.moveToElement(cols.get(0)).click().perform();
break;