Skip to content

Add tests for HAL-2042#136

Merged
kstekovi merged 1 commit intohal:mainfrom
marekkopecky:hal2042-main
Feb 5, 2026
Merged

Add tests for HAL-2042#136
kstekovi merged 1 commit intohal:mainfrom
marekkopecky:hal2042-main

Conversation

@marekkopecky
Copy link
Contributor

Comment on lines 127 to 135
.should(($items) => {
let found = false;
for (let i = 0; i < $items.length; i++) {
const text = $items[i].innerText.trim();
if (text.startsWith('JBoss EAP')) {
found = true;
break;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking, I suggest to extract this as a function re-usable also in the next test, like let found = isJbossEapChannelPrinted($item).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, updated.

Copy link
Collaborator

@kstekovi kstekovi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you.

@kstekovi kstekovi merged commit 553abd6 into hal:main Feb 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants