@@ -77,10 +77,14 @@ jobs:
77
77
- uses : actions/setup-python@v4
78
78
with :
79
79
python-version : " 3.10"
80
- - name : Set up ChromeDriver
81
- uses : nanasess/setup-chromedriver@v2
82
- with :
83
- chrome-version : ' stable'
80
+ - name : Install ChromeDriver via Homebrew
81
+ run : brew install --cask chromedriver
82
+ - name : Verify ChromeDriver and Chrome
83
+ run : |
84
+ echo "ChromeDriver Version:"
85
+ chromedriver --version
86
+ echo "Chrome Version:"
87
+ "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --version
84
88
- name : Install dependencies
85
89
run : pip install selenium
86
90
- name : Install dependencies (Mac)
@@ -98,26 +102,4 @@ jobs:
98
102
UNITY_APP_NAME : SampleApp
99
103
MAILSLURP_API_KEY : ${{ secrets.MAILSLURP_API_KEY }}
100
104
working-directory : sample/Tests
101
- run : ${{ matrix.test_script }}
102
- test-ios :
103
- name : Run iOS UI tests 🧪
104
- runs-on : [ self-hosted, macOS ]
105
- steps :
106
- - uses : actions/checkout@v3
107
- with :
108
- lfs : true
109
- - name : Build iOS app
110
- working-directory : sample
111
- run : ./build_ios.sh
112
- - uses : actions/setup-python@v4
113
- with :
114
- python-version : " 3.10"
115
- - name : Install dependencies
116
- run : pip install -r "sample/Tests/requirements-mobile.txt"
117
- - name : Run UI tests
118
- env :
119
- MAILSLURP_API_KEY : ${{ secrets.MAILSLURP_API_KEY }}
120
- BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
121
- BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
122
- working-directory : sample/Tests
123
- run : browserstack-sdk pytest -s ./test/test_ios.py --browserstack.config "browserstack.ios.yml"
105
+ run : ${{ matrix.test_script }}
0 commit comments