|
| 1 | +appId: com.duckduckgo.mobile.android |
| 2 | +tags: |
| 3 | + - privacyTest |
| 4 | +--- |
| 5 | +# This test verifies that no session data is retained after clearing the browser data. |
| 6 | +# It's verified by revisiting the product page after using the fire button and asserting that the conversion request is now blocked. |
| 7 | +- retry: |
| 8 | + maxRetries: 3 |
| 9 | + commands: |
| 10 | + - launchApp: |
| 11 | + clearState: true |
| 12 | + - runFlow: ../shared/skip_all_onboarding.yaml |
| 13 | + - inputText: "https://www.search-company.site/#ad-id-5" |
| 14 | + - pressKey: Enter |
| 15 | + - assertVisible: |
| 16 | + id: "ad-id-5" |
| 17 | + - tapOn: |
| 18 | + id: "ad-id-5" |
| 19 | + - assertVisible: |
| 20 | + text: "Publisher site" |
| 21 | + - runFlow: ../shared/browser_screen/click_on_privacy_shield.yaml |
| 22 | + - assertVisible: |
| 23 | + text: "View Tracker Companies" |
| 24 | + - tapOn: |
| 25 | + text: "View Tracker Companies" |
| 26 | + - assertVisible: |
| 27 | + text: "The following third-party domains’ requests were blocked from loading because they were identified as tracking requests. If a company's requests are loaded, it can allow them to profile you." |
| 28 | + - assertVisible: |
| 29 | + text: "About our Web Tracking Protections" |
| 30 | + - assertVisible: |
| 31 | + text: ".*Ad Company" |
| 32 | + - assertVisible: |
| 33 | + text: "ad-company.site" |
| 34 | + - action: back |
| 35 | + - assertVisible: |
| 36 | + text: "View Non-Tracker Companies" |
| 37 | + - tapOn: |
| 38 | + text: "View Non-Tracker Companies" |
| 39 | + - assertVisible: |
| 40 | + text: "The following third-party domains’ requests were loaded. If a company's requests are loaded, it can allow them to profile you, though our other web tracking protections still apply." |
| 41 | + - assertVisible: |
| 42 | + text: "About our Web Tracking Protections" |
| 43 | + - assertVisible: |
| 44 | + text: "The following domain’s requests were loaded because a publisher-company.site ad on DuckDuckGo was recently clicked. These requests help evaluate ad effectiveness. All ads on DuckDuckGo are non-profiling." |
| 45 | + - assertVisible: |
| 46 | + text: "How our search ads impact our protections" |
| 47 | + - assertVisible: |
| 48 | + text: ".*Ad Company" |
| 49 | + - assertVisible: |
| 50 | + text: "convert.ad-company.site" |
| 51 | + - action: back |
| 52 | + - action: back |
| 53 | + - longPressOn: |
| 54 | + id: "omnibarTextInput" |
| 55 | + - tapOn: "Copy" |
| 56 | + - action: back |
| 57 | + - runFlow: ../shared/browser_screen/click_on_fire_button.yaml |
| 58 | + - tapOn: "Clear All Tabs And Data" |
| 59 | + - longPressOn: |
| 60 | + id: "omnibarTextInput" |
| 61 | + - tapOn: "Paste" |
| 62 | + - pressKey: Enter |
| 63 | + - assertVisible: |
| 64 | + text: "Publisher site" |
| 65 | + - runFlow: ../shared/browser_screen/click_on_privacy_shield.yaml |
| 66 | + - assertVisible: |
| 67 | + text: "View Tracker Companies" |
| 68 | + - tapOn: |
| 69 | + text: "View Tracker Companies" |
| 70 | + - assertVisible: |
| 71 | + text: "The following third-party domains’ requests were blocked from loading because they were identified as tracking requests. If a company's requests are loaded, it can allow them to profile you." |
| 72 | + - assertVisible: |
| 73 | + text: "About our Web Tracking Protections" |
| 74 | + - assertVisible: |
| 75 | + text: ".*Ad Company" |
| 76 | + - assertVisible: |
| 77 | + text: "ad-company.site" |
| 78 | + - assertVisible: |
| 79 | + text: "convert.ad-company.site" |
| 80 | + - action: back |
| 81 | + - assertVisible: |
| 82 | + text: "View Non-Tracker Companies" |
| 83 | + - tapOn: |
| 84 | + text: "View Non-Tracker Companies" |
| 85 | + - assertVisible: |
| 86 | + text: "We did not identify any requests from third-party domains." |
| 87 | + - assertVisible: |
| 88 | + text: "About our Web Tracking Protections" |
0 commit comments