Merge pull request #20377 from calixteman/fix_integration_test1

[Editor] Fix integration test after #20372
This commit is contained in:
Tim van der Meij 2025-10-18 13:43:25 +02:00 committed by GitHub
commit b2810513c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -299,9 +299,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";