diff --git a/README.md b/README.md index 9cb50efc8..0a86a2aca 100644 --- a/README.md +++ b/README.md @@ -92,18 +92,18 @@ $ pytest -n 2 test/unit ### Functional ``` -$ pytest test/functional/ios/find_by_ios_class_chain_tests.py +$ pytest test/functional/ios/search_context/find_by_ios_class_chain_tests.py ``` ### In parallel for iOS -1. Create simulators named 'iPhone 6s - 8100' and 'iPhone 6s - 8101' +1. Create simulators named 'iPhone 8 - 8100' and 'iPhone 8 - 8101' 2. Install test libraries via pip ``` $ pip install pytest pytest-xdist ``` 3. Run tests ``` - $ pytest -n 2 test/functional/ios/find_by_ios_class_chain_tests.py + $ pytest -n 2 test/functional/ios/search_context/find_by_ios_class_chain_tests.py ``` # Release diff --git a/test/functional/ios/helper/desired_capabilities.py b/test/functional/ios/helper/desired_capabilities.py index 7a98f61a0..2fc9b25c0 100644 --- a/test/functional/ios/helper/desired_capabilities.py +++ b/test/functional/ios/helper/desired_capabilities.py @@ -50,7 +50,7 @@ def gw(number): if PytestXdistWorker.COUNT is None: return '0' - if number >= PytestXdistWorker.COUNT: + if number >= int(PytestXdistWorker.COUNT): return 'gw0' return 'gw{}'.format(number) @@ -65,7 +65,7 @@ def wda_port(): return 8100 -# Before running tests, you must have iOS simulators named 'iPhone 6s - 8100' and 'iPhone 6s - 8101' +# Before running tests, you must have iOS simulators named 'iPhone 8 - 8100' and 'iPhone 8 - 8101' def iphone_device_name(port=None):