-
Notifications
You must be signed in to change notification settings - Fork 283
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
[Bug]: Dashboards Integ test cypress video inconsistent with configuration #4435
Comments
According to my explore, the reason is that when we run FT repo, videos for different configurations are not distinguished and stored in the same location. opensearch-build/src/test_workflow/integ_test/integ_test_suite_opensearch_dashboards.py Lines 140 to 145 in 5b4f11f
When we try to record these cypress videos after running integ tests for both configurations, we only save the location of these videos for different configurations but within the directory, they are the same (and always the results from later run configuration).
We could add another step to record test results after each configuration so that those results won't be overwrote. I will be drafting a PR pretty soon on this fix. |
This issue is reported from @RyanL1997 and I confirmed it's valid. PR is pending for the fix. |
This bug should have been fixed. Closing this issue. |
Describe the bug
We have seen the cypress video is showing different results as the test logs.
For example, this log is showing
4_panels.spec.js
is failing, however, if we click into its component yml filehttps://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/2.12.0/7218/linux/x64/tar/test-results/5364/integ-test/observabilityDashboards/with-security/observabilityDashboards.yml
and the corresponding video, it actually shows passing.
According to more research, those videos for configuration
with-security
are allwithout-security
and they are the same as our videos fromwithout-security
. It seems like the cypress videos are overwriting previous-configuration videos so all cypress videos from previous configuration are not recorded properly.To reproduce
For example, this video for
with-security
is the same as this one forwithout-security
even they have different links.The text was updated successfully, but these errors were encountered: