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

add test 5 and fix test 4 #2276

Merged
merged 3 commits into from
Dec 20, 2023
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
4 changes: 2 additions & 2 deletions .maestro/shared/add_login_from_settings.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: com.duckduckgo.mobile.ios
---

- tapOn: Logins
- tapOn: Passwords
- tapOn: Add 24
- tapOn: Title
- inputText: My Personal Website
Expand All @@ -10,6 +10,6 @@ appId: com.duckduckgo.mobile.ios
- tapOn: example.com
- inputText: mypersonalwebsite.com
- tapOn: Save
- tapOn: Logins
- tapOn: Passwords
- tapOn: Settings
- tapOn: Done
7 changes: 3 additions & 4 deletions .maestro/shared/remove_local_logins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ appId: com.duckduckgo.mobile.ios
---

- tapOn: Settings
- tapOn: Logins
- assertVisible: Unlock device to access saved Logins
- tapOn: Passwords
- tapOn: Passcode field
- inputText: "0000"
- pressKey: Enter
- tapOn: My Personal Website
- tapOn: Delete Login
- tapOn: Delete Login
- tapOn: Delete Password
- tapOn: Delete Password
- tapOn: Settings
- tapOn: Done
13 changes: 6 additions & 7 deletions .maestro/shared/sync_verify_logins.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
appId: com.duckduckgo.mobile.ios
---

- tapOn: Logins
- assertVisible: Unlock device to access saved Logins
- tapOn: Passwords
- tapOn: Passcode field
- inputText: "0000"
- pressKey: Enter
- assertVisible: Dax Login
- tapOn: Dax Login
- assertVisible: daxthetest
- assertVisible: duckduckgo.com
- tapOn: Logins
- tapOn: Passwords
- assertVisible: Github
- tapOn: Github
- assertVisible: githubusername
- assertVisible: github.com
- tapOn: Logins
- tapOn: Passwords
- assertVisible: StackOverflow
- tapOn: StackOverflow
- assertVisible: stacker
- assertVisible: stackoverflow.com
- tapOn: Logins
- tapOn: Passwords
- assertVisible: My Personal Website
- tapOn: My Personal Website
- assertVisible: [email protected]
- assertVisible: mypersonalwebsite.com
- tapOn: Logins
- tapOn: Settings
- tapOn: Passwords
- tapOn: Settings
39 changes: 39 additions & 0 deletions .maestro/sync_tests/05_delete_account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
appId: com.duckduckgo.mobile.ios
tags:
- sync

---

# Clear and launch
- clearState
- launchApp

# Run onboarding Flow
- runFlow:
when:
visible:
text: "Let’s Do It!"
index: 0
file: ../shared/onboarding.yaml

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

# Create account
- runFlow:
file: ../shared/sync_create.yaml

# Remove account
- runFlow:
file: ../shared/sync_delete.yaml

# Try to login and check for error
- assertVisible: Begin Syncing
- tapOn: Sync with Another Device
- assertVisible: Scan QR Code
- tapOn: Manually Enter Code
- tapOn: Paste
- assertVisible: Sync Error
- tapOn: OK
15 changes: 0 additions & 15 deletions .maestro/sync_tests/add_login_from_settings.yaml

This file was deleted.

Loading