Skip to content

Commit 80a7e35

Browse files
committed
fix: cleartraffic
1 parent 0909e94 commit 80a7e35

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.detoxrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// run iPhone 14 on local machine, iPhone 15 Pro on mac mini
22
const iOSDevice = process.env.MACMINI ? 'iPhone 15 Pro' : 'iPhone 14';
33

4-
const reversePorts = [8080, 8081, 9735, 10009, 28334, 28335, 28336, 39388, 43782, 60001];
4+
const reversePorts = [3003, 8080, 8081, 9735, 10009, 28334, 28335, 28336, 39388, 43782, 60001];
55

66
/** @type {Detox.DetoxConfig} */
77
module.exports = {

.github/workflows/e2e-android.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
force-avd-creation: false
129129
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
130130
arch: x86_64
131-
script: yarn e2e:test:android-release --record-videos all --record-logs all --take-screenshots all --headless -d 200000 -R 3 --artifacts-location /mnt/artifacts
131+
script: yarn e2e:test:android-release --record-videos all --record-logs all --take-screenshots all --headless -d 200000 -R 2 --artifacts-location /mnt/artifacts
132132
# script: avdmanager list device
133133

134134
- uses: actions/upload-artifact@v4

android/app/src/main/res/xml/network_security_config.xml

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
<domain-config cleartextTrafficPermitted="true">
44
<domain includeSubdomains="true">10.0.2.2</domain>
55
<domain includeSubdomains="true">localhost</domain>
6+
<domain includeSubdomains="true">127.0.0.1</domain>
67
</domain-config>
78
</network-security-config>

e2e/backup.e2e.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ d('Backup', () => {
136136
await element(by.id('SkipIntro')).tap();
137137
await element(by.id('RestoreWallet')).tap();
138138
await element(by.id('MultipleDevices-button')).tap();
139-
await element(by.id('Word-0')).typeText(seed);
139+
await element(by.id('Word-0')).replaceText(seed);
140140
await element(by.id('WordIndex-4')).swipe('up');
141141
await element(by.id('RestoreButton')).tap();
142142

0 commit comments

Comments
 (0)