haroohie-club / SerialLoops

An editor for Suzumiya Haruhi no Chokuretsu (The Series of Haruhi Suzumiya)
https://haroohie.club/chokuretsu/serial-loops
GNU General Public License v3.0
14 stars 6 forks source link

Add Mac UI tests with Appium #318

Closed jonko0493 closed 8 months ago

jonko0493 commented 8 months ago

Closes #315.

Tested and working locally and on Azure DevOps. ~Haven't written the ASM hacks one for this yet so not quite parity with the Windows tests, but that fine for now, probably?~ Wrote them lol

The screenshots that this one produces are way more useful than the ones that Windows produces, so that's also nice (unfortunate for Windows tho).

This also introduces a slight change in the main app's behavior as well: when looking for the devkitARM path on new install, we first check for the DEVITKARM environment variable (since this gets set on install). We then check that this path exists (as on Windows that variable can be set to /opt/devkitpro/devkitARM) and then proceed with the old behavior if it doesn't. This allows us to set up bootstrapped devkitARM on the mac agents since we can't install things to /opt.

Oh, while I'm here, the official build broke last night due to the net8.0 upgrade, so this fixes that.

jonko0493 commented 8 months ago

Alright, added some ASM hack tests, so yay! We have functional UI tests for both Windows and Mac now.