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
2 changes: 1 addition & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22.x'

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: 🏗 Setup Node
uses: actions/setup-node@v6
with:
node-version: 20.x
node-version: '22.x'

- uses: pnpm/action-setup@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 20.x
node-version: '22.x'

- uses: pnpm/action-setup@v4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-maestro-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- name: EAS Workflow Android
if: ${{ github.event.inputs.platform == 'android' || github.event.inputs.platform == 'all' }}
working-directory: apps/easypid
run: eas workflow:run .eas/workflows/e2e-test-android-with-fingerprint-and-repack.yaml --non-interactive --no-wait -F issuer_backend=${{ github.event.inputs.issuer_backend }} -F paradym_api_key=${{ secrets.PARADYM_API_KEY }} -F enable_recording=${{ github.event.inputs.enable_recording }}
run: eas workflow:run .eas/workflows/e2e-test-android.yaml --non-interactive --no-wait -F issuer_backend=${{ github.event.inputs.issuer_backend }} -F paradym_api_key=${{ secrets.PARADYM_API_KEY }} -F enable_recording=${{ github.event.inputs.enable_recording }}

- name: EAS Workflow iOS
if: ${{ github.event.inputs.platform == 'ios' || github.event.inputs.platform == 'all' }}
working-directory: apps/easypid
run: eas workflow:run .eas/workflows/e2e-test-ios-with-fingerprint-and-repack.yaml --non-interactive --no-wait -F issuer_backend=${{ github.event.inputs.issuer_backend }} -F paradym_api_key=${{ secrets.PARADYM_API_KEY }} -F enable_recording=${{ github.event.inputs.enable_recording }}
run: eas workflow:run .eas/workflows/e2e-test-ios.yaml --non-interactive --no-wait -F issuer_backend=${{ github.event.inputs.issuer_backend }} -F paradym_api_key=${{ secrets.PARADYM_API_KEY }} -F enable_recording=${{ github.event.inputs.enable_recording }}
4 changes: 2 additions & 2 deletions apps/easypid/.maestro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ You can run the Expo workflows locally if you have the correct Expo token by usi
**Android**

```bash
npx eas-cli@latest workflow:run .eas/workflows/e2e-test-android-with-fingerprint-and-repack.yaml
npx eas-cli@latest workflow:run .eas/workflows/e2e-test-android.yaml
```

**iOS**

```bash
npx eas-cli@latest workflow:run .eas/workflows/e2e-test-ios-with-fingerprint-and-repack.yaml
npx eas-cli@latest workflow:run .eas/workflows/e2e-test-ios.yaml
```

You can also run the workflows non-interactively by adding the `--non-interactive` flag and providing the inputs for the issuer backend (`playground`, `paradym`, or `both`).
Expand Down
18 changes: 0 additions & 18 deletions apps/easypid/.maestro/issue-code/issue-code-didcomm.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions apps/easypid/.maestro/issue-code/issue-code-openid4vc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ tags:
- runScript:
file: ../scripts/request.js
env:
ACTION: '{"action":"createOffer", "format":"mdoc", "authorization":"pin", "requestType": "mobile-driver-license", "flow": "openid4vc"}'
ACTION: '{"action":"createOffer", "authorization":"pin", "requestType": "mdl-mdoc", "flow": "openid4vc"}'
ISSUER_BACKEND: ${MAESTRO_ISSUER_BACKEND}

- runFlow:
- runFlow:
file: issue-code.yaml
env:
deeplink: ${output.deeplink}
deeplink: ${output.deeplink}
165 changes: 82 additions & 83 deletions apps/easypid/.maestro/issue-code/issue-code.yaml
Original file line number Diff line number Diff line change
@@ -1,83 +1,82 @@
appId: id.paradym.wallet.preview
---
- openLink:
link: ${deeplink}

- runFlow:
when:
visible: .*Open in.*
platform: ios
commands:
- tapOn: Open

- repeat:
times: 6
commands:
- tapOn: "Pin number 1"

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Yes, continue"
timeout: 10000

- tapOn: "Yes, continue"

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Card offered"
timeout: 10000

# - assertVisible: "Card offered"
- tapOn: "Continue"

- waitForAnimationToEnd:
timeout: 5000

- assertVisible: Enter transaction code
- inputText: ${output.userPin}

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Is the information correct?"
timeout: 10000

# - assertVisible: Is the information correct?
- tapOn: Accept

- waitForAnimationToEnd:
timeout: 30000

# Due to animations, it can take some time before the home screen becomes visible.
- extendedWaitUntil:
visible: "Success!"
timeout: 30000

- waitForAnimationToEnd:
timeout: 30000

- assertVisible: "Card successfully added to your wallet!"
- assertVisible: "Credential"

# On Android the button is "Go to wallet" (without space), while on iOS a trailing space is required.
- runFlow:
when:
platform: Android
commands:
- tapOn: "Go to wallet"
- runFlow:
when:
platform: iOS
commands:
- tapOn: "Go to wallet "

- waitForAnimationToEnd:
timeout: 5000

- assertVisible: "Hello!"
- assertVisible: "Receive or share from your wallet "
appId: id.paradym.wallet.preview
---
- openLink:
link: ${deeplink}

