Skip to content

Commit f987e11

Browse files
committed
Test
1 parent 2f3d228 commit f987e11

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

.github/workflows/integration-test-android.yml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ jobs:
7474
"appium:automationName": "UiAutomator2",
7575
"appium:appPackage": "io.sentry.unreal.sample",
7676
"appium:appActivity": "com.epicgames.unreal.GameActivity",
77-
"appium:noReset": true,
78-
"appium:autoLaunch": false,
7977
"sauce:options": {
8078
"name": "UE5 Integration Test",
8179
"appiumVersion": "latest"
@@ -101,32 +99,32 @@ jobs:
10199
echo "Extracted session_id: $SESSION_ID"
102100
echo "session_id=$SESSION_ID" >> $GITHUB_OUTPUT
103101
104-
- name: Test app launch methods
105-
run: |
106-
SESSION_ID="${{ steps.start_session.outputs.session_id }}"
102+
# - name: Test app launch methods
103+
# run: |
104+
# SESSION_ID="${{ steps.start_session.outputs.session_id }}"
107105

108-
echo "=== Method 1: activate_app ==="
109-
curl -sSL -w "\nHTTP:%{http_code}" \
110-
-u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
111-
-X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/appium/device/activate_app" \
112-
-H "Content-Type: application/json" \
113-
-d '{"appId": "io.sentry.unreal.sample"}'
106+
# echo "=== Method 1: activate_app ==="
107+
# curl -sSL -w "\nHTTP:%{http_code}" \
108+
# -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
109+
# -X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/appium/device/activate_app" \
110+
# -H "Content-Type: application/json" \
111+
# -d '{"appId": "io.sentry.unreal.sample"}'
114112

115-
echo ""
116-
echo "=== Method 2: mobile:shell ==="
117-
curl -sSL -w "\nHTTP:%{http_code}" \
118-
-u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
119-
-X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/execute/sync" \
120-
-H "Content-Type: application/json" \
121-
-d '{"script": "mobile: shell", "args": [{"command": "am start -S -n io.sentry.unreal.sample/com.epicgames.unreal.GameActivity"}]}'
113+
# echo ""
114+
# echo "=== Method 2: mobile:shell ==="
115+
# curl -sSL -w "\nHTTP:%{http_code}" \
116+
# -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
117+
# -X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/execute/sync" \
118+
# -H "Content-Type: application/json" \
119+
# -d '{"script": "mobile: shell", "args": [{"command": "am start -S -n io.sentry.unreal.sample/com.epicgames.unreal.GameActivity"}]}'
122120

123-
echo ""
124-
echo "=== Method 3: startActivity ==="
125-
curl -sSL -w "\nHTTP:%{http_code}" \
126-
-u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
127-
-X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/appium/device/start_activity" \
128-
-H "Content-Type: application/json" \
129-
-d '{"appPackage": "io.sentry.unreal.sample", "appActivity": "com.epicgames.unreal.GameActivity"}'
121+
# echo ""
122+
# echo "=== Method 3: startActivity ==="
123+
# curl -sSL -w "\nHTTP:%{http_code}" \
124+
# -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" \
125+
# -X POST "https://ondemand.eu-central-1.saucelabs.com/wd/hub/session/$SESSION_ID/appium/device/start_activity" \
126+
# -H "Content-Type: application/json" \
127+
# -d '{"appPackage": "io.sentry.unreal.sample", "appActivity": "com.epicgames.unreal.GameActivity"}'
130128

131129
- name: First launch (crash)
132130
run: |

0 commit comments

Comments
 (0)