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
[VUE] add report date #18498
[VUE] add report date #18498
Conversation
add report data back
@peterhashair why does this pass without needing an update to a UI test screenshot? edit: I see, because it's a date it is purposely hidden and not tested in UI tests. |
update test contain report date
update screenshots
@justinvelluppillai update the testing logic a little bit, should show the screenshot test with report date. |
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.
Looks good to me
@@ -56,6 +56,8 @@ | |||
v-show="showInlineHelp" | |||
> | |||
<div v-html="$sanitize(actualInlineHelp)"/> | |||
<span class="helpDate" | |||
v-html="reportGenerated"></span> |
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.
Should this be $sanitize(reportGenerated)
? v-html doesn't perform any sanitization.
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.
The reportGenerated
should contain text only, which is coming from a translation. Guess it would not hurt to add it.
add report data back
Description:
Add report date back, I think is missing a test, If I am right, there is one here, but somehow it does contain the report generated date, I will make a UI test I guess. https://github.com/matomo-org/matomo/blob/4.x-dev/tests/UI/expected-screenshots/UIIntegrationTest_actions_pages_tooltip_help.png
Review