ericcornelissen / NervousFish

An app for your :iphone: to exchange public-keys in a secure manner.
GNU Lesser General Public License v3.0
2 stars 4 forks source link

Close the Enable Bluetooth popup on phones during androidTest #229

Closed ericcornelissen closed 7 years ago

ericcornelissen commented 7 years ago

What

This Pull Request adds to the MainActivity steps an extra statement which, only on phones with Bluetooth, closes the popup requesting the user to enable Bluetooth.

Why

This Pull Request is needed because otherwise running tests on an actual phone is a pain.

How

This feature can be viewed/tested within the project by running the androidTests twice, once on an emulator and once on an actual phone and see if all the tests still work.

Alternative implementation

None

Notes

None