-
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.187.0' into main
- Loading branch information
Showing
243 changed files
with
7,402 additions
and
1,490 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
.maestro/autofill/5_autofill_manually_updating_an_existing_credential.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,25 @@ | ||
appId: com.duckduckgo.mobile.android | ||
name: "Autofill: Manually updating an existing credential" | ||
--- | ||
# Pre-requisite: the user is viewing the password manager screen with some saved passwords added by a previous test step, on an autofill-eligible device | ||
|
||
- tapOn: | ||
id: "item_container" | ||
index: "1" | ||
|
||
- tapOn: "More options" | ||
- tapOn: "Edit" | ||
|
||
- tapOn: | ||
id: notesEditText | ||
|
||
- eraseText | ||
|
||
- inputText: "new note" | ||
|
||
- tapOn: | ||
id: view_menu_save | ||
retryTapIfNoChange: false | ||
|
||
- assertVisible: "new note" | ||
- tapOn: "Navigate up" |
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,30 @@ | ||
appId: com.duckduckgo.mobile.android | ||
name: "Autofill: Delete credentials" | ||
--- | ||
# Pre-requisite: the user is viewing the password manager screen with some saved passwords added by a previous test step, on an autofill-eligible device | ||
|
||
- tapOn: | ||
id: "item_container" | ||
index: 1 | ||
- tapOn: "More options" | ||
- tapOn: "Delete" | ||
- tapOn: "Delete" | ||
|
||
- tapOn: | ||
id: "item_container" | ||
index: 1 | ||
- tapOn: "More options" | ||
- tapOn: "Delete" | ||
- tapOn: "Delete" | ||
|
||
- tapOn: | ||
id: "item_container" | ||
index: 1 | ||
- tapOn: "More options" | ||
- tapOn: "Delete" | ||
- tapOn: "Delete" | ||
|
||
- assertVisible: | ||
text: "No passwords saved yet" | ||
|
||
- tapOn: "Navigate up" |
41 changes: 41 additions & 0 deletions
41
.maestro/autofill/7_autofill_prompted_to_save_creds_on_form.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,41 @@ | ||
appId: com.duckduckgo.mobile.android | ||
name: "Autofill: Prompted to save and update credentials on web form" | ||
--- | ||
# Pre-requisite: the user is viewing the new tab screen, on an autofill-eligible device | ||
|
||
- tapOn: | ||
text: "search or type URL" | ||
- eraseText | ||
- inputText: "fill.dev/form/login-simple" | ||
- pressKey: enter | ||
|
||
- tapOn: | ||
text: "Got it" | ||
optional: true | ||
|
||
- tapOn: | ||
id: "username" | ||
- inputText: "user" | ||
- tapOn: | ||
id: "password" | ||
- inputText: "password1" | ||
- tapOn: | ||
text: "Login" | ||
- assertVisible: "Save Password" | ||
- tapOn: "Save Password" | ||
- pressKey: back | ||
- tapOn: "Close Autofill Dialog" | ||
- tapOn: | ||
id: "password" | ||
- inputText: "password2" | ||
- tapOn: | ||
text: "Login" | ||
- assertVisible: "Update Password" | ||
- tapOn: "Update Password" | ||
- tapOn: | ||
id: "browserMenu" | ||
- tapOn: "Passwords" | ||
- tapOn: "user" | ||
- tapOn: | ||
id: "internal_password_icon" | ||
- assertVisible: "password2" |
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 |
---|---|---|
|
@@ -31,5 +31,6 @@ kotlin { | |
} | ||
|
||
dependencies { | ||
implementation Google.dagger | ||
} | ||
|
31 changes: 31 additions & 0 deletions
31
anvil/anvil-annotations/src/main/java/com/duckduckgo/anvil/annotations/PriorityKey.kt
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,31 @@ | ||
/* | ||
* Copyright (c) 2024 DuckDuckGo | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.duckduckgo.anvil.annotations | ||
|
||
import dagger.MapKey | ||
|
||
/** | ||
* Use [PriorityKey] in combination with @ContributesMultibinding when contributing a plugin and want | ||
* to assign a priority to the instance. | ||
* Lower priority values mean the associated plugin comes first in the list of plugins. | ||
* When two plugins have the same priority the priority is resolved sorting by class instance fully qualified name | ||
* | ||
* Note: Plugins that are not annotated with [PriorityKey] will always come last in the list of plugins and order | ||
* by class instance fully qualified name | ||
*/ | ||
@MapKey | ||
annotation class PriorityKey(val priority: Int) |
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
Oops, something went wrong.