Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/e2e_migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
description: "Branch of synonymdev/bitkit-e2e-tests to use (main | default-feature-branch | custom branch name)"
required: false
default: "default-feature-branch"
schedule:
- cron: "0 2 * * *"

env:
TERM: xterm-256color
Expand Down Expand Up @@ -75,13 +77,17 @@ jobs:
strategy:
fail-fast: false
matrix:
rn_version:
- v1.1.6
- v1.1.4
- v1.1.3
scenario:
- { name: migration_1, grep: "@migration_1" }
- { name: migration_2, grep: "@migration_2" }
- { name: migration_3, grep: "@migration_3" }
- { name: migration_4, grep: "@migration_4" }
- { name: migration_1-restore, grep: "@migration_1" }
- { name: migration_2-migration, grep: "@migration_2" }
- { name: migration_3-with-passphrase, grep: "@migration_3" }
- { name: migration_4-with-sweep, grep: "@migration_4" }

name: e2e-tests - ${{ matrix.scenario.name }}
name: e2e-tests - ${{ matrix.rn_version }} - ${{ matrix.scenario.name }}

steps:
- name: Show selected E2E branch
Expand Down Expand Up @@ -111,7 +117,7 @@ jobs:
- name: Download RN app for migration
run: |
curl -L -o bitkit-e2e-tests/aut/bitkit_rn_regtest.apk \
https://github.com/synonymdev/bitkit-e2e-tests/releases/download/migration-rn-regtest/bitkit_rn_regtest.apk
https://github.com/synonymdev/bitkit-e2e-tests/releases/download/migration-rn-regtest/bitkit_rn_regtest_${{ matrix.rn_version }}.apk

- name: List APK directory contents
run: ls -l bitkit-e2e-tests/aut
Expand Down Expand Up @@ -189,5 +195,5 @@ jobs:
if: failure()
uses: actions/upload-artifact@v4
with:
name: e2e-artifacts_${{ matrix.scenario.name }}_${{ github.run_number }}
name: e2e-artifacts_${{ matrix.scenario.name }}_${{ matrix.rn_version }}_${{ github.run_number }}
path: bitkit-e2e-tests/artifacts/
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
Expand Down Expand Up @@ -224,7 +225,9 @@ private fun FoundFundsView(
PrimaryButton(
text = stringResource(R.string.sweep__to_wallet),
onClick = onSweepToWallet,
modifier = Modifier.fillMaxWidth()
modifier = Modifier
.fillMaxWidth()
.testTag("SweepToWalletButton")
)

VerticalSpacer(16.dp)
Expand Down
Loading