XCUITests - How to disconnect from Sandbox account

Hi,


I'm trying to write UITests for in-app purchase and for that I need to disconnect from the current Sandbox account that connected before every test run.


I succeeded to get in the settings app and go to the iTunes & App Store section, and there is my problem.


At the iTunes & App Store screen, I have two same fields with different users that connected at the same time, one is my iTunes account and the other is my Sandbox account - these two fields start with the same name "Apple ID: "


I can't figure out how to tap on the Sandbox account field and disconnect from it.


Any help?

Thanks.