opensearch-project / security-dashboards-plugin

🔐 Manage your internal users, roles, access control, and audit logs from OpenSearch Dashboards
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
70 stars 152 forks source link

[BUG] OIDC cypress tests failing due to upstream change #1922

Closed derek-ho closed 5 months ago

derek-ho commented 5 months ago

What is the bug? Example run: https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/8896012606/job/24429085541?pr=1762 - upstream changes introduced new components which makes the OIDC cypress test fail on finding "Dev Tools" header. The test needs to be changed to assert on data-test-subj to avoid upstream changes breaking us.

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

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior? A clear and concise description of what you expected to happen.

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 5 months ago

PR necessary because of: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6553/files