-
Notifications
You must be signed in to change notification settings - Fork 54
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
Draft
ignaciosantise
wants to merge
46
commits into
main
Choose a base branch
from
chore/maestro-ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Added maestro tests #210
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
4f63f1a
chore: working on maestro e2e actions
ignaciosantise ea0e954
chore: changed format of action
ignaciosantise 848a640
chore: action improvements
ignaciosantise 662e318
chore: actions improvements
ignaciosantise ae7301c
chore: rename apks in e2e action
ignaciosantise ad74164
chore: actions improvements
ignaciosantise 14b711c
chore: actions improvements
ignaciosantise eee6327
chore: action update
ignaciosantise 762a101
chore: record video on connect reject
ignaciosantise d079ba6
chore: actions improvements
ignaciosantise e369b5e
chore: added test ids to maestro flows
ignaciosantise c966f13
chore: bump appkit to 1.2.5
ignaciosantise c36d46a
chore: changed android device
ignaciosantise 190a478
chore: added valtio resolution
ignaciosantise c0aa706
chore: added scroll in test
ignaciosantise 6a6955d
chore: changed android api
ignaciosantise 90e56ee
chore: changed android api
ignaciosantise 063801d
chore: actions improvements
ignaciosantise c19c2c2
chore: actions improvements
ignaciosantise f0d0011
chore: run all maestro tests + save crashlog at the end
ignaciosantise b81551f
chore: disabled sentry upload in test action
ignaciosantise 897cefe
chore: use debug build for dapp to improve building times
ignaciosantise e84674c
Revert "chore: use debug build for dapp to improve building times"
ignaciosantise fa81145
chore: actions improvements
ignaciosantise d164358
chore: working on ios e2e script
ignaciosantise 5d4767c
chore: action ios improvements
ignaciosantise d4a59af
Revert "chore: action ios improvements"
ignaciosantise 397c4ba
chore: changed build path
ignaciosantise e6d2a4b
chore: removed pod cache condition
ignaciosantise aac77c4
chore: added config param on ios build command
ignaciosantise 46769e5
chore: upload artifact correctly
ignaciosantise 25b4997
chore: changed artifact folder
ignaciosantise 7370298
chore: changed artifact filename
ignaciosantise 3635591
chore: updated unzip path
ignaciosantise 189ccc5
chore: removed list apps
ignaciosantise 37c9af1
chore: remove simulator boot waitig
ignaciosantise 2ce6ed7
chore: added ios condition to open wallet if requested
ignaciosantise 54775ec
chore: turn off linkmode
ignaciosantise 2e6f3cd
chore: add web tests
ignaciosantise 6c34832
chore: native to web wallet button test in different platforms
ignaciosantise 8aa15a9
chore: disabled web tests
ignaciosantise 3135f69
Merge branch 'main' into chore/maestro-ci
ignaciosantise 8844509
chore: action improvements
ignaciosantise 9962129
chore: updated deps
ignaciosantise e997259
chore: improve E2E workflows - path filters, signing disable, cleanup
ignaciosantise 61e8e7c
Merge remote-tracking branch 'origin/main' into chore/maestro-ci
ignaciosantise File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.