Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sync E2E tests failing on missing Settings #29

Merged
merged 4 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .maestro/shared/remove_local_logins.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
appId: com.duckduckgo.mobile.ios
---

- tapOn: Browsing menu
- tapOn: Settings
- scrollUntilVisible:
element: Passwords
Expand Down
1 change: 1 addition & 0 deletions .maestro/shared/set_internal_user_from_settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ appId: com.duckduckgo.mobile.ios
- tapOn: Internal User State
- tapOn: Settings
- tapOn: Done
- tapOn: Browsing menu
- tapOn: Settings
1 change: 1 addition & 0 deletions .maestro/sync_tests/01_create_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ name: 01_create_account
file: ../shared/setup.yaml

# Set Internal User
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/set_internal_user_from_settings.yaml
Expand Down
1 change: 1 addition & 0 deletions .maestro/sync_tests/02_login_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ name: 02_login_account
file: ../shared/setup.yaml

# Copy Recovery Code
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/copy_recovery_code_from_settings.yaml
Expand Down
3 changes: 2 additions & 1 deletion .maestro/sync_tests/03_recover_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ name: 03_recover_account
file: ../shared/setup.yaml

# Set Internal User
- tapOn: Settings
- tapOn: "Browsing menu"
- tapOn: "Settings"
- runFlow:
file: ../shared/set_internal_user_from_settings.yaml

Expand Down
2 changes: 2 additions & 0 deletions .maestro/sync_tests/04_sync_data_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ name: 04_sync_data_setup
text: "Cancel"
commands:
- tapOn: Cancel
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/add_login_from_settings.yaml

# Copy Recovery Code
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/copy_recovery_code_from_settings.yaml
Expand Down
3 changes: 3 additions & 0 deletions .maestro/sync_tests/05_sync_data_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ name: 05_sync_data_check
file: ../shared/setup.yaml

# Copy Recovery Code
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/copy_recovery_code_from_settings.yaml
Expand All @@ -38,11 +39,13 @@ name: 05_sync_data_check

# Verify favorites are unified
- tapOn: Done
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/sync_verify_unified_favorites.yaml

# Verify logins
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/sync_verify_logins.yaml
Expand Down
1 change: 1 addition & 0 deletions .maestro/sync_tests/06_delete_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: 06_delete_account
file: ../shared/setup.yaml

# Set Internal User
- tapOn: Browsing menu
- tapOn: Settings
- runFlow:
file: ../shared/set_internal_user_from_settings.yaml
Expand Down