[Editor] Fix integration test after #20372

This commit is contained in:
Calixte Denizet 2025-10-17 20:44:02 +02:00
parent 928a758811
commit c2535b32fe

View File

@ -297,9 +297,7 @@ describe("Comment", () => {
selector => document.querySelector(selector).title, selector => document.querySelector(selector).title,
commentButtonSelector commentButtonSelector
); );
expect(title) expect(title).withContext(`In ${browserName}`).toEqual("Add comment");
.withContext(`In ${browserName}`)
.toEqual("Edit comment");
await page.click(commentButtonSelector); await page.click(commentButtonSelector);
const textInputSelector = "#commentManagerTextInput"; const textInputSelector = "#commentManagerTextInput";