This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new df7dfc72a6 ARTEMIS-5654 - fix test broken by console upgrade
df7dfc72a6 is described below

commit df7dfc72a60a31cdf56639c3f5d647a16b9c5db4
Author: Andy Taylor <[email protected]>
AuthorDate: Thu Sep 11 09:10:42 2025 +0100

    ARTEMIS-5654 - fix test broken by console upgrade
---
 .../activemq/artemis/tests/smoke/console/pages/SendMessagePage.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/SendMessagePage.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/SendMessagePage.java
index e081fb0bad..00b4947a56 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/SendMessagePage.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/pages/SendMessagePage.java
@@ -32,7 +32,8 @@ public class SendMessagePage extends ArtemisPage {
    }
 
    public void clearMessageText() {
-      while (!getMessageText().isEmpty()) {
+      //the "1" here is what HawtIO shows when clear as the 1st line number
+      while (!"1".equals(getMessageText())) {
          Actions actions = new Actions(driver);
          actions.click(driver.findElement(MESSAGE_TEXT_EDITOR_LOCATOR));
          actions.sendKeys(Keys.BACK_SPACE);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to