diff --git a/test/integration/comment_spec.mjs b/test/integration/comment_spec.mjs index c1796ef13..09b7f4ba5 100644 --- a/test/integration/comment_spec.mjs +++ b/test/integration/comment_spec.mjs @@ -299,9 +299,7 @@ describe("Comment", () => { selector => document.querySelector(selector).title, commentButtonSelector ); - expect(title) - .withContext(`In ${browserName}`) - .toEqual("Edit comment"); + expect(title).withContext(`In ${browserName}`).toEqual("Add comment"); await page.click(commentButtonSelector); const textInputSelector = "#commentManagerTextInput";