Skip to content

Commit

Permalink
update e2e-tests.yml GitHub Actions workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokuya committed Dec 3, 2024
1 parent 90f48b1 commit 6c100d7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Check Xcode Version
run: xcodebuild -version

- name: Set up Xcode environment
run: xcode-select --switch /Applications/Xcode.app/Contents/Developer

- name: List Available Simulators
run: xcrun simctl list

Expand All @@ -35,15 +38,19 @@ jobs:
xcrun simctl boot "iPhone SE (3rd generation)" || echo "Simulator already booted"
sleep 10
- name: Start iOS Simulator
run: open -a Simulator

- name: Start Appium server
run: appium --port 4723 --log-level error &
run: appium --port 4723 --log-level debug > appium.log 2>&1 &

- name: Wait for Appium server to start
run: sleep 5

- name: Display Appium log
run: cat appium.log

- name: Check if port 4723 is in use
run: lsof -i :4723 || echo "Port 4723 is free"


- name: Check Appium Server
run: curl http://127.0.0.1:4723/status

Expand Down

0 comments on commit 6c100d7

Please sign in to comment.