File tree 2 files changed +7
-6
lines changed
examples/hybrid/appiumTests
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -387,9 +387,9 @@ commands:
387
387
adb shell ls -l /data/local/tmp/certs/$HASH.0
388
388
389
389
# Configure proxy settings
390
- adb shell settings put global http_proxy "localhost:8082 "
390
+ adb shell settings put global http_proxy "localhost:8084 "
391
391
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
393
393
394
394
# Verify proxy settings
395
395
echo "Verifying proxy settings..."
@@ -401,7 +401,7 @@ commands:
401
401
name : Start MITM Proxy with Verbose Logging
402
402
background : true
403
403
command : |
404
- mitmdump -p 8082 --set block_global=false --verbose &
404
+ mitmdump -p 8084 --set block_global=false --verbose &
405
405
sleep 5
406
406
407
407
# Verify proxy is running
@@ -479,6 +479,7 @@ commands:
479
479
name : Install and Trust Certificate
480
480
command : |
481
481
# Wait for certificate files
482
+ mkdir -p ~/.mitmproxy
482
483
while [ ! -f ~/.mitmproxy/mitmproxy-ca-cert.der ]; do
483
484
echo "Waiting for MITM certificate..."
484
485
sleep 2
@@ -862,7 +863,7 @@ jobs:
862
863
name : Start MITM Proxy
863
864
background : true
864
865
command : |
865
- mitmdump -p 8082 --set block_global=false &
866
+ mitmdump -p 8084 --set block_global=false &
866
867
sleep 5
867
868
868
869
# Run tests
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ const android = {
13
13
'appium:automationName' : 'UiAutomator2' ,
14
14
'appium:proxy' : {
15
15
proxyType : 'manual' ,
16
- httpProxy : 'localhost:8082 ' ,
17
- sslProxy : 'localhost:8082 ' ,
16
+ httpProxy : 'localhost:8084 ' ,
17
+ sslProxy : 'localhost:8084 ' ,
18
18
} ,
19
19
} ;
20
20
You can’t perform that action at this time.
0 commit comments