Hi Patrick ...
I would suggest you rather address these kind of errors to the SIMATIC AX Service-desk directly via a Bug, so the devs can have a look on that.
Anyway ... we still trying to investigate on this as a community.
My first idea : Try to execute the "apax test" command not within a AxCode workspace project, but rather in that approriate app or lib project ?
Did you updated to apax 4.0.0 yet ?
And next to this request .. a general question to your direction.
Why do you use TIA2AX for your HMI strategy ?
Did you know that we have an other solution in place ?! see: link to GH community post
Keep going & happy coding ...
🐱💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱🏍