As for your first problem, I have confirmed that success and failure detection within my plugin are OK.
The conditionnal statement works fine too. Here's what I used.
Code:
<setup action>
eval: $gameMap.QTE(["normal"],300,["ok","up","down","left"],true)
if ($gameMap.getQTEResult() === "failure")
break action
end
</setup action>
I do however get the same result you do with the skill still taking place.
So, what I gather from this is that the break action statement doesn't work in the setup action part of the action sequence. I have no idea why and this plugin doesn't modify the way action sequences work at all. Since it worked when I made this plugin years ago, and that I did not update my old yanfly plugins in this test project, my best guess is that an RPG maker update itself is the issue here.
What does work is changing this sequence so that it takes places in the whole action part of the action sequence: the following code works in my test project with yanfly's plugins and my QTE plugin only.
Code:
<whole action>
eval: $gameMap.QTE(["normal"],300,["ok","up","down","left"],true)
if ($gameMap.getQTEResult() === "failure")
break action
end
</whole action>
As for your second issue, it's trying to use up as a variable and not as a string. the "" are mandatory, replace up with "up" wherever you have made that mistake.