Merge pull request #20812 from calixteman/context_menu_follow_up

Fix the event name in some integration tests (follow-up of #20788)
This commit is contained in:
Tim van der Meij 2026-03-05 21:20:15 +01:00 committed by GitHub
commit 55fe04657b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2203,7 +2203,7 @@ describe("FreeText Editor", () => {
100,
{
eventBusSetup: eventBus => {
eventBus.on("annotationeditorstateschanged", ({ details }) => {
eventBus.on("editingstateschanged", ({ details }) => {
window.editingEvents?.push(details);
});
},

View File

@ -857,7 +857,7 @@ describe("Highlight Editor", () => {
{
eventBusSetup: eventBus => {
window.editingEvents = [];
eventBus.on("annotationeditorstateschanged", ({ details }) => {
eventBus.on("editingstateschanged", ({ details }) => {
window.editingEvents.push(details);
});
},