From 59338d20e11c32de233c8cb19ef53b18b687f15c Mon Sep 17 00:00:00 2001 From: Lorenzo Mattei Date: Fri, 7 Feb 2025 13:03:56 +0100 Subject: [PATCH] Handle camera access request in sync recovery flow (#3942) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task/Issue URL: https://app.asana.com/0/1204165176092271/1209342734692466 Tech Design URL: CC: **Description**: This PR handles the Camera access request modal in the same way of [sync_login](https://github.com/duckduckgo/iOS/blob/main/.maestro/shared/sync_login.yaml) to avoid failures like [this one](https://github.com/duckduckgo/iOS/actions/runs/13191313782/job/36824864001#step:6:32). **Steps to test this PR**: 1. Run Maestro sync tests and validate the pass. 2. **Definition of Done (Internal Only)**: * [x] Does this PR satisfy our [Definition of Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)? **Copy Testing**: * [ ] Use of correct apostrophes in new copy, ie `’` rather than `'` **Orientation Testing**: * [ ] Portrait * [ ] Landscape **Device Testing**: * [ ] iPhone SE (1st Gen) * [ ] iPhone 8 * [ ] iPhone X * [ ] iPhone 14 Pro * [ ] iPad **OS Testing**: * [ ] iOS 15 * [ ] iOS 16 * [ ] iOS 17 **Theme Testing**: * [ ] Light theme * [ ] Dark theme --- ###### 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_recover_data.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.maestro/shared/sync_recover_data.yaml b/.maestro/shared/sync_recover_data.yaml index f6ce10fcec..aef3d963a2 100644 --- a/.maestro/shared/sync_recover_data.yaml +++ b/.maestro/shared/sync_recover_data.yaml @@ -10,6 +10,11 @@ appId: com.duckduckgo.mobile.ios - pressKey: Enter - assertVisible: Get Started - tapOn: Get Started +- runFlow: + when: + visible: Allows you to upload photographs and videos + commands: + - tapOn: "Allow" - tapOn: Enter Text Code Manually - tapOn: Paste - assertVisible: Save Recovery Code