Skip to content

Commit 7e511ca

Browse files
committed
Merge branch 'develop' into feature/ana/add_duck_ai_entry_points_to_widgets_plus_additional_widgets
2 parents ca7f1c0 + 50b482f commit 7e511ca

File tree

136 files changed

+1750
-1173
lines changed

Some content is hidden

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

136 files changed

+1750
-1173
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'

.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"

.maestro/autofill/steps/search_logins.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ name: "Autofill: Search credentials"
1616
commands:
1717
- tapOn: "No thanks"
1818

19+
- runFlow:
20+
when:
21+
visible: "Bring your passwords from
22+
23+
Google to DuckDuckGo"
24+
commands:
25+
- tapOn:
26+
id: "com.duckduckgo.mobile.android:id/close"
27+
28+
1929
- tapOn:
2030
id: searchLogins
2131

0 commit comments

Comments
 (0)