mardi 11 avril 2017

How to programmatically or with Espresso close spinner?

Say I have two tests.

Each of them interacts with a spinner: - The first one clicks on it and fails. - The second one launches and also clicks a spinner(willing to open it) and now it is closed and onData() fails.

Tests must be independent.

What @Before method can i write to make sure spinner is closed on test start?

Aucun commentaire:

Enregistrer un commentaire