-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add minSupportedVersion ref tests #48
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please update the documentation (https://github.com/duckduckgo/privacy-reference-tests/tree/main/privacy-configuration#privacy-configuration-tests) and pseudo-code to cover platformVersion
field.
…acy-reference-tests into brad/config-v2-ref-tests
"featureName": "contentBlocking", | ||
"siteURL": "https://example.org", | ||
"expectFeatureEnabled": false, | ||
"platformVersion": "2022.5.30", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this test work for platforms other than extensions? e.g. android seems to use different format:
"minSupportedVersion": 51250000
They may not be able to implement this test (they may explode parsing that config file).
@SlayterDev any thoughts about what we should do about this one? Maybe separate versions for each platform version format? |
@kdzwinel apologies for the delay here. We might reach out to Android on this as they are the odd man out. In the example implementation I did for this in BSK I mocked the app versions so I wonder if for the purposes of the test they would be able to mock the version to a string or make this test work somehow. Otherwise we'll need to add a backup key to the test or a separate tests file. |
Add
minSupportedVersion
reference tests