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

Update Observability event analytics visualization test #925

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Oct 12, 2023

Description

Fixes flaky test for saved visualization in event analytics

Issues Resolved

[List any issues this PR will resolve]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ps48
Copy link
Member Author

ps48 commented Oct 12, 2023


  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        9.5.4                                                                          │
  │ Browser:        Electron 94 (headless)                                                         │
  │ Node Version:   v18.16.0 (/Users/sgguruda/.nvm/versions/node/v18.16.0/bin/node)                │
  │ Specs:          1 found (plugins/observability-dashboards/5_event_analytics.spec.js)           │
  │ Searched:       cypress/integration/plugins/observability-dashboards/5_event_analytics.spec.js │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  plugins/observability-dashboards/5_event_analytics.spec.js                      (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating


  Click actions
    ✓ Actions - add sample data (15100ms)

  Saves a query on explorer page
    ✓ Saves a query on event tab of explorer page (23623ms)
    ✓ Saves a visualization on visualization tab of explorer page (30024ms)

  Delete saved objects
    ✓ Delete visualizations/queries from event analytics (17765ms)


  4 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 26 seconds                                                             │
  │ Spec Ran:     plugins/observability-dashboards/5_event_analytics.spec.js                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /Users/sgguruda/work/git_codebase/temp/opensearch-dashboard   (12 seconds)
                          s-functional-test/cypress/videos/plugins/observability-dash
                          boards/5_event_analytics.spec.js.mp4

    Compression progress:  100%

====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  plugins/observability-dashboards/5_      01:26        4        4        -        -        - │
  │    event_analytics.spec.js                                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        01:26        4        4        -        -        -

✨  Done in 114.17s.

@ps48
Copy link
Member Author

ps48 commented Oct 12, 2023

@kavilla can you please review this PR and backport for main and 2.x

@kavilla kavilla merged commit 07cf4ff into opensearch-project:2.11 Oct 12, 2023
33 of 34 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 12, 2023
Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit 07cf4ff)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 12, 2023
Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit 07cf4ff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants