appId: eu.europa.ec.euidi
name: FCAF engage a Credential Offer from the issuer's engagement page
tags:
- fcaf
- ws_ap
- engagement
- credential
---
# The End-user engages a Credential Offer the way the attestation-provider
# sources describe it: the User-agent shows the issuer's page with the offer
# link, and the End-user follows it. `engage_url` is Capture's
# /ui/sessions/{id}/engage page, whose only action is "Open in wallet" on the
# session's delivered deeplink.
#
# The screenshots are the evidence oid4vci.offer_engagement reads:
# - offer-link-presented: the User-agent presents the option to engage;
# - ua-engage-prompt: Chrome asks to hand the link to a wallet app;
# - wallet-invoked: the Wallet's screen replaced the page;
# - wallet-not-invoked: the page is still shown, so the platform resolved the
# link's scheme to no Wallet;
# - issuance-offer / issuance-outcome: the Wallet's offer screen and the screen
# it ends on after Accept.
# When the Wallet shows the offer it is accepted, also for a malformed offer, so
# a tolerant Wallet makes the requests the negative tests must not see. Once the
# Wallet is invoked the flow asserts no outcome: the Capture session decides the
# verdict. A Wallet that is not invoked fails the flow, after its
# wallet-not-invoked screenshot, so the step fails with the tests it blocks or
# fails (the failed step still exposes its screenshots as flow_output).
- launchApp:
appId: com.android.chrome
stopApp: true
- openLink:
link: ${engage_url}
browser: true
- extendedWaitUntil:
visible: "Open in wallet"
timeout: 60000
- takeScreenshot: offer-link-presented
- tapOn: "Open in wallet"
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Do you trust this site with your data?"
commands:
- takeScreenshot: ua-engage-prompt
- tapOn: "Continue"
- waitForAnimationToEnd:
timeout: 5000
- extendedWaitUntil:
visible: "Welcome back|Issuance request|Oups! Something went wrong"
timeout: 15000
optional: true
- runFlow:
when:
visible: "Open in wallet"
commands:
- takeScreenshot: wallet-not-invoked
- assertNotVisible:
text: "Open in wallet"
label: "The Wallet was invoked by the Credential Offer link"
- runFlow:
when:
visible: "Welcome back|Issuance request|Oups! Something went wrong"
commands:
- takeScreenshot: wallet-invoked
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- hideKeyboard
- extendedWaitUntil:
visible: "Issuance request|Oups! Something went wrong"
timeout: 30000
optional: true
- runFlow:
when:
visible: "Issuance request"
commands:
- takeScreenshot: issuance-offer
- scrollUntilVisible:
element: "Accept"
- tapOn: "Accept"
- extendedWaitUntil:
visible: "View details|Oups! Something went wrong|invalid request"
timeout: 100000
optional: true
- waitForAnimationToEnd:
timeout: 3000
- takeScreenshot: issuance-outcome
Get credential (Generic)
fcaf-expect-credential-rejected
FCAF
fcafws_rpws_apexpectrejectedcredential
appId: eu.europa.ec.euidi
name: FCAF expect credential rejected - issuance error or discontinuation
tags:
- fcaf
- ws_rp
- ws_ap
- expect
- rejected
- credential
---
# Terminal flow for negative issuance cases, where the Wallet must refuse to
# store the offered credential. It accepts the offer like
# getcredential-generic-credential-without-authentication, then passes only on
# an error screen or a return to Home, and fails when the Wallet shows the
# "View details" success screen. The Wallet-side proof that nothing was stored
# is the follow-up DCQL probe, not this screenshot.
- launchApp:
stopApp: true
clearState: false
- openLink:
link: ${deeplink}
autoVerify: false
browser: false
- extendedWaitUntil: { visible: "Welcome back|Accept", timeout: 100000 }
- waitForAnimationToEnd: { timeout: 3000 }
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil: { visible: "Accept", timeout: 100000 }
- tapOn: "Accept"
- extendedWaitUntil:
visible: "View details|invalid request|Oups! Something went wrong|Home|Documents"
timeout: 100000
- waitForAnimationToEnd: { timeout: 3000 }
- assertNotVisible: "View details"
- takeScreenshot: credential-rejected
Get credential (Generic)
fcaf-issue-pid
FCAF
fcafws_rpws_aphelpercredential
appId: eu.europa.ec.euidi
name: "FCAF issue PID - accept an offer the generator injects for a presentation"
tags:
- fcaf
- ws_rp
- ws_ap
- helper
- credential
---
# The PID issuance cmd/fcaf-pipeline-gen injects before a presentation that
# needs a credential. It runs as an entry of the presentation step's `actions`,
# so it takes no screenshot: the step's screenshots are evidence for the
# presentation alone. It keeps every assertion of
# getcredential-generic-credential-without-authentication, which scenarios use
# for issuances they author and whose credential-added screenshot is
# possession evidence; keep the two flows' commands in step.
- launchApp:
stopApp: true
clearState: false
- openLink:
link: ${deeplink}
autoVerify: false
browser: false
- waitForAnimationToEnd: { timeout: 3000 }
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd: { timeout: 3000 }
- scrollUntilVisible:
element: "Accept"
- tapOn: "Accept"
- waitForAnimationToEnd: { timeout: 1000 }
- assertVisible: "View details"
- tapOn: "View details"
- waitForAnimationToEnd: { timeout: 1000 }
appId: eu.europa.ec.euidi
name: FCAF reset and onboard the wallet - clear state and set the PIN
tags:
- fcaf
- ws_rp
- ws_ap
- helper
- reset
- onboarding
---
# Runs as the first step of every FCAF pipeline, on the freshly installed
# Wallet, and again before every FCAF scenario that drives the Wallet. Clearing
# the app state removes every credential earlier scenarios left behind, so a
# presentation can only select credentials its own scenario issued; the
# onboarding then sets the PIN to the 123456 the other FCAF flows enter on
# "Welcome back".
- launchApp:
clearState: true
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome to your Wallet"
timeout: 60000
- waitForAnimationToEnd:
timeout: 3000
- inputText: "123456"
- extendedWaitUntil:
visible: "Confirm PIN"
timeout: 15000
- inputText: "123456"
- extendedWaitUntil:
visible: "GO TO HOME"
timeout: 60000
- tapOn: "GO TO HOME"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
appId: eu.europa.ec.euidi
name: FCAF observe the Wallet after the denied Credential Request
tags:
- fcaf
- ws_ap
---
- extendedWaitUntil:
visible: "FCAF observation window has not elapsed"
timeout: 20000
optional: true
Other
fcaf-observe-wallet-after-par-response
FCAF
fcafws_ap
appId: eu.europa.ec.euidi
name: FCAF observe the Wallet after the PAR response
tags:
- fcaf
- ws_ap
---
- extendedWaitUntil:
visible: "FCAF observation window has not elapsed"
timeout: 20000
optional: true
Other
fcaf-reset-wallet
FCAF
appId: eu.europa.ec.euidi
name: FCAF reset wallet - clear state and set the PIN
tags:
- fcaf
- helper
- reset
---
# Runs before every FCAF scenario that drives the Wallet. Clearing the app
# state removes every credential earlier scenarios left behind, so a
# presentation can only select credentials its own scenario issued. The PIN is
# the 123456 the other FCAF flows enter on "Welcome back".
- launchApp:
clearState: true
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome to your Wallet"
timeout: 60000
- waitForAnimationToEnd:
timeout: 3000
- inputText: "123456"
- extendedWaitUntil:
visible: "Confirm PIN"
timeout: 15000
- inputText: "123456"
- extendedWaitUntil:
visible: "GO TO HOME"
timeout: 60000
- tapOn: "GO TO HOME"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- takeScreenshot: fcaf-wallet-reset
Other
fcaf-wait-past-status-list-expiry
FCAF
fcafws_rp
appId: eu.europa.ec.euidi
name: FCAF wait past the status list exp
tags:
- fcaf
- ws_rp
---
- extendedWaitUntil:
visible: "FCAF status list exp window has not elapsed"
timeout: 240000
optional: true
appId: eu.europa.ec.euidi
name: FCAF exercise wallet - response endpoint callback redirect
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*"
timeout: 30000
optional: true
- extendedWaitUntil:
visible: "Close"
timeout: 30000
optional: true
- takeScreenshot: "callback-redirect-wallet-success"
# `Close` is the reference Wallet's own dismiss control. The tap is
# conditional because the source says nothing about the Wallet's screen
# wording: a Wallet with a different terminal screen must still reach the
# visit screenshot below.
- runFlow:
when:
visible: "Close"
commands:
- tapOn: "Close"
- extendedWaitUntil:
visible: "Presentation complete"
timeout: 30000
optional: true
- takeScreenshot: "callback-redirect-visit"
Verify credential
fcaf-dc-api-expect-rejected
FCAF
fcafws_rpdc-apiexpectrejected
appId: com.android.chrome
name: FCAF DC API expect the Wallet to refuse the request
tags:
- fcaf
- ws_rp
- dc-api
- expect
- rejected
---
# Terminal flow for DC API cases whose expected outcome is a refusal. It is
# separate from fcaf-dc-api-present, which passes only on a completed
# presentation, so neither flow is green on the other outcome. It fails when
# the Wallet reaches its consent screen, when the page reports an accepted
# presentation, and when the browser exposes no Digital Credentials API.
#
# The page reports the outcome to the verifier through
# POST /openid4vp/sessions/{id}/dc_api_invocation only once the credential
# request ends. On the Wallet's error screen, TRY AGAIN repeats the same
# request, so the flow presses Back, which returns to the platform picker, and
# closes the picker. The page then reports `rejected` (NotAllowedError). That
# outcome comes from closing the picker, so the Wallet's refusal itself is
# proven by this flow failing on a consent screen and by the
# dc-api-wallet-outcome screenshot.
- launchApp:
appId: com.android.chrome
stopApp: true
clearState: false
# Naming one permission keeps Maestro from granting or resetting every
# Chrome permission on launch, which costs several seconds per step.
permissions:
notifications: allow
- openLink:
link: "${presentation_url}"
autoVerify: false
browser: true
- extendedWaitUntil:
visible: "Present credential"
timeout: 60000
- tapOn: "Present credential"
- extendedWaitUntil:
visible: "Continue|Agree and continue|Welcome back|Share|Oups! Something went wrong|.*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation|Presentation accepted).*"
timeout: 120000
# Chrome asks once per origin whether the site may read the wallet.
- runFlow:
when:
visible: "Continue"
commands:
- tapOn: "Continue"
- extendedWaitUntil:
visible: "Agree and continue|Welcome back|Share|Oups! Something went wrong|.*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation).*"
timeout: 60000
# Platform credential picker listing the matching wallet documents.
- runFlow:
when:
visible: "Agree and continue"
commands:
- tapOn: "Agree and continue"
- extendedWaitUntil:
visible: "Welcome back|Share|Oups! Something went wrong|.*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation).*"
timeout: 60000
# The Wallet runs inside the credential-manager window, where hideKeyboard
# leaves the Wallet, so the PIN is typed on the keypad.
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Share|Oups! Something went wrong|.*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation|Presentation accepted).*"
timeout: 60000
- waitForAnimationToEnd:
timeout: 2000
- takeScreenshot: dc-api-wallet-outcome
# A consent screen means the Wallet accepted the request.
- assertNotVisible: "Share"
- runFlow:
when:
visible: "Oups! Something went wrong"
commands:
- back
- extendedWaitUntil:
visible: "Agree and continue|.*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation|Presentation accepted).*"
timeout: 30000
- runFlow:
when:
visible: "Agree and continue"
commands:
- tapOn: "Close"
- extendedWaitUntil:
visible: ".*(did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation|Presentation accepted).*"
timeout: 120000
- assertNotVisible: ".*Presentation accepted.*"
- takeScreenshot: dc-api-invocation-outcome
Verify credential
fcaf-dc-api-present
FCAF
fcafws_rpdc-apipresent
appId: com.android.chrome
name: FCAF invoke the wallet through the Digital Credentials API
tags:
- fcaf
- ws_rp
- dc-api
- present
---
# DC API presentation is browser-mediated, not deeplink-mediated: the capture
# service serves an HTTPS page and the wallet is invoked only from a button
# press on it, through navigator.credentials.get({ digital: ... }).
#
# This flow passes only on a completed presentation that the page reports as
# accepted. Cases whose expected outcome is a refusal use
# fcaf-dc-api-expect-rejected instead, so neither flow is green on the other
# outcome.
- launchApp:
appId: com.android.chrome
stopApp: true
clearState: false
# Naming one permission keeps Maestro from granting or resetting every
# Chrome permission on launch, which costs several seconds per step.
permissions:
notifications: allow
- openLink:
link: "${presentation_url}"
autoVerify: false
browser: true
# The two screenshots below record the page and the screen reached after the
# button press. The flow still fails on any outcome but an accepted
# presentation; these screenshots are what remains when it does, so a Wallet
# the platform never offered is told apart from a page that never loaded.
- extendedWaitUntil:
visible: "Present credential"
timeout: 60000
optional: true
- takeScreenshot: dc-api-page
- tapOn: "Present credential"
- extendedWaitUntil:
visible: "Continue|Agree and continue|Welcome back|Share|Cancel|.*(did not complete|answered without a presentation|Presentation accepted).*"
timeout: 120000
optional: true
- takeScreenshot: dc-api-after-present
# Chrome asks once per origin whether the site may read the wallet.
- runFlow:
when:
visible: "Continue"
commands:
- tapOn:
text: "Continue"
optional: true
- extendedWaitUntil:
visible: "Agree and continue|Welcome back|Share|Cancel"
timeout: 60000
# Platform credential picker listing the matching wallet documents.
- runFlow:
when:
visible: "Agree and continue"
commands:
- tapOn:
text: "Agree and continue"
optional: true
- extendedWaitUntil:
visible: "Welcome back|Share|Cancel"
timeout: 60000
# The Wallet runs inside the credential-manager window, where hideKeyboard
# leaves the Wallet, so the PIN is typed on the keypad.
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Share"
timeout: 30000
- assertVisible: "Share"
- tapOn:
text: "Share"
waitToSettleTimeoutMs: 1000
- extendedWaitUntil:
visible: "PIN"
timeout: 30000
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 1000
- extendedWaitUntil:
visible: ".*successfully shared.*"
timeout: 30000
- tapOn: "View details"
- takeScreenshot: dc-api-wallet-outcome
# The Wallet hands the response back to Chrome only when its result screen
# closes; until then the verifier has received nothing.
- tapOn: "Close"
- extendedWaitUntil:
visible: ".*(Presentation accepted|did not complete the presentation|answered without a presentation|could not be submitted|rejected the presentation).*"
timeout: 120000
- assertVisible: ".*Presentation accepted.*"
- takeScreenshot: dc-api-invocation-outcome
Verify credential
fcaf-engagement-eu-eaap
FCAF
fcafws_rpengagementeu-eaap
appId: eu.europa.ec.euidi
name: FCAF engagement - EU EAAP custom URL scheme
tags:
- fcaf
- ws_rp
- engagement
- eu-eaap
---
# Engagement flow for a presentation link that uses the `eu-eaap://` custom URL
# scheme (WS_RP_IA_Engagement__001b).
#
# A Wallet that registers no handler for the scheme is not invoked at all: the
# openLink intent resolves to no activity and the Wallet stays where it was.
# That is a property of the Wallet under test, not a reason to abort the run, so
# openLink is optional and every wait below is bounded and optional. The step
# therefore cannot hang the pipeline and always stores a screenshot.
#
# The engagement screenshot is taken only while the Wallet shows the request
# screen, so its presence - not the flow's success - is the evidence that the
# Wallet was invoked; the terminal screenshot is taken whatever screen the
# Wallet ends on, so a Wallet that ignored the link is still evidenced. The
# test's assertions decide the verdict.
#
# The pre-openLink waits are optional too: this flow must always reach its
# terminal screenshot, so a Wallet that is slow to launch or stops on a screen
# this flow does not know cannot end it before the evidence is stored.
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
optional: true
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
optional: true
- runFlow:
when:
visible: "1"
commands:
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
optional: true
# The reference build registers no `eu-eaap://` handler, so this intent may
# resolve to nothing; `optional` keeps that from ending the flow before its
# screenshots.
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
optional: true
# A settle wait so every `when`-style lookup below starts from a screen that is
# no longer being composed.
- waitForAnimationToEnd:
timeout: 3000
# Phase 1: bounded, optional wait for the Wallet's reaction to the link. A
# second lock screen counts as a reaction even though it says nothing yet about
# the request.
- extendedWaitUntil:
visible: "Welcome back|Requested data|Share|Oups! Something went wrong|invalid request"
timeout: 30000
optional: true
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
optional: true
- runFlow:
when:
visible: "1"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
# Phase 2: the request screen alone, over a long window because a Wallet that
# does answer the scheme renders it only after the deeplink intent settles.
- extendedWaitUntil:
visible: "Requested data|Share"
timeout: 100000
optional: true
# The engagement screenshot, stored only while the request screen is up. The
# name must survive PocketBase's 100-character cap on the snake-cased
# `<step id>-<name>` stem: the only step id that binds this action is 41
# characters, so this 29-character name fits with room to spare.
- runFlow:
when:
visible: "Requested data|Share"
commands:
- takeScreenshot: fcaf-engagement-eu-eaap-invoked
# The terminal screenshot records whichever screen the Wallet ended on, so a
# Wallet that ignored the link still leaves evidence.
- takeScreenshot: eu-eaap-outcome
Verify credential
fcaf-engagement-haip-vp
FCAF
fcafws_rpws_apengagementhaip-vp
appId: eu.europa.ec.euidi
name: FCAF engagement - HAIP VP
tags:
- fcaf
- ws_rp
- ws_ap
- engagement
- haip-vp
---
- openLink:
link: ${deeplink}
autoVerify: false
browser: false
- waitForAnimationToEnd: { timeout: 3000 }
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd: { timeout: 3000 }
# This flow succeeds only on a completed presentation, so its screenshots reach
# a test's visual evidence only then. A Wallet that refuses the request shows
# no usable Share button and fails the step; the screenshot below is taken
# first so the refusal screen is still stored on the pipeline result for
# review, without counting as evidence of a presentation.
- extendedWaitUntil:
visible: "Share|Oups! Something went wrong|The requested document is not available.*|invalid request"
timeout: 30000
optional: true
- takeScreenshot: fcaf-engagement-haip-vp-request
- scrollUntilVisible:
element: "Share"
# Taken only while the consent screen is up: tests use it as evidence that the
# Wallet asked for consent.
- takeScreenshot: fcaf-engagement-haip-vp-invoked
- tapOn:
text: "Share"
waitToSettleTimeoutMs: 1000
# A Wallet may ask for a second PIN after Share or skip it; only the success
# screen is required.
- extendedWaitUntil:
visible: "PIN|.*successfully shared.*"
timeout: 30000
optional: true
- runFlow:
when:
visible: "PIN"
commands:
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*"
timeout: 30000
- runFlow:
when:
visible: "View details"
commands:
- tapOn: "View details"
- waitForAnimationToEnd:
timeout: 1000
- takeScreenshot: fcaf-engagement-haip-vp-shared
Verify credential
fcaf-engagement-haip-vp test
FCAF
fcafengagementhaip-vp
appId: eu.europa.ec.euidi
name: FCAF engagement - HAIP VP
tags:
- fcaf
- engagement
- haip-vp
---
- openLink:
link: ${deeplink}
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- extendedWaitUntil:
visible: "Welcome back|Share|Cancel|Close"
timeout: 100000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "123456"
- waitForAnimationToEnd:
timeout: 3000
- scrollUntilVisible:
element: "Share"
- assertVisible: "Share"
- takeScreenshot: fcaf-engagement-haip-vp-invoked
- tapOn:
text: "Share"
waitToSettleTimeoutMs: 1000
- extendedWaitUntil:
visible: "Welcome back|To approve the transaction you need to verify your identity."
timeout: 100000
- assertNotVisible: "Share"
- runFlow:
when:
visible: "Welcome back|To approve the transaction you need to verify your identity."
commands:
- extendedWaitUntil:
visible: "Welcome back|To approve the transaction you need to verify your identity.|PIN|Enter your PIN"
timeout: 30000
- inputText: "123456"
- waitForAnimationToEnd:
timeout: 3000
- scrollUntilVisible:
element: ".*successfully shared.*"
- tapOn: { text: "View details", optional: true }
- waitForAnimationToEnd:
timeout: 1000
- takeScreenshot: fcaf-engagement-haip-vp-shared
Verify credential
fcaf-exercise-http-error-redirect-response
FCAF
fcafws_rp
appId: eu.europa.ec.euidi
name: FCAF exercise HTTP error redirect response - wallet follows error redirect
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Oups! Something went wrong|Verifier rejected the response"
timeout: 30000
optional: true
- takeScreenshot: "http-error-redirect-wallet-error"
# The X is the error screen's only dismiss control (and the sibling
# verifier-response-controls flows word the same screen as `Verifier
# rejected the response`). It is tapped only while the error screen is up,
# so a Wallet that worded its screen differently is not hit by a blind
# coordinate tap. If the tap leaves the screen in place, the Android Back
# gesture (which the Wallet's DC API error screen also accepts) is tried
# before the browser is awaited.
- runFlow:
when:
visible: "Oups! Something went wrong|Verifier rejected the response"
commands:
- tapOn:
point: "8%,9%"
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Oups! Something went wrong|Verifier rejected the response"
commands:
- pressKey: Back
- extendedWaitUntil:
visible: "Presentation complete"
timeout: 30000
optional: true
- takeScreenshot: "http-error-redirect-visit"
appId: eu.europa.ec.euidi
name: FCAF exercise wallet - DCQL claim_sets non-array variants
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_NULL}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-null"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-null-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_TRUE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-true"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-true-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_FALSE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-false"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-false-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ZERO}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-zero"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-zero-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_NUMBER}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-number"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-number-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_STRING}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-string"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-string-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_OBJECT}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-086-object"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-086-object-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
Verify credential
fcaf-exercise-non-array-claims
FCAF
fcafws_rp
appId: eu.europa.ec.euidi
name: FCAF exercise wallet - DCQL claims non-array variants
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_NULL}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-null"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-null-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_TRUE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-true"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-true-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_FALSE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-false"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-false-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ZERO}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-zero"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-zero-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_NUMBER}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-number"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-number-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_STRING}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-string"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-string-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_OBJECT}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-084-object"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-084-object-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
appId: eu.europa.ec.euidi
name: FCAF exercise trusted authorities type non-string
tags:
- fcaf
- ws_rp
---
- "stopApp"
- launchApp:
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_NULL}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-null"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-null-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_TRUE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-true"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-true-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_FALSE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-false"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-false-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ZERO}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-zero"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-zero-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_NUMBER}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-number"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-number-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ARRAY}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-array"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-array-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_OBJECT}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-091-object"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-091-object-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
appId: eu.europa.ec.euidi
name: FCAF exercise trusted authorities values empty string
tags:
- fcaf
- ws_rp
---
- "stopApp"
- launchApp:
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_SINGLE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-094-single"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-094-single-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_MIXED}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-094-mixed"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-094-mixed-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
appId: eu.europa.ec.euidi
name: FCAF exercise trusted authorities values item non-string
tags:
- fcaf
- ws_rp
---
- "stopApp"
- launchApp:
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_NULL}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-null"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-null-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_TRUE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-true"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-true-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_FALSE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-false"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-false-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ZERO}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-zero"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-zero-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_NUMBER}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-number"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-number-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ARRAY}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-array"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-array-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_OBJECT}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-093-object"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-093-object-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
appId: eu.europa.ec.euidi
name: FCAF exercise trusted authorities values non-array
tags:
- fcaf
- ws_rp
---
- "stopApp"
- launchApp:
clearState: false
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink_NULL}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-null"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-null-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_TRUE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-true"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-true-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_FALSE}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-false"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-false-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_ZERO}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-zero"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-zero-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_NUMBER}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-number"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-number-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_STRING}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-string"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-string-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink_OBJECT}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 5000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
# Phase 1: give the Wallet time to react before accepting Home/Documents.
# A screenshot taken while it is still on Home is not evidence that it
# engaged with the request, so a decisive screen is awaited first.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 30000
optional: true
# Phase 2: the decisive screens only, optional and long, so a slow Wallet
# gets the whole window to render its reaction before Home/Documents
# counts as a discontinuation. While this wait accepted Home/Documents it
# returned the instant phase 1 timed out, so a Wallet that needed longer
# than phase 1's window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional
# too, so a Wallet parked on a screen this flow does not know still
# reaches the screenshot instead of failing the step and with it the
# evidence.
- extendedWaitUntil:
visible: "Requested data|invalid request|Presentation blocked|Oups! Something went wrong|The requested document is not available in your EUDI Wallet.*|Data sharing request|Home|Documents|Welcome, .*"
timeout: 30000
optional: true
- takeScreenshot: "fcaf-092-object"
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- runFlow:
when:
visible: "PIN"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong"
timeout: 60000
optional: true
- takeScreenshot: "fcaf-092-object-presented"
- tapOn:
text: "Close|TRY AGAIN"
optional: true
- runFlow:
when:
visible: "Data sharing request"
commands:
- tapOn: "Cancel"
- waitForAnimationToEnd:
timeout: 3000
appId: eu.europa.ec.euidi
name: FCAF exercise unknown request and response parameter - ignore both members and follow redirect
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*"
timeout: 30000
optional: true
- extendedWaitUntil:
visible: "Close"
timeout: 30000
optional: true
- takeScreenshot: "unknown-request-and-response-parameter-wallet-success"
# `Close` is the reference Wallet's own dismiss control. The tap is
# conditional because the source says nothing about the Wallet's screen
# wording: a Wallet with a different terminal screen must still reach the
# visit screenshot below.
- runFlow:
when:
visible: "Close"
commands:
- tapOn: "Close"
- extendedWaitUntil:
visible: "Presentation complete"
timeout: 30000
optional: true
- takeScreenshot: "unknown-request-and-response-parameter-visit"
Verify credential
fcaf-exercise-unknown-response-parameter
FCAF
fcafws_rp
appId: eu.europa.ec.euidi
name: FCAF exercise unknown response parameter - ignore unrecognized member and follow redirect
tags:
- fcaf
- ws_rp
---
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*"
timeout: 30000
optional: true
- extendedWaitUntil:
visible: "Close"
timeout: 30000
optional: true
- takeScreenshot: "unknown-response-parameter-wallet-success"
# `Close` is the reference Wallet's own dismiss control. The tap is
# conditional because the source says nothing about the Wallet's screen
# wording: a Wallet with a different terminal screen must still reach the
# visit screenshot below.
- runFlow:
when:
visible: "Close"
commands:
- tapOn: "Close"
- extendedWaitUntil:
visible: "Presentation complete"
timeout: 30000
optional: true
- takeScreenshot: "unknown-response-parameter-visit"
Verify credential
fcaf-exercise-wallet-generic
FCAF
fcafws_rpexercisegeneric
appId: eu.europa.ec.euidi
name: FCAF exercise wallet - generic capture session flow
tags:
- fcaf
- ws_rp
- exercise
- generic
---
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back"
timeout: 30000
# A wait that ends on a screen still being composed leaves the next `when`
# check no lookup time; settling first restarts Maestro's lookup window.
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd: { timeout: 3000 }
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
- waitForAnimationToEnd: { timeout: 3000 }
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd: { timeout: 3000 }
- inputText: "12345"
- tapOn: "6"
# A verifier that rejects the Authorization Response or replies with an
# HTTP error leaves the Wallet on its error screen instead.
- extendedWaitUntil:
visible: "The requested document is not available.*|invalid request|Oups! Something went wrong|.*successfully shared.*|Home|Documents"
timeout: 30000
- takeScreenshot: exercise-wallet
Verify credential
fcaf-expect-no-matching-document
FCAF
fcafws_rpws_apexpectno-match
appId: eu.europa.ec.euidi
name: FCAF expect no matching document in the wallet
tags:
- fcaf
- ws_rp
- ws_ap
- expect
- no-match
---
# Shared terminal flow for negative cases whose expected outcome is the Wallet
# telling the End-User it holds no credential satisfying the request.
#
# It used to fail its step unless the exact notice
# `The requested document is not available in your EUDI Wallet` appeared. On a
# tolerant Wallet that instead shows the consent screen with a matching
# credential, that failure discarded the proof: nothing was posted, the
# screenshot was never taken, and the source's "no presentation" assertion
# passed on a Wallet that had actually found a match. The flow now never fails
# its step. It waits (bounded and optional, in a 30 s probe followed by a 100 s
# window) for a decisive screen, so neither a screenshot of an unchanged Home
# nor a slow Wallet misread as having discontinued the interaction can pass;
# it shares when the consent screen lists Requested data so the Verifier
# records a real Authorization Response, and always stores a screenshot of the
# terminal state. The protocol assertion decides the verdict; the screenshot
# shows which screen appeared.
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
# A settle wait so every `when`-style lookup below starts from a screen that is
# no longer being composed.
- waitForAnimationToEnd:
timeout: 3000
# Phase 1: bounded, optional wait for a decisive Wallet screen. A second
# `Welcome back` lock screen counts as a reaction to the link even though it says
# nothing yet about the request's outcome.
- extendedWaitUntil:
visible: "Welcome back|The requested document is not available.*|Requested data|invalid request|Oups! Something went wrong|Presentation blocked"
timeout: 30000
optional: true
# A second lock screen after openLink is unlocked with the shared unlock
# sequence before the request screen is awaited again.
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
# Phase 2: the decisive screens only, optional and long, so a slow Wallet gets
# the whole window to render its reaction before Home/Documents counts as a
# discontinuation. While this wait accepted Home/Documents it returned the
# instant phase 1 timed out, so a Wallet that needed longer than phase 1's
# window was recorded as having discontinued.
- extendedWaitUntil:
visible: "The requested document is not available.*|Requested data|invalid request|Oups! Something went wrong|Presentation blocked"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional too, so
# a Wallet parked on a screen this flow does not know still reaches the
# screenshot instead of failing the step and with it the evidence.
- extendedWaitUntil:
visible: "The requested document is not available.*|Requested data|invalid request|Oups! Something went wrong|Presentation blocked|Home|Documents|Add document|Welcome, .*"
timeout: 30000
optional: true
# The decisive screen the sources that require the notice ask for ("the Wallet
# informs the user it has no matching credential available"): a screenshot taken
# only while that notice is on screen. It is separate from the terminal
# screenshot below, which is taken whatever the Wallet showed so a Wallet that
# never displayed the notice is still recorded.
#
# The name must survive PocketBase's 100-character cap on the snake-cased
# `<stepID>-<screenshot name>` stem (tools/filesystem/file.go truncates
# cleanName to 100 before appending the random part). The longest step id that
# uses this action is 78 characters, so a name must stay within 21 characters;
# `no-match-notice` (15) and the terminal `no-match-document` (17) both fit.
- runFlow:
when:
visible: "The requested document is not available.*"
commands:
- takeScreenshot: no-match-notice
# Phase 4: a tolerant Wallet that lists Requested data has found a matching
# credential; share it so the Verifier records the presentation the source test
# must refute. The terminal wait is optional because this flow must reach its
# screenshot even when the Wallet stops on an unexpected screen.
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong|invalid request"
timeout: 30000
optional: true
# The terminal screenshot is stored whatever screen the Wallet showed; its name
# (17 characters) fits the budget stated above.
- takeScreenshot: no-match-document
Verify credential
fcaf-expect-request-rejected
FCAF
fcafws_rpexpectrejected
appId: eu.europa.ec.euidi
name: FCAF expect request rejected - error or interaction discontinuation
tags:
- fcaf
- ws_rp
- expect
- rejected
---
# Shared terminal flow for negative cases whose accepted outcome is an error
# screen, a no-match notice, or a silent return to Home. It deliberately differs
# from fcaf-exercise-wallet-generic, whose post-openLink wait excludes Home and
# Documents so that positive flows cannot skip the consent screen. Do not add
# Home or Documents to that action; use this one instead.
#
# The Wallet is still showing Home the instant after openLink, so a screenshot
# taken then is not evidence that it reacted: only a decisive screen (consent
# request, no-match notice, Wallet error, blocked presentation) proves the
# request reached the Wallet. Home/Documents is therefore accepted only after
# two bounded, optional waits for a decisive screen: a 30 s probe and, when that
# finds nothing, a further 100 s window, so a Wallet slower than 33 s is not
# misread as having discontinued the interaction. A tolerant Wallet that shows
# the consent screen is answered with Share and the PIN, so the Verifier records
# a real Authorization Response and the source's negative assertion fails on
# evidence instead of passing on a Wallet that never engaged. The flow itself
# never fails its step: every wait is optional, the screenshot is the evidence
# of which screen appeared, and the protocol assertion decides the verdict.
- launchApp:
stopApp: true
clearState: false
permissions:
camera: allow
notifications: allow
- extendedWaitUntil:
visible: "Welcome back|Home|Documents|Add document|Welcome, .*"
timeout: 30000
- waitForAnimationToEnd:
timeout: 3000
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: "Home|Documents|Add document|Welcome, .*"
timeout: 30000
- openLink:
link: "${deeplink}"
autoVerify: false
browser: false
# A settle wait so every `when`-style lookup below starts from a screen that is
# no longer being composed.
- waitForAnimationToEnd:
timeout: 3000
# Phase 1: bounded, optional wait for a decisive Wallet screen. A second
# `Welcome back` lock screen counts as a reaction to the link even though it says
# nothing yet about the request's outcome.
- extendedWaitUntil:
visible: "Welcome back|Requested data|The requested document is not available.*|invalid request|Oups! Something went wrong|Presentation blocked"
timeout: 30000
optional: true
# A second lock screen after openLink is unlocked with the shared unlock
# sequence before the request screen is awaited again.
- runFlow:
when:
visible: "Welcome back"
commands:
- extendedWaitUntil:
visible: "1"
timeout: 30000
- inputText: "12345"
- tapOn: "6"
- waitForAnimationToEnd:
timeout: 3000
# Phase 2: the decisive screens only, optional and long, so a slow Wallet gets
# the whole window to render its reaction before Home/Documents counts as a
# discontinuation. While this wait accepted Home/Documents it returned the
# instant phase 1 timed out, so a Wallet that needed longer than phase 1's
# window was recorded as having discontinued.
- extendedWaitUntil:
visible: "Requested data|The requested document is not available.*|invalid request|Oups! Something went wrong|Presentation blocked"
timeout: 100000
optional: true
# Phase 3: only now accept the discontinuation outcomes. It is optional too, so
# a Wallet parked on a screen this flow does not know still reaches the
# screenshot instead of failing the step and with it the evidence.
- extendedWaitUntil:
visible: "Requested data|The requested document is not available.*|invalid request|Oups! Something went wrong|Presentation blocked|Home|Documents|Add document|Welcome, .*"
timeout: 30000
optional: true
# Phase 4: a tolerant Wallet that lists Requested data has accepted the request;
# share it so the Verifier records the Authorization Response the source test
# must refute. The terminal wait is optional because this flow must reach its
# screenshot even when the Wallet stops on an unexpected screen.
- runFlow:
when:
visible: "Requested data"
commands:
- tapOn: "Share"
- waitForAnimationToEnd:
timeout: 3000
- inputText: "12345"
- tapOn: "6"
- extendedWaitUntil:
visible: ".*successfully shared.*|Oups! Something went wrong|invalid request"
timeout: 30000
optional: true
# The terminal screenshot is stored whatever screen the Wallet showed, so a
# Wallet that stopped on a screen listed above is still recorded. The name must
# leave room for the step id: the longest step id that uses this action is 84
# characters and PocketBase keeps only the first 100 characters of the
# snake-cased `<step id>-<screenshot name>` stem
# (tools/filesystem/file.go), so the name may not exceed 15 characters.
- takeScreenshot: request-refused