Skip to content

Commit

Permalink
comments: Fix total comments count calculation
Browse files Browse the repository at this point in the history
Changes to properly count hidden comments when calculating the total number of comments.

Fixes #448
  • Loading branch information
pkvach committed Mar 30, 2024
1 parent 4fa53aa commit cc31a31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion isso/js/tests/integration/puppet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ test("should execute GET/PUT/POST/DELETE requests correctly", async () => {

await expect(page).toMatchElement(
'#isso-1 .isso-text',
{ text: 'New comment body' },
{
text: 'New comment body',
timeout: 1000,
},
);

// Delete comment via DELETE
Expand Down

0 comments on commit cc31a31

Please sign in to comment.