Skip to content

Commit d2b48bc

Browse files
committed
fix: add certificate dir
1 parent cacbceb commit d2b48bc

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.circleci/config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ commands:
387387
adb shell ls -l /data/local/tmp/certs/$HASH.0
388388
389389
# Configure proxy settings
390-
adb shell settings put global http_proxy "localhost:8082"
390+
adb shell settings put global http_proxy "localhost:8084"
391391
adb shell settings put global global_http_proxy_host "localhost"
392-
adb shell settings put global global_http_proxy_port 8082
392+
adb shell settings put global global_http_proxy_port 8084
393393
394394
# Verify proxy settings
395395
echo "Verifying proxy settings..."
@@ -401,7 +401,7 @@ commands:
401401
name: Start MITM Proxy with Verbose Logging
402402
background: true
403403
command: |
404-
mitmdump -p 8082 --set block_global=false --verbose &
404+
mitmdump -p 8084 --set block_global=false --verbose &
405405
sleep 5
406406
407407
# Verify proxy is running
@@ -479,6 +479,7 @@ commands:
479479
name: Install and Trust Certificate
480480
command: |
481481
# Wait for certificate files
482+
mkdir -p ~/.mitmproxy
482483
while [ ! -f ~/.mitmproxy/mitmproxy-ca-cert.der ]; do
483484
echo "Waiting for MITM certificate..."
484485
sleep 2
@@ -862,7 +863,7 @@ jobs:
862863
name: Start MITM Proxy
863864
background: true
864865
command: |
865-
mitmdump -p 8082 --set block_global=false &
866+
mitmdump -p 8084 --set block_global=false &
866867
sleep 5
867868
868869
# Run tests

examples/hybrid/appiumTests/e2e-config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const android = {
1313
'appium:automationName': 'UiAutomator2',
1414
'appium:proxy': {
1515
proxyType: 'manual',
16-
httpProxy: 'localhost:8082',
17-
sslProxy: 'localhost:8082',
16+
httpProxy: 'localhost:8084',
17+
sslProxy: 'localhost:8084',
1818
},
1919
};
2020

0 commit comments

Comments
 (0)