opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
16 stars 56 forks source link

[BUG][TEST] Infra Funcitonal Test failures when security enabled #431

Open pjfitzgibbons opened 1 year ago

pjfitzgibbons commented 1 year ago

What is the bug? See https://github.com/opensearch-project/opensearch-build/issues/3230#issuecomment-1523790274 "obs dash sec"

4_panels.spec.js - Bad data on test - test visually worked. Test looking for invalid element. 6_notebooks.spec.js - Test cleanup is incorrect - no longer leaves Dashboards behind during test run. https://github.com/opensearch-project/opensearch-build/issues/3230#issuecomment-1523959101

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Download opensearch-dashboards-functional-test repo alongside OSD and Observability Plugin
  2. Setup runtimes for FT tests - OS/OSD security enabled (see test runner)
  3. Run Ft tests for observabilty specs 4_panels..., 6_notebooks...
  4. See error

What is the expected behavior? All tests PASS.

What is your host/environment?

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

Do you have any additional context? Add any other context about the problem.

derek-ho commented 1 year ago

@TackAdam maybe you can also take a look at this while you are in the cypress mode