Skip to content

Commit

Permalink
Switch to using tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Mattei committed Sep 13, 2023
1 parent 7e4d72a commit 3dd3b80
Show file tree
Hide file tree
Showing 28 changed files with 98 additions and 21 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,24 @@ jobs:
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro/release_tests
workspace: .maestro
include-tags: release

- name: Privacy tests
uses: mobile-dev-inc/[email protected]
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro/privacy_tests
workspace: .maestro
include-tags: privacy

- name: Ad Click Detection Flow tests
uses: mobile-dev-inc/[email protected]
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro/privacy_tests
workspace: .maestro
include-tags: adClick

- name: Create Asana task when workflow failed
if: ${{ failure() }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# yjs_heuristic_no_ad_domain_param_u3_param_included.yaml

appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# mjs_heuristic_no_ad_domain_param_dsl_param_included.yaml

appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# yjs_heuristic_no_ad_domain_param_but_missing_u3_param.yaml

appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# _mjs_heuristic_no_ad_domain_param_but_missing_dsl_param.yaml

appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# yjs_heuristic_ad_domain_provided_but_empty_u3_not_needed.yaml

appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---
- clearState
- launchApp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---
- clearState
- launchApp
Expand All @@ -24,7 +27,7 @@ appId: com.duckduckgo.mobile.ios
text: "Got It"
index: 0
file: ../shared/onboarding_browsing.yaml

- assertVisible:
text: "[Ad 7] SERP Ad (SERP-provided)"
- tapOn:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---
- clearState
- launchApp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
appId: com.duckduckgo.mobile.ios
tags:
- adClick

---

- clearState
- launchApp
- runFlow:
Expand Down
5 changes: 3 additions & 2 deletions .maestro/privacy_tests/01_single-site_single-tab_session.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# single_site-single_tab.yaml

appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/02_single-site_new_tab_session.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/04_single-site_multi-tab_session.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
4 changes: 3 additions & 1 deletion .maestro/privacy_tests/05_multi-site_single-tab_session.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down Expand Up @@ -28,7 +31,6 @@ appId: com.duckduckgo.mobile.ios
file: ../shared/onboarding_browsing.yaml

# Test
- scroll
- assertVisible: "[Ad 5] SERP Ad (heuristic)"
- tapOn: "[Ad 5] SERP Ad (heuristic)"
- assertVisible:
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/06_multi-tab.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/07_browser_restart_mid-session.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/08_navigation_with_back_forward.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
3 changes: 3 additions & 0 deletions .maestro/privacy_tests/09_navigation_with_refresh.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
appId: com.duckduckgo.mobile.ios
tags:
- privacy

---

# Set up
Expand Down
5 changes: 4 additions & 1 deletion .maestro/release_tests/bookmarks.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# bookmarks.yaml

appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- clearState
- launchApp
Expand Down
5 changes: 4 additions & 1 deletion .maestro/release_tests/browsing.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# browsing.yaml

appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- clearState
- launchApp
Expand Down
5 changes: 4 additions & 1 deletion .maestro/release_tests/favorites.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# favorites.yaml

appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- clearState
- launchApp
Expand Down
5 changes: 4 additions & 1 deletion .maestro/release_tests/tabs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# tabs.yaml

appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- clearState
- launchApp
Expand Down

0 comments on commit 3dd3b80

Please sign in to comment.