From d0ed37f159dfc37b02566eb4ceeca5f4ddb28749 Mon Sep 17 00:00:00 2001 From: bwaresiak Date: Mon, 2 Sep 2024 13:59:13 +0200 Subject: [PATCH] Fix camera System alert access in Sync e2e tests (#3303) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task/Issue URL: https://app.asana.com/0/856498667320406/1208166417502041/f **Description**: React to camera access system dialog. **Steps to test this PR**: Check https://github.com/duckduckgo/iOS/actions/runs/10647562834/job/29515714820 for results. **Definition of Done (Internal Only)**: * [ ] Does this PR satisfy our [Definition of Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)? --- ###### Internal references: [Software Engineering Expectations](https://app.asana.com/0/59792373528535/199064865822552) [Technical Design Template](https://app.asana.com/0/59792373528535/184709971311943) --- .maestro/shared/sync_login.yaml | 5 +++++ .maestro/sync_tests/06_delete_account.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.maestro/shared/sync_login.yaml b/.maestro/shared/sync_login.yaml index 5f52e15c9a..dcd39c4257 100644 --- a/.maestro/shared/sync_login.yaml +++ b/.maestro/shared/sync_login.yaml @@ -6,6 +6,11 @@ appId: com.duckduckgo.mobile.ios - inputText: "0000" - pressKey: Enter - assertVisible: Scan QR Code +- runFlow: + when: + visible: Allows you to upload photographs and videos + commands: + - tapOn: "OK" - tapOn: Manually Enter Code - tapOn: Paste - assertVisible: Save Recovery Code diff --git a/.maestro/sync_tests/06_delete_account.yaml b/.maestro/sync_tests/06_delete_account.yaml index 8aa17d3c5c..397ec72656 100644 --- a/.maestro/sync_tests/06_delete_account.yaml +++ b/.maestro/sync_tests/06_delete_account.yaml @@ -27,6 +27,11 @@ name: 06_delete_account - inputText: "0000" - pressKey: Enter - assertVisible: Scan QR Code +- runFlow: + when: + visible: Allows you to upload photographs and videos + commands: + - tapOn: "OK" - tapOn: Manually Enter Code - tapOn: Paste - assertVisible: Sync & Backup Error