Skip to content

Add tests for HAL-2042 - #136

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

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

Conversation

@marekkopecky

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thank you, updated.

@kstekovikstekovi left a comment

Copy link
Copy Markdown
Collaborator

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:mainFeb 5, 2026
1 check passed
Sign up for freeto 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

@marekkopecky@OndrejKotek@kstekovi