You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
visualReportsHelper unit test is failing because we are using elastic demo url in unit test for reporting module to access and gernerate report.
Recently they change the html identifier from "#dashboardsViewport" to ".dashboardViewport".
Solution:
We should remove this dependency on elastic. Using a html locally and let pupeeter renders it is a better option
)
Signed-off-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit 047eb96f528e05ad3dc792174c6b04cd1794dd41)
Co-authored-by: Joshua Li <joshuali925@gmail.com>
Describe the bug
visualReportsHelper unit test is failing because we are using elastic demo url in unit test for reporting module to access and gernerate report.
Recently they change the html identifier from "#dashboardsViewport" to ".dashboardViewport".
Solution:
We should remove this dependency on elastic. Using a html locally and let pupeeter renders it is a better option
reference: https://stackoverflow.com/questions/65417870/how-to-mock-remote-website-responses-to-unit-test-puppeteer-code-with-jest
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: