When veaction=edit or veaction=editsource the article briefly appears before being replaced by VE. In both situations mw.config.get( 'wgAction' ) is "view", which is the one of the tests currently used to determine if the survey should be shown.
We should ensure that the survey doesn't appear in that case. Most likely users wouldn't have time to respond to it before VE kicks in anyway, but it's poor UX that it appears in that situation. And it inflates the amount of times the survey is shown and not responded to.