Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ci-jobs/functional/ios_setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
steps:
- script: sudo xcode-select -s /Applications/Xcode_${{ parameters.xcodeVersion }}.app/Contents/Developer
displayName: Xcode Select ${{ parameters.xcodeVersion }}
- script: xcrun simctl list
displayName: List Installed Simulators
3 changes: 3 additions & 0 deletions ci-jobs/functional/run_ios_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
CI: ${{ parameters.ci }}
steps:
- template: ./run_appium.yml
- template: ./ios_setup.yml
parameters:
xcodeVersion: ${{ parameters.xcodeForIOS }}
- script: |
cd test/functional/ios
py.test ${{ parameters.testFiles}} ${{ parameters.pytestOpt }}
Expand Down
3 changes: 3 additions & 0 deletions ci-jobs/functional_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ parameters:
vmImage: 'macOS-10.14'
pytestOpt: '--doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html'
androidSdkVer: 28
xcodeForIOS: 10.3
CI: true

# [Android] Need to fix and add flaky tests for activities_tests, find_by_uiautomator_tests
Expand All @@ -14,13 +15,15 @@ jobs:
pytestOpt: ${{ parameters.pytestOpt }}
testFiles: 'find_*.py remote_fs_tests.py safari_tests.py execute_driver_tests.py'
CI: ${{ parameters.ci }}
xcodeForIOS: ${{ parameters.xcodeForIOS }}
- template: ./functional/run_ios_test.yml
parameters:
name: 'func_test_ios2'
vmImage: ${{ parameters.vmImage }}
pytestOpt: ${{ parameters.pytestOpt }}
testFiles: 'applications_tests.py hw_actions_tests.py keyboard_tests.py screen_record_tests.py webdriver_tests.py'
CI: ${{ parameters.ci }}
xcodeForIOS: ${{ parameters.xcodeForIOS }}
- template: ./functional/run_android_test.yml
parameters:
name: 'func_test_android1'
Expand Down