Did you read the article? These aren’t unit tests. They are UI tests which are pretty hard to do well with desktop apps.
Especially given it isn't as easy as using Cypress.