Skip to content

Commit 55fe046

Browse files
Merge pull request #20812 from calixteman/context_menu_follow_up
Fix the event name in some integration tests (follow-up of #20788)
2 parents d3e04d2 + 8540897 commit 55fe046

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/freetext_editor_spec.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,7 @@ describe("FreeText Editor", () => {
22032203
100,
22042204
{
22052205
eventBusSetup: eventBus => {
2206-
eventBus.on("annotationeditorstateschanged", ({ details }) => {
2206+
eventBus.on("editingstateschanged", ({ details }) => {
22072207
window.editingEvents?.push(details);
22082208
});
22092209
},

test/integration/highlight_editor_spec.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ describe("Highlight Editor", () => {
857857
{
858858
eventBusSetup: eventBus => {
859859
window.editingEvents = [];
860-
eventBus.on("annotationeditorstateschanged", ({ details }) => {
860+
eventBus.on("editingstateschanged", ({ details }) => {
861861
window.editingEvents.push(details);
862862
});
863863
},

0 commit comments

Comments
 (0)