Skip to content

Commit 5b8fcfc

Browse files
Merge branch 'release/5.245.0'
2 parents d1e5db1 + f0cd10d commit 5b8fcfc

File tree

363 files changed

+10917
-4678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+10917
-4678
lines changed

.github/workflows/e2e-nightly-autofill.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,26 @@ jobs:
6060
with:
6161
api-key: ${{ secrets.ROBIN_API_KEY }}
6262
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
63-
name: autofill_${{ github.sha }}
63+
name: autofill_critical_path_${{ github.sha }}
6464
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
6565
app-file: apk/release.apk
6666
android-api-level: 30
6767
workspace: .maestro
6868
include-tags: autofillNoAuthTests
6969

70+
- name: Autofill web flows
71+
uses: mobile-dev-inc/[email protected]
72+
timeout-minutes: 120
73+
with:
74+
api-key: ${{ secrets.ROBIN_API_KEY }}
75+
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
76+
name: autofill_secondary_functionality_${{ github.sha }}
77+
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
78+
app-file: apk/release.apk
79+
android-api-level: 30
80+
workspace: .maestro
81+
include-tags: autofillBackfillingUsername,autofillPasswordGeneration
82+
7083
- name: Create Asana task when workflow failed
7184
if: ${{ failure() }}
7285
id: create-failure-task
@@ -75,6 +88,6 @@ jobs:
7588
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
7689
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
7790
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
78-
asana-task-name: GH Workflow Failure - Autofill Critical Path E2E Flows (Robin)
79-
asana-task-description: Autofill critical path tests have failed. See https://github.com/duckduckgo/Android/actions/runs/${{ github.run_id }}
91+
asana-task-name: GH Workflow Failure - Autofill E2E Flows (Robin)
92+
asana-task-description: Autofill tests have failed. See https://github.com/duckduckgo/Android/actions/runs/${{ github.run_id }}
8093
action: 'create-asana-task'

.github/workflows/release_nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,20 +97,20 @@ jobs:
9797
- name: Clean project
9898
if: steps.check_for_changes.outputs.has_changes == 'true'
9999
run: |
100-
gradle clean
100+
./gradlew clean
101101
102102
- name: Assemble the bundle
103103
env:
104104
NETP_DEBUG_SERVER_TOKEN: ${{ secrets.NETP_DEBUG_SERVER_TOKEN }}
105105
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
106106
if: steps.check_for_changes.outputs.has_changes == 'true'
107-
run: gradle bundleInternalRelease -PversionNameSuffix=-nightly -PuseUploadSigning -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} -Pbuild-date-time
107+
run: ./gradlew bundleInternalRelease -PversionNameSuffix=-nightly -PuseUploadSigning -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} -Pbuild-date-time
108108

109109
- name: Generate nightly version name
110110
if: steps.check_for_changes.outputs.has_changes == 'true'
111111
id: generate_version_name
112112
run: |
113-
output=$(gradle getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} --quiet | tail -n 1)
113+
output=$(./gradlew getBuildVersionName -PversionNameSuffix=-nightly -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} --quiet | tail -n 1)
114114
echo "version=$output" >> $GITHUB_OUTPUT
115115
116116
- name: Capture App Bundle Path

.maestro/autofill/3_autofill_prompted_to_save_creds_on_form.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ tags:
2323

2424
- tapOn:
2525
id: "username"
26+
27+
- runFlow: steps/decline_in_browser_password_import.promo.yaml
28+
29+
- tapOn:
30+
id: "username"
31+
2632
- inputText: "user"
2733
- tapOn:
2834
id: "password"

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ tags:
2222

2323
# simulate a partial login form by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
27+
2528
- inputText: "usernameFromBackfill"
2629
- pressKey: Back
2730

.maestro/autofill/backfillingUsername/multi_step_login_username_not_backfilled_if_provided_explicitly.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ tags:
2222

2323
# simulate a partial login form by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
27+
2528
- inputText: "usernameFromBackfill"
2629
- pressKey: Back
2730

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_autogenerated.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ tags:
2222

2323
# simulate a partial form submission by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
27+
2528
- inputText: "usernameFromBackfill"
2629
- pressKey: Back
2730

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_manually_entered.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ tags:
2222

2323
# simulate a partial form submission by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
2527
- inputText: "usernameFromBackfill"
28+
- tapOn: "Username"
29+
2630
- pressKey: Back
2731

2832
- tapOn:

.maestro/autofill/backfillingUsername/password_reset_flow_autogenerated_password.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ tags:
2222

2323
# simulate a partial login form by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
27+
2528
- inputText: "usernameFromBackfill"
2629
- pressKey: Back
2730

.maestro/autofill/backfillingUsername/password_reset_flow_for_existing_credential_generated_password.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ tags:
2222

2323
# simulate a partial login form by first submitting just the username
2424
- tapOn: "Username"
25+
- runFlow: ../steps/decline_in_browser_password_import.promo.yaml
26+
- tapOn: "Username"
27+
2528
- inputText: "existingUser"
2629
- pressKey: Back
2730

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
appId: com.duckduckgo.mobile.android
2+
---
3+
4+
# dismiss any offers to autofill from existing credentials
5+
- runFlow:
6+
when:
7+
visible: "Bring your passwords from Google to DuckDuckGo"
8+
commands:
9+
- tapOn: "Don't Ask Again"

0 commit comments

Comments
 (0)