fix(discussionViewer): fix "Open comment" button

This commit is contained in:
rugk
2026-03-29 14:43:50 +00:00
parent 2472ae0941
commit a96508afa5
3 changed files with 29 additions and 18 deletions
+1
View File
@@ -89,6 +89,7 @@ describe('DiscussionViewer', function () {
document.getElementById('comment_' + comments[commentKey].id).classList.contains('highlight')
);
}
// clicking "Add comment" button should open the reply form
document.getElementById('commentcontainer').querySelector('button').click();
results.push(
!document.getElementById('reply').classList.contains('hidden')