Skip to content

Commit dd1e214

Browse files
Merge branch 'release/5.286.0'
2 parents 47925a9 + e15fcab commit dd1e214

219 files changed

Lines changed: 7052 additions & 1555 deletions

File tree

Some content is hidden

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

.github/workflows/e2e-nightly-full-suite.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,28 @@ jobs:
286286
asana_releases_project_id: ${{ vars.GH_ANDROID_APP_RELEASES_PROJECT_ID }}
287287
asana_releases_blocker_section_id: ${{ vars.GH_ANDROID_APP_RELEASES_PROJECT_BLOCKER_SECTION_ID }}
288288

289+
- name: Unified Input Field
290+
id: maestro-unified-input
291+
uses: ./.github/actions/maestro-cloud-asana-reporter
292+
timeout-minutes: 120
293+
with:
294+
maestro_api_key: ${{ secrets.ROBIN_API_KEY }}
295+
maestro_project_id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
296+
maestro_test_name: unifiedInputTest${{ env.DI_UNDERSCORE_SUFFIX }}_${{ github.sha }}
297+
maestro_timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
298+
maestro_app_binary_id: ${{ steps.maestro-upload-internal-binary.outputs.maestro_app_binary_id }}
299+
maestro_api_level: 34
300+
maestro_include_tags: unifiedInputTest
301+
asana_pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
302+
asana_project_id: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
303+
asana_section_id: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
304+
test_suite_name: Unified Input Field (${{ env.DDG_DI == 'AnvilDagger' && 'Nightly' || format('{0} Nightly', env.DDG_DI) }})
305+
create_asana_error_task: ${{ inputs.create_asana_tasks }}
306+
# Only block releases for the default Anvil path. Metro is informational.
307+
is_release_blocker: ${{ env.DDG_DI == 'AnvilDagger' }}
308+
asana_releases_project_id: ${{ vars.GH_ANDROID_APP_RELEASES_PROJECT_ID }}
309+
asana_releases_blocker_section_id: ${{ vars.GH_ANDROID_APP_RELEASES_PROJECT_BLOCKER_SECTION_ID }}
310+
289311
- name: Notifications permissions Android 13+
290312
id: maestro-notification-permissions
291313
uses: ./.github/actions/maestro-cloud-asana-reporter

.github/workflows/e2e-nightly-non-blockers-suite.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -127,25 +127,6 @@ jobs:
127127
asana_section_id: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
128128
test_suite_name: Android Design System (Nightly)
129129

130-
- name: Unified Input Field
131-
id: maestro-uif
132-
# Run regardless of earlier suite failures, but only if the internal binary uploaded.
133-
if: ${{ !cancelled() && steps.maestro-upload-internal-binary.outcome == 'success' }}
134-
uses: ./.github/actions/maestro-cloud-asana-reporter
135-
timeout-minutes: 120
136-
with:
137-
maestro_api_key: ${{ secrets.ROBIN_API_KEY }}
138-
maestro_project_id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
139-
maestro_test_name: uif_${{ github.sha }}
140-
maestro_timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
141-
maestro_app_binary_id: ${{ steps.maestro-upload-internal-binary.outputs.maestro_app_binary_id }}
142-
maestro_include_tags: unifiedInputTest
143-
asana_pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
144-
maestro_api_level: 34
145-
asana_project_id: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
146-
asana_section_id: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
147-
test_suite_name: Unified Input Field
148-
149130
- name: Internal Onboarding Flows
150131
id: maestro-preonboarding
151132
# Run regardless of earlier suite failures, but only if the internal binary uploaded.

.github/workflows/update-pir-broker-bundle.yml

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,30 @@ jobs:
4747
if: ${{ steps.broker-check.outputs.has_changes == 'true' }}
4848
run: echo "current_date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
4949

50+
- name: Create Asana task
51+
if: ${{ steps.broker-check.outputs.has_changes == 'true' }}
52+
id: create-task
53+
uses: duckduckgo/native-github-asana-sync@v2.0
54+
with:
55+
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
56+
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
57+
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
58+
asana-task-name: "Update PIR broker bundle - ${{ env.current_date }}"
59+
asana-task-description: |
60+
PIR broker JSON files have been updated and a PR will be created.
61+
62+
${{ env.changes_summary }}
63+
action: 'create-asana-task'
64+
65+
- name: Get Asana task permalink
66+
if: ${{ steps.broker-check.outputs.has_changes == 'true' }}
67+
id: get-task-permalink
68+
uses: duckduckgo/native-github-asana-sync@v2.0
69+
with:
70+
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
71+
asana-task-id: ${{ steps.create-task.outputs.taskId }}
72+
action: 'get-asana-task-permalink'
73+
5074
- name: Create Pull Request
5175
if: ${{ steps.broker-check.outputs.has_changes == 'true' }}
5276
id: create-pr
@@ -60,6 +84,8 @@ jobs:
6084
branch: automated/update-pir-broker-bundle-${{ env.current_date }}
6185
add-paths: pir/pir-impl/src/main/assets/brokers
6286
body: |
87+
Task/Issue URL: ${{ steps.get-task-permalink.outputs.asanaTaskPermalink }}
88+
6389
## PIR Broker Bundle Update
6490
6591
Automated update of PIR broker JSON files from the remote bundle.
@@ -83,35 +109,6 @@ jobs:
83109
-f "labels[]=pir" \
84110
-f "labels[]=automated pr"
85111
86-
- name: Create Asana task
87-
if: ${{ steps.broker-check.outputs.has_changes == 'true' }}
88-
id: create-task
89-
uses: duckduckgo/native-github-asana-sync@v2.0
90-
with:
91-
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
92-
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
93-
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
94-
asana-task-name: "Update PIR broker bundle - ${{ env.current_date }}"
95-
asana-task-description: |
96-
PIR broker JSON files have been updated and a PR has been created.
97-
98-
${{ env.changes_summary }}
99-
100-
See ${{ steps.create-pr.outputs.pull-request-url }}
101-
action: 'create-asana-task'
102-
103-
- name: Update PR description with Asana task
104-
if: ${{ steps.broker-check.outputs.has_changes == 'true' && steps.create-task.outputs.duplicate == 'false' }}
105-
uses: duckduckgo/native-github-asana-sync@v2.0
106-
with:
107-
github-pat: ${{ secrets.GT_DAXMOBILE }}
108-
github-pr: ${{ steps.create-pr.outputs.pull-request-number }}
109-
github-repository: 'android'
110-
github-org: 'duckduckgo'
111-
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
112-
asana-task-id: ${{ steps.create-task.outputs.taskId }}
113-
action: 'add-task-pr-description'
114-
115112
- name: Create Asana task when workflow failed
116113
if: ${{ failure() }}
117114
uses: duckduckgo/native-github-asana-sync@v2.0

.github/workflows/update-ref-tests.yml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,30 @@ jobs:
6969
string: ${{steps.find-latest-release.outputs.prop}}
7070
split-by: '#'
7171

72+
- name: Create Asana task in Android App project
73+
if: ${{ steps.update-check.outcome == 'failure' }}
74+
id: create-task
75+
uses: duckduckgo/native-github-asana-sync@v2.0
76+
with:
77+
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
78+
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
79+
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
80+
asana-task-name: Update reference tests to version ${{ steps.extract-release-version.outputs._1}}
81+
asana-task-description: |
82+
Reference tests have been updated and a PR will be created.
83+
84+
If tests failed check out https://app.asana.com/0/0/1203766026095653/f for further information on what to do next.
85+
action: 'create-asana-task'
86+
87+
- name: Get Asana task permalink
88+
if: ${{ steps.update-check.outcome == 'failure' }}
89+
id: get-task-permalink
90+
uses: duckduckgo/native-github-asana-sync@v2.0
91+
with:
92+
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
93+
asana-task-id: ${{ steps.create-task.outputs.taskId }}
94+
action: 'get-asana-task-permalink'
95+
7296
- name: Create Pull Request in Android repo
7397
if: ${{ steps.update-check.outcome == 'failure' }}
7498
env:
@@ -80,33 +104,18 @@ jobs:
80104
title: Update reference tests to version ${{ steps.extract-release-version.outputs._1}}
81105
author: daxmobile <daxmobile@users.noreply.github.com>
82106
token: ${{ secrets.GT_DAXMOBILE }}
83-
commit-message: Update content scope scripts to version ${{ steps.extract-release-version.outputs._1}}
107+
commit-message: Update reference tests to version ${{ steps.extract-release-version.outputs._1}}
84108
labels: reference tests, automated pr
85109
branch: automated/update-ref-tests-dependencies-${{ steps.extract-release-version.outputs._1}}
86110
body: |
111+
Task/Issue URL: ${{ steps.get-task-permalink.outputs.asanaTaskPermalink }}
112+
87113
- Automated reference tests dependency update
88-
114+
89115
This PR updates the reference tests dependency to the latest available version and copies the necessary files.
90116
If tests have failed, see https://app.asana.com/0/0/1203766026095653/f for further information on what to do next.
91-
92-
- [ ] All tests must pass
93117
94-
- name: Create Asana task in Android App project
95-
if: ${{ steps.update-check.outcome == 'failure' }}
96-
id: create-task
97-
uses: duckduckgo/native-github-asana-sync@v2.0
98-
with:
99-
asana-pat: ${{ secrets.ASANA_ACCESS_TOKEN }}
100-
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
101-
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
102-
asana-task-name: Update reference tests to version ${{ steps.extract-release-version.outputs._1}}
103-
asana-task-description: |
104-
Reference tests have been updated and a PR created.
105-
106-
If tests failed check out https://app.asana.com/0/0/1203766026095653/f for further information on what to do next.
107-
108-
See ${{ steps.create-pr.outputs.pull-request-url }}
109-
action: 'create-asana-task'
118+
- [ ] All tests must pass
110119
111120
- name: Add Asana task to Release Board project
112121
if: ${{ steps.create-task.outputs.duplicate == 'false' }}
@@ -118,18 +127,6 @@ jobs:
118127
asana-task-id: ${{ steps.create-task.outputs.taskId }}
119128
action: 'add-task-asana-project'
120129

121-
- name: Update PR description with Asana task
122-
if: ${{ steps.create-task.outputs.duplicate == 'false' }}
123-
uses: duckduckgo/native-github-asana-sync@v2.0
124-
with:
125-
github-pat: ${{ secrets.GT_DAXMOBILE }}
126-
github-pr: ${{ steps.create-pr.outputs.pull-request-number }}
127-
github-repository: 'android'
128-
github-org: 'duckduckgo'
129-
asana-project: ${{ vars.GH_ANDROID_RELEASE_BOARD_PROJECT_ID }}
130-
asana-task-id: ${{ steps.create-task.outputs.taskId }}
131-
action: 'add-task-pr-description'
132-
133130
- name: Create Asana task when workflow failed
134131
if: ${{ failure() }}
135132
id: create-failure-task

.maestro/autofill/3_autofill_prompted_to_save_creds_on_form.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ tags:
1313
- runFlow: ../shared/skip_all_onboarding.yaml
1414

1515
- tapOn:
16-
id: "omnibarTextInput"
17-
- eraseText
16+
id: "inputField"
1817
- inputText: "fill.dev/form/login-simple"
1918
- pressKey: enter
2019

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
# get to autofill form
1919
- tapOn:
20-
id: "omnibarTextInput"
20+
id: "inputField"
2121
- inputText: "https://autofill.me/form/login-simple"
2222
- pressKey: Enter
2323

.maestro/autofill/backfillingUsername/multi_step_login_username_backfilled_for_an_update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tags:
2020

2121
# get to autofill form
2222
- tapOn:
23-
id: "omnibarTextInput"
23+
id: "inputField"
2424
- inputText: "https://autofill.me/form/login-simple"
2525
- pressKey: Enter
2626
- runFlow: ../steps/decline_autofill_prompt.yaml

.maestro/autofill/backfillingUsername/multi_step_login_username_not_backfilled_if_provided_explicitly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
# get to autofill form
1919
- tapOn:
20-
id: "omnibarTextInput"
20+
id: "inputField"
2121
- inputText: "https://autofill.me/form/login-simple"
2222
- pressKey: Enter
2323

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_autogenerated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
# get to autofill form
1919
- tapOn:
20-
id: "omnibarTextInput"
20+
id: "inputField"
2121
- inputText: "https://autofill.me/form/registration-username"
2222
- pressKey: Enter
2323

.maestro/autofill/backfillingUsername/multi_step_registration_username_backfilled_password_manually_entered.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
# get to autofill form
1919
- tapOn:
20-
id: "omnibarTextInput"
20+
id: "inputField"
2121
- inputText: "https://autofill.me/form/registration-username"
2222
- pressKey: Enter
2323

0 commit comments

Comments
 (0)