Skip to content

Commit

Permalink
Add new params to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayterDev committed Jul 8, 2024
1 parent a603ff9 commit b17bacd
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions broken-site-reporting/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,44 @@
"safari-extension",
"windows-browser"
]
},
{
"name": "Test on page parameters are included",
"siteURL": "https://example.test/",
"wasUpgraded": true,
"category": "content",
"blockedTrackers": ["bad.tracker.test", "tracking.test"],
"surrogates": ["surrogate.domain.test", "domain2.test"],
"atb": "v123-456g",
"blocklistVersion": "abc123",
"remoteConfigEtag": "abd142",
"remoteConfigVersion": "1234",
"protectionsEnabled": true,
"expectReportURLPrefix": "https://improving.duckduckgo.com/t/epbf",
"openerContext": "serp",
"userRefreshCount": "3",
"jsPerformance": "123.45",
"locale": "en",
"expectReportURLParams": [
{"name": "category", "value": "content"},
{"name": "siteUrl", "value": "https%3A%2F%2Fexample.test%2F"},
{"name": "upgradedHttps", "value": "true"},
{"name": "tds", "value": "abc123"},
{"name": "blockedTrackers", "value": "bad.tracker.test,tracking.test"},
{"name": "surrogates", "value": "surrogate.domain.test,domain2.test"},
{"name": "protectionsState", "value": "true"},
{"name": "openerContext", "value": "serp"},
{"name": "userRefreshCount", "value": "3"},
{"name": "jsPerformance", "value": "123.45"},
{"name": "locale", "value": "en"}
],
"exceptPlatforms": [
"ios-browser",
"macos-browser",
"android-browser",
"safari-extension",
"windows-browser"
]
}
]
}
Expand Down

0 comments on commit b17bacd

Please sign in to comment.