So I was reading an article: https://shashikantjagtap.net/organising-xcuielements-with-swift-enumerations/
It suggests an way to organize XCUItest as follows: