Skip to content

Added maestro tests #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4f63f1a
chore: working on maestro e2e actions
ignaciosantise Jun 10, 2025
ea0e954
chore: changed format of action
ignaciosantise Jun 10, 2025
848a640
chore: action improvements
ignaciosantise Jun 10, 2025
662e318
chore: actions improvements
ignaciosantise Jun 10, 2025
ae7301c
chore: rename apks in e2e action
ignaciosantise Jun 10, 2025
ad74164
chore: actions improvements
ignaciosantise Jun 10, 2025
14b711c
chore: actions improvements
ignaciosantise Jun 10, 2025
eee6327
chore: action update
ignaciosantise Jun 11, 2025
762a101
chore: record video on connect reject
ignaciosantise Jun 11, 2025
d079ba6
chore: actions improvements
ignaciosantise Jun 11, 2025
e369b5e
chore: added test ids to maestro flows
ignaciosantise Jun 11, 2025
c966f13
chore: bump appkit to 1.2.5
ignaciosantise Jun 11, 2025
c36d46a
chore: changed android device
ignaciosantise Jun 11, 2025
190a478
chore: added valtio resolution
ignaciosantise Jun 11, 2025
c0aa706
chore: added scroll in test
ignaciosantise Jun 11, 2025
6a6955d
chore: changed android api
ignaciosantise Jun 11, 2025
90e56ee
chore: changed android api
ignaciosantise Jun 11, 2025
063801d
chore: actions improvements
ignaciosantise Jun 12, 2025
c19c2c2
chore: actions improvements
ignaciosantise Jun 12, 2025
f0d0011
chore: run all maestro tests + save crashlog at the end
ignaciosantise Jun 12, 2025
b81551f
chore: disabled sentry upload in test action
ignaciosantise Jun 12, 2025
897cefe
chore: use debug build for dapp to improve building times
ignaciosantise Jun 12, 2025
e84674c
Revert "chore: use debug build for dapp to improve building times"
ignaciosantise Jun 12, 2025
fa81145
chore: actions improvements
ignaciosantise Jun 12, 2025
d164358
chore: working on ios e2e script
ignaciosantise Jun 12, 2025
5d4767c
chore: action ios improvements
ignaciosantise Jun 12, 2025
d4a59af
Revert "chore: action ios improvements"
ignaciosantise Jun 13, 2025
397c4ba
chore: changed build path
ignaciosantise Jun 13, 2025
e6d2a4b
chore: removed pod cache condition
ignaciosantise Jun 13, 2025
aac77c4
chore: added config param on ios build command
ignaciosantise Jun 13, 2025
46769e5
chore: upload artifact correctly
ignaciosantise Jun 13, 2025
25b4997
chore: changed artifact folder
ignaciosantise Jun 13, 2025
7370298
chore: changed artifact filename
ignaciosantise Jun 13, 2025
3635591
chore: updated unzip path
ignaciosantise Jun 13, 2025
189ccc5
chore: removed list apps
ignaciosantise Jun 13, 2025
37c9af1
chore: remove simulator boot waitig
ignaciosantise Jun 13, 2025
2ce6ed7
chore: added ios condition to open wallet if requested
ignaciosantise Jun 13, 2025
54775ec
chore: turn off linkmode
ignaciosantise Jun 13, 2025
2e6f3cd
chore: add web tests
ignaciosantise Jun 17, 2025
6c34832
chore: native to web wallet button test in different platforms
ignaciosantise Jun 18, 2025
8aa15a9
chore: disabled web tests
ignaciosantise Jun 18, 2025
3135f69
Merge branch 'main' into chore/maestro-ci
ignaciosantise Jun 18, 2025
8844509
chore: action improvements
ignaciosantise Jun 18, 2025
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
58 changes: 58 additions & 0 deletions .github/actions/ci-setup-android-files/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: 'Setup Android Files'
description: 'Setup required files for building an Android project'

inputs:
root-path:
description: 'Path of the react-native project'
required: true
google-services-file:
description: 'Google Services Json file content, base64 encoded'
required: false
secrets-file:
description: 'Secrets properties file content'
required: true
keystore:
description: 'Keystore file content, base64 encoded'
required: true
keystore-name:
description: 'Keystore file name'
required: true
sentry-file:
description: 'Sentry file content'
required: true
project-id:
description: 'Reown Cloud ID'
required: true
relay-url:
description: 'Relay URL'
required: true
sentry-dsn:
description: 'Sentry DSN'
required: true
release-type:
description: 'Release type of the project (debug/internal/production)'
default: 'debug'

runs:
using: "composite"
steps:
- name: Create Google Services Json File
if: ${{ inputs.google-services-file != '' }}
shell: bash
run: echo "${{ inputs.google-services-file }}" | base64 --decode > ${{ inputs.root-path }}/android/app/google-services.json

- name: Create secrets.properties File
shell: bash
run: echo "${{ inputs.secrets-file }}" > ${{ inputs.root-path }}/android/secrets.properties

- name: Decode Keystore
shell: bash
run: echo "${{ inputs.keystore }}" | base64 --decode > ${{ inputs.root-path }}/android/app/${{ inputs.keystore-name }}.keystore

- name: Create Sentry File
shell: bash
run: echo "${{ inputs.sentry-file }}" > ${{ inputs.root-path }}/android/sentry.properties

- name: Create Env File
shell: bash
run: echo -e "ENV_PROJECT_ID=${{ inputs.project-id }}\nENV_RELAY_URL=${{ inputs.relay-url }}\nENV_SENTRY_DSN=${{ inputs.sentry-dsn }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }}
41 changes: 41 additions & 0 deletions .github/actions/ci-setup-ios-files/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 'Setup iOS Files'
description: 'Setup required files for building an iOS project'

inputs:
root-path:
description: 'Path of the react-native project'
required: true
google-services-file:
description: 'Google Services Plist file content, base64 encoded'
required: false
sentry-file:
description: 'Sentry file content'
required: true
project-id:
description: 'WalletConnect Cloud ID'
required: true
relay-url:
description: 'WalletConnect Relay URL'
required: false
sentry-dsn:
description: 'Sentry DSN'
required: true
release-type:
description: 'Release type of the project (debug/internal/production)'
default: 'debug'

runs:
using: "composite"
steps:
- name: Create .env file
shell: bash
run: echo -e "ENV_PROJECT_ID=${{ inputs.project-id }}\nENV_RELAY_URL=${{ inputs.relay-url }}\nENV_SENTRY_DSN=${{ inputs.sentry-dsn }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.root-path }}/.env.${{ inputs.release-type }}

- name: Create sentry.properties file
shell: bash
run: echo "${{ inputs.sentry-file }}" > ${{ inputs.root-path }}/ios/sentry.properties

- name: Create GoogleService-Info.plist file
if: ${{ inputs.google-services-file != '' }}
shell: bash
run: echo "${{ inputs.google-services-file }}" | base64 --decode > ${{ inputs.root-path }}/ios/GoogleService-Info.plist
12 changes: 3 additions & 9 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
name: CI Setup
description: Setup Node.js and install dependencies
name: Install Dependencies
description: Install dependencies
inputs:
root-path:
description: 'Path of the project'
required: true
type: string

runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Set yarn lock path
id: yarn-hash
shell: bash
Expand All @@ -25,7 +19,7 @@ runs:

- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ inputs.root-path }}/node_modules
Expand Down
4 changes: 0 additions & 4 deletions .github/workflow-templates/e2e-template.properties.json

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflow-templates/e2e-template.yaml

This file was deleted.

Loading