-
Notifications
You must be signed in to change notification settings - Fork 929
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/5.186.0' into main
- Loading branch information
Showing
364 changed files
with
10,304 additions
and
2,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
appId: com.duckduckgo.mobile.android | ||
--- | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/browserMenuImageView" | ||
- tapOn: "Bookmarks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
appId: com.duckduckgo.mobile.android | ||
--- | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/browserMenuImageView" | ||
id: "com.duckduckgo.mobile.android:id/browserMenuImageView" | ||
- tapOn: "Settings" | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/item_container" | ||
index: 8 | ||
- tapOn: "Sync & Backup" |
3 changes: 2 additions & 1 deletion
3
.maestro/sync_flows/1_-_create_account.yaml → .maestro/sync_flows/create_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Test Definition: https://app.asana.com/0/1205017362573508/1206195332210606 | ||
appId: com.duckduckgo.mobile.android | ||
name: "ReleaseTest: Users can remove all data" | ||
tags: | ||
- syncTest | ||
--- | ||
- launchApp: | ||
clearState: true | ||
stopApp: true | ||
- runFlow: create_account.yaml | ||
- scrollUntilVisible: | ||
element: | ||
text: "Turn Off and Delete Server Data…" | ||
direction: DOWN | ||
- assertVisible: "Turn Off and Delete Server Data…" | ||
- tapOn: "Turn Off and Delete Server Data…" | ||
- tapOn: "Turn Off" | ||
- assertVisible: "Sync and Back Up This Device" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Test Definition: https://app.asana.com/0/1205017362573508/1205044961533553/f | ||
# Test Definition: https://app.asana.com/0/1205017362573508/1205044961533551/f | ||
appId: com.duckduckgo.mobile.android | ||
name: "ReleaseTest: Users can recover an account / Device can be added to an account" | ||
tags: | ||
- syncTest | ||
--- | ||
- launchApp: | ||
clearState: true | ||
stopApp: true | ||
- runFlow: create_account.yaml | ||
- tapOn: "Show Text Code" | ||
- copyTextFrom: | ||
id: "com.duckduckgo.mobile.android:id/recoveryCode" | ||
- tapOn: "Navigate up" | ||
- tapOn: "Turn Off Sync & Backup…" | ||
- tapOn: "Turn Off" | ||
- runFlow: ../sync_flows/steps/action_recover_account.yaml |
69 changes: 69 additions & 0 deletions
69
.maestro/sync_flows/steps/action_add_bookmarks_and_folders.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Expected state: Browser screen | ||
appId: com.duckduckgo.mobile.android | ||
--- | ||
- runScript: script_add_bookmark_domains.js | ||
# Until here we've joined an account that has predefined data | ||
# Now, we add a couple bookmarks | ||
- tapOn: "Search or type URL" | ||
- inputText: "${output.bookmarks.domains[0]}" | ||
# We need this because Dax Dialogs sometimes appears before pressing Enter | ||
- runFlow: | ||
when: | ||
visible: | ||
id: "com.duckduckgo.mobile.android:id/primaryCta" | ||
commands: | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/primaryCta" | ||
- pressKey: Enter | ||
- runFlow: | ||
when: | ||
visible: | ||
id: "com.duckduckgo.mobile.android:id/primaryCta" | ||
commands: | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/primaryCta" | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/browserMenuImageView" | ||
- tapOn: "Add Bookmark" | ||
- tapOn: "Search or type URL" | ||
# Now, we add a favourite | ||
- inputText: "${output.bookmarks.domains[1]}" | ||
- pressKey: Enter | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/browserMenuImageView" | ||
- tapOn: "Add Bookmark" | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/bookmarksBottomSheetSwitch" | ||
- runFlow: | ||
when: | ||
visible: | ||
id: "com.duckduckgo.mobile.android:id/dialogTextCta" | ||
commands: | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/item_container" | ||
index: 1 | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/touch_outside" | ||
# Now, we create a new folder | ||
- runFlow: ../../shared/open_bookmarks.yaml | ||
- tapOn: "Add Folder" | ||
- tapOn: "Title" | ||
- inputText: "${output.bookmarks.folders[0]}" | ||
- tapOn: "Confirm" | ||
# Move first item to newly created folder | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/trailingIcon" | ||
index: 1 | ||
- tapOn: "Edit" | ||
- tapOn: "Bookmarks" | ||
- tapOn: "${output.bookmarks.folders[0]}" | ||
- tapOn: "Confirm" | ||
- tapOn: "Navigate up" | ||
- runFlow: | ||
when: | ||
visible: | ||
id: "com.duckduckgo.mobile.android:id/dialogTextCta" | ||
commands: | ||
- tapOn: | ||
id: "com.duckduckgo.mobile.android:id/item_container" | ||
index: 1 |
Oops, something went wrong.