Open jaminfine opened 5 years ago
This would be easy to implement:
case "contextmenu"
in cboulanger.eventrecorder.Recorder#createIntermediateCodeFromEvent() which outputs the command contexmenu
with the ID of the target and a serialized version of the event data (you can only pass scalar values and object ids)cmd_contextmenu
in cboulanger.eventrecorder.IPlayer and cboulanger.eventrecorder.player.Qooxdoo, taking the ID and the event data and dispatching a correct "contextmenu" event on the object with that ID. Maybe you or @derrell might want to try? It shouldn't be very difficult.
Okay, I will give it a try. Thank you for the information about where to add it
Eventrecorder does not record the "contextmenu" event, which is triggered by right clicking on a qooxdoo widget. So, when the test is played back, the right clicking does not happen, the context menu is never opened, and the test fails on the next step.