theappbusiness / TABTestKit

Library designed to make writing and maintaining automated tests for iOS applications. This includes automation of bio-metrics and controlling of mock servers
MIT License
59 stars 13 forks source link

Added fix for background states failing on different os versions #136

Closed jsanderson44 closed 4 years ago

jsanderson44 commented 4 years ago

What's in this PR?

Fixes https://github.com/theappbusiness/TABTestKit/issues/135. Different iOS versions seem to respond to different background states. A fix was put in for iOS 13 and above (https://github.com/theappbusiness/TABTestKit/issues/67), but is no longer is valid for iOS 14 devices. This fix waits for either of the expected background states to be true before proceeding.


Pre-merge checklist

Before merging any PR, please check the following common things that should be done beforehand. These aren't all always required, so just check the box if it doesn't apply.