Skip to content

Commit

Permalink
Fix camera System alert access in Sync e2e tests (#3303)
Browse files Browse the repository at this point in the history
<!--
Note: This checklist is a reminder of our shared engineering
expectations. Feel free to change it, although assigning a GitHub
reviewer and the items in bold are required.

⚠️ If you're an external contributor, please file an issue first before
working on a PR, as we can't guarantee that we will accept your changes
if they haven't been discussed ahead of time. Thanks!
-->

Task/Issue URL:
https://app.asana.com/0/856498667320406/1208166417502041/f

**Description**:

React to camera access system dialog.

<!--
If at any point it isn't actively being worked on/ready for
review/otherwise moving forward strongly consider closing it (or not
opening it in the first place). If you decide not to close it, use Draft
PR while work is still in progress or use `DO NOT MERGE` label to
clarify the PRs state and comment with more information.
-->

**Steps to test this PR**:

Check
https://github.com/duckduckgo/iOS/actions/runs/10647562834/job/29515714820
for results.

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**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)
  • Loading branch information
bwaresiak authored Sep 2, 2024
1 parent b760c81 commit d0ed37f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .maestro/shared/sync_login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .maestro/sync_tests/06_delete_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0ed37f

Please sign in to comment.