-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add recommended test 6.2.40 #432
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
base: main
Are you sure you want to change the base?
Conversation
67d1c9b
to
d9acde7
Compare
Coverage after merging feat/198-csaf-2.1-recommended-test-6.2.40 into main
Coverage Report
|
6714b26
to
61d1d18
Compare
Coverage after merging feat/198-csaf-2.1-recommended-test-6.2.40 into main
Coverage Report
|
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
Please rebase to main before merge
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.
Please see my comments.
context.warnings.push({ | ||
instancePath: `/document/notes/${noteIndex}`, | ||
message: | ||
'the given note item must include one of the elements "group_id" or "product_id"', |
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.
If you come up with a better message, feel free to suggest it.
'the given note item must include one of the elements "group_id" or "product_id"', | |
'The given note item describes a product. Therefore, it must include one of the elements "group_id" or "product_id"', |
context.infos.push({ | ||
instancePath: `/document/notes/${noteIndex}`, | ||
message: | ||
'no language specific translation for the "title" of this note has been recorded', |
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.
'no language specific translation for the "title" of this note has been recorded', | |
'no language specific translation for "product description" has been recorded', |
context.warnings.push({ | ||
instancePath: `/document/notes/${noteIndex}`, | ||
message: | ||
'the given note item must include one of the elements "group_id" or "product_id"', |
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.
Same as above.
'the given note item must include one of the elements "group_id" or "product_id"', | |
'The given note item describes a product. Therefore, it must include one of the elements "group_id" or "product_id"', |
TODO: According to the spec "the test should ...be skipped, and an output should be shown to theuser with the text that no translation available...".How this output should be implemented has to be clarified.