Skip to content

Commit

Permalink
fix: cleartraffic
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Jun 15, 2024
1 parent 0909e94 commit 80a7e35
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .detoxrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// run iPhone 14 on local machine, iPhone 15 Pro on mac mini
const iOSDevice = process.env.MACMINI ? 'iPhone 15 Pro' : 'iPhone 14';

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

/** @type {Detox.DetoxConfig} */
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86_64
script: yarn e2e:test:android-release --record-videos all --record-logs all --take-screenshots all --headless -d 200000 -R 3 --artifacts-location /mnt/artifacts
script: yarn e2e:test:android-release --record-videos all --record-logs all --take-screenshots all --headless -d 200000 -R 2 --artifacts-location /mnt/artifacts
# script: avdmanager list device

- uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
</network-security-config>
2 changes: 1 addition & 1 deletion e2e/backup.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ d('Backup', () => {
await element(by.id('SkipIntro')).tap();
await element(by.id('RestoreWallet')).tap();
await element(by.id('MultipleDevices-button')).tap();
await element(by.id('Word-0')).typeText(seed);
await element(by.id('Word-0')).replaceText(seed);
await element(by.id('WordIndex-4')).swipe('up');
await element(by.id('RestoreButton')).tap();

Expand Down

0 comments on commit 80a7e35

Please sign in to comment.