Skip to content

Commit

Permalink
ui tests for content blocking and toggling protections (#3060)
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy authored Jul 11, 2024
1 parent f508e41 commit 2222073
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .maestro/release_tests/content-blocking.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# content-blocking.yaml
appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- clearState
- launchApp
- runFlow:
file: ../shared/onboarding.yaml

# Load Site
- assertVisible:
id: "searchEntry"
- tapOn:
id: "searchEntry"
- inputText: "https://privacy-test-pages.site/"
- pressKey: Enter

# Manage onboarding
- runFlow:
file: ../shared/onboarding_browsing.yaml

- tapOn:
id: "searchEntry"
- inputText: "https://privacy-test-pages.site/tracker-reporting/1major-via-script.html"
- pressKey: Enter

- assertVisible: "1 major tracker loaded via script src"
- tapOn:
id: PrivacyIcon
- assertVisible: "Protections are ON for this site"

- assertVisible: "We blocked Google Ads (Google) from loading tracking requests on this page."

- tapOn: "View Tracker Companies"
- assertVisible: "doubleclick.net"
- assertVisible: "Back"
- tapOn: "Back"

- assertVisible: "Disable Protections"
- tapOn: "Disable Protections"
- assertVisible: "Site not working? Let us know."
- assertVisible: "Don't Send"
- tapOn: "Don't Send"

- tapOn: "Refresh Page"
- assertVisible: "1 major tracker loaded via script src"

- tapOn:
id: PrivacyIcon
- assertVisible: "Protections are OFF for this site"

0 comments on commit 2222073

Please sign in to comment.