Project: mulestudio
Issue STUDIO-5848: When wrapping an inbound endpoint in a Poll, the endpoint does not change to outbound.
Steps to reproduce: 1-. Drop an AJAX inbound endpoint in the source compartment of a flow. 2-. Right click on the endpoint and Wrap it in a Poll. 3-. Go to the XML view. The element is successfully wrapped in a poll scope, but it still is a inbound endpoint. This is wrong, as Poll scopes, only accept outbound-endpoints.
Story points: 8