Skip to content
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] Failed Snapshot Tests After OUI Upgrade #8290

Closed
wanglam opened this issue Sep 23, 2024 · 1 comment
Closed

[BUG] Failed Snapshot Tests After OUI Upgrade #8290

wanglam opened this issue Sep 23, 2024 · 1 comment
Labels
bug Something isn't working untriaged

Comments

@wanglam
Copy link
Contributor

wanglam commented Sep 23, 2024

Describe the bug

After upgrading the OpenSearch UI (OUI) library, certain snapshot tests in OpenSearch Dashboards are failing.

To Reproduce

  1. Clone the OpenSearch Dashboards repository
  2. Run yarn osd bootstrap
  3. Run yarn test:jest
  4. Observe failed snapshot tests in the following files:
    • src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
    • src/plugins/data_source_management/public/components/data_source_table/__snapshots__/data_source_table.test.tsx.snap
    • src/plugins/data_source_management/public/components/direct_query_data_sources_components/direct_query_data_connection/__snapshots__/manage_direct_query_data_connections_table.test.tsx.snap

Expected behavior
All snapshot tests should pass.

OpenSearch Version
N/A

Dashboards Version
Latest main branch

Plugins
N/A

Screenshots
N/A

Host/Environment (please complete the following information):

  • OS: N/A
  • Browser and version: N/A

Additional context
N/A

@wanglam wanglam added bug Something isn't working untriaged labels Sep 23, 2024
@wanglam
Copy link
Contributor Author

wanglam commented Sep 23, 2024

Not a bug, the root cause was dependency not updated in my local.

@wanglam wanglam closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant