Serverside JSSDK (specifically the webplayer-testengine package) throws an errorcode 1 if published app maybe be outdated.
This work involves capturing that errorcode and handle it by logging it as an error with a message to republish the app.
Please note that each testengine functions were handled here.
The exceptions of each functions (getAppStatus, buildObjectmodel, etc..)are handled in src/Microsoft.PowerApps.TestEngine/PowerApps/PowerAppFunctions.cs.
Checklist
[x] The code change is covered by unit tests. I have added tests that prove my fix is effective or that my feature works
[x] I have performed end-to-end test locally.
[x] New and existing unit tests pass locally with my changes
Description
Handling published app without JSSDK errorcode.
src/Microsoft.PowerApps.TestEngine/PowerApps/PowerAppFunctions.cs
.Checklist