- runFlow:
when:
visible: .*Open in.*
platform: ios
commands:
- tapOn: Open

- repeat:
times: 6
commands:
- tapOn: "Pin number 1"

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Yes, continue"
timeout: 100000
- tapOn: "Yes, continue"

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Card offered"
timeout: 10000

# - assertVisible: "Card offered"
- tapOn: "Continue"

- waitForAnimationToEnd:
timeout: 5000

- assertVisible: Enter transaction code
- inputText: ${output.userPin}

- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Is the information correct?"
timeout: 10000

# - assertVisible: Is the information correct?
- tapOn: Accept

- waitForAnimationToEnd:
timeout: 30000

# Due to animations, it can take some time before the home screen becomes visible.
- extendedWaitUntil:
visible: "Success!"
timeout: 30000

- waitForAnimationToEnd:
timeout: 30000

- assertVisible: "Card successfully added to your wallet!"
- assertVisible: "Credential"

# On Android the button is "Go to wallet" (without space), while on iOS a trailing space is required.
- runFlow:
when:
platform: Android
commands:
- tapOn: "Go to wallet"
- runFlow:
when:
platform: iOS
commands:
- tapOn: "Go to wallet, "

- waitForAnimationToEnd:
timeout: 5000

- assertVisible: "Hello!"
- assertVisible: "Receive or share from your wallet "
4 changes: 2 additions & 2 deletions apps/easypid/.maestro/issue-none/issue-none-didcomm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ tags:
- runScript:
file: ../scripts/request.js
env:
ACTION: '{"action":"createOffer", "format":"anoncreds", "authorization":"none", "requestType": "birth-certificate", "flow":"didcomm"}'
ACTION: '{"action":"createOffer", "authorization":"none", "requestType": "birth-certificate-anoncreds", "flow":"didcomm"}'
ISSUER_BACKEND: ${MAESTRO_ISSUER_BACKEND}

- runFlow:
- runFlow:
file: issue-none.yaml
env:
deeplink: ${output.deeplink}
6 changes: 3 additions & 3 deletions apps/easypid/.maestro/issue-none/issue-none-openid4vc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ tags:
- runScript:
file: ../scripts/request.js
env:
ACTION: '{"action":"createOffer", "format":"sd-jwt", "authorization":"none", "requestType": "arf-18-pid", "flow":"openid4vc"}'
ACTION: '{"action":"createOffer", "authorization":"none", "requestType": "arf-pid-sd-jwt", "flow":"openid4vc"}'
ISSUER_BACKEND: ${MAESTRO_ISSUER_BACKEND}

- runFlow:
- runFlow:
file: issue-none.yaml
env:
deeplink: ${output.deeplink}
deeplink: ${output.deeplink}
6 changes: 4 additions & 2 deletions apps/easypid/.maestro/issue-none/issue-none.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ appId: id.paradym.wallet.preview
- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Yes, continue"
timeout: 100000
- tapOn: "Yes, continue"

- waitForAnimationToEnd:
Expand Down Expand Up @@ -61,11 +64,10 @@ appId: id.paradym.wallet.preview
when:
platform: iOS
commands:
- tapOn: "Go to wallet "
- tapOn: "Go to wallet, "

- waitForAnimationToEnd:
timeout: 5000

- assertVisible: "Hello!"
- assertVisible: "Receive or share from your wallet "

18 changes: 0 additions & 18 deletions apps/easypid/.maestro/issue-pdi/pdi-issue-didcomm.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions apps/easypid/.maestro/issue-pdi/pdi-issue-openid4vc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ tags:
- presentation-during-issuance
- issue
- openid4vc
- mdoc
- sd-jwt
---
- runFlow: ../issue-none/issue-none-openid4vc.yaml
- runScript:
file: ../scripts/request.js
env:
ACTION: '{"action":"createOffer", "format":"mdoc", "authorization":"presentation", "requestType": "certificate-of-residence", "flow": "openid4vc"}'
ACTION: '{"action":"createOffer", "authorization":"presentation", "requestType": "certificate-of-residence-sd-jwt", "flow": "openid4vc"}'
ISSUER_BACKEND: ${MAESTRO_ISSUER_BACKEND}

- runFlow:
- runFlow:
file: pdi-issue.yaml
env:
deeplink: ${output.deeplink}
deeplink: ${output.deeplink}
5 changes: 4 additions & 1 deletion apps/easypid/.maestro/issue-pdi/pdi-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ appId: id.paradym.wallet.preview
- waitForAnimationToEnd:
timeout: 5000

- extendedWaitUntil:
visible: "Yes, continue"
timeout: 100000
- tapOn: "Yes, continue"

- waitForAnimationToEnd:
Expand Down Expand Up @@ -66,7 +69,7 @@ appId: id.paradym.wallet.preview
when:
platform: iOS
commands:
- tapOn: "Go to wallet "
- tapOn: "Go to wallet, "

- waitForAnimationToEnd:
timeout: 5000
Expand Down
18 changes: 0 additions & 18 deletions apps/easypid/.maestro/issue-sign-in/issue-sign-in-didcomm.yaml

This file was deleted.

Loading