From c85b716098dd0bbac2dc511b62f02d3832c7f4f0 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 22 Feb 2024 09:53:12 +0100 Subject: [PATCH] Add Maestro test to verify the session using recovery key. --- .maestro/tests/account/login.yaml | 1 + .maestro/tests/account/verifySession.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .maestro/tests/account/verifySession.yaml diff --git a/.maestro/tests/account/login.yaml b/.maestro/tests/account/login.yaml index b2abb5da13..397cc61f5c 100644 --- a/.maestro/tests/account/login.yaml +++ b/.maestro/tests/account/login.yaml @@ -28,3 +28,4 @@ appId: ${MAESTRO_APP_ID} - runFlow: ../assertions/assertAnalyticsDisplayed.yaml - tapOn: "Not now" - runFlow: ../assertions/assertHomeDisplayed.yaml +- runFlow: ./verifySession.yaml diff --git a/.maestro/tests/account/verifySession.yaml b/.maestro/tests/account/verifySession.yaml new file mode 100644 index 0000000000..479fd17462 --- /dev/null +++ b/.maestro/tests/account/verifySession.yaml @@ -0,0 +1,10 @@ +appId: ${MAESTRO_APP_ID} +--- +- tapOn: "Continue" +- takeScreenshot: build/maestro/150-Verify +- tapOn: "Enter recovery key" +- tapOn: "Enter…" +- inputText: ${MAESTRO_RECOVERY_KEY} +- hideKeyboard +- tapOn: "Confirm" +- runFlow: ../assertions/assertHomeDisplayed.yaml