Skip to content

Commit

Permalink
Update reference tests to version 1708702034 (#4211)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/488551667048375/1206685188109106/f

 ----- 
- Automated reference tests dependency update

This PR updates the reference tests dependency to the latest available
version and copies the necessary files.
If tests have failed, see https://app.asana.com/0/0/1203766026095653/f
for further information on what to do next.

- [ ] All tests must pass

Co-authored-by: daxmobile <daxmobile@users.noreply.github.com>
  • Loading branch information
daxmobile and daxmobile authored Feb 24, 2024
1 parent 07416d0 commit 1c9adca
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 9 deletions.
42 changes: 39 additions & 3 deletions app/src/test/resources/reference_tests/brokensites/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
{"name": "protectionsState", "value": "true"}
],
"exceptPlatforms": [
"ios-browser"
"ios-browser",
"macos-browser"
]
},
{
Expand Down Expand Up @@ -134,7 +135,8 @@
{"name": "protectionsState", "value": "true"}
],
"exceptPlatforms": [
"ios-browser"
"ios-browser",
"macos-browser"
]
},
{
Expand Down Expand Up @@ -162,7 +164,8 @@
{"name": "protectionsState", "value": "true"}
],
"exceptPlatforms": [
"ios-browser"
"ios-browser",
"macos-browser"
]
},
{
Expand Down Expand Up @@ -211,6 +214,7 @@
],
"exceptPlatforms": [
"ios-browser",
"macos-browser",
"safari-extension"
]
},
Expand Down Expand Up @@ -421,6 +425,38 @@
"safari-extension",
"windows-browser"
]
},
{
"name": "Test error information and HTTP status code 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",
"errorDescriptions": ["net::ERR_NAME_NOT_RESOLVED","net::ERR_ABORTED"],
"httpErrorCodes": [304, 200],
"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": "errorDescriptions", "value": "%5B%22net%3A%3AERR_NAME_NOT_RESOLVED%22%2C%22net%3A%3AERR_ABORTED%22%5D"},
{"name": "httpErrorCodes", "value": "304,200"}
],
"exceptPlatforms": [
"android-browser",
"safari-extension",
"windows-browser"
]
}
]
}
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@duckduckgo/autofill": "github:duckduckgo/duckduckgo-autofill#10.1.0",
"@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#4.64.0",
"@duckduckgo/privacy-dashboard": "github:duckduckgo/privacy-dashboard#3.0.0",
"@duckduckgo/privacy-reference-tests": "github:duckduckgo/privacy-reference-tests#1703196979"
"@duckduckgo/privacy-reference-tests": "github:duckduckgo/privacy-reference-tests#1708702034"
}
}

0 comments on commit 1c9adca

Please sign in to comment.