Skip to content

[Improvement] Improved Cypress test that validates the dynamic column #168

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

Conversation

KishoreKicha14
Copy link
Contributor

Description

This PR introduces an automated Cypress test that validates the dynamic column rendering behavior in the Query Insights Dashboard using stubbed top_queries API responses. It ensures that the UI correctly displays expected headers and rows based on intercepted data.

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.

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
@ansjcy
Copy link
Member

ansjcy commented Apr 23, 2025

LGTM! thanks for fixing it!

@ansjcy ansjcy merged commit 28fd1f9 into opensearch-project:main Apr 23, 2025
10 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 23, 2025
…#168)

* Improve the Dynamic Column Cypress

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

* Improve the Dynamic Column Cypress

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

* updated timestamp with old date

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

---------

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
Co-authored-by: Kishore Kumaar Natarajan <[email protected]>
(cherry picked from commit 28fd1f9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ansjcy pushed a commit that referenced this pull request Apr 23, 2025
…#168) (#171)

* Improve the Dynamic Column Cypress



* Improve the Dynamic Column Cypress



* updated timestamp with old date



---------



(cherry picked from commit 28fd1f9)

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kishore Kumaar Natarajan <[email protected]>
dzane17 pushed a commit to dzane17/query-insights-dashboards that referenced this pull request May 27, 2025
…opensearch-project#168)

* Improve the Dynamic Column Cypress

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

* Improve the Dynamic Column Cypress

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

* updated timestamp with old date

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>

---------

Signed-off-by: Kishore Kumaar Natarajan <[email protected]>
Co-authored-by: Kishore Kumaar Natarajan <[email protected]>
dzane17 pushed a commit to dzane17/query-insights-dashboards that referenced this pull request May 27, 2025
dzane17 added a commit that referenced this pull request May 28, 2025
…Insights Dashboard + dependent PRs (#200)

* Feat: dynamically display columns (#103)

Signed-off-by: David Zane <[email protected]>

* [Improvement] Improved Cypress test that validates the dynamic column (#168)

Signed-off-by: David Zane <[email protected]>

* [BUG FIX] Enable Correct Sorting for Metrics in Query Insights Dashboard (#173)

Signed-off-by: David Zane <[email protected]>

---------

Signed-off-by: David Zane <[email protected]>
Co-authored-by: Kishore Kumaar Natarajan <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 28, 2025
…Insights Dashboard + dependent PRs (#200)

* Feat: dynamically display columns (#103)

Signed-off-by: David Zane <[email protected]>

* [Improvement] Improved Cypress test that validates the dynamic column (#168)

Signed-off-by: David Zane <[email protected]>

* [BUG FIX] Enable Correct Sorting for Metrics in Query Insights Dashboard (#173)

Signed-off-by: David Zane <[email protected]>

---------

Signed-off-by: David Zane <[email protected]>
Co-authored-by: Kishore Kumaar Natarajan <[email protected]>
(cherry picked from commit 7a21131)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dzane17 pushed a commit that referenced this pull request May 28, 2025
…Insights Dashboard + dependent PRs (#200) (#201)

* Feat: dynamically display columns (#103)
* [Improvement] Improved Cypress test that validates the dynamic column (#168)
* [BUG FIX] Enable Correct Sorting for Metrics in Query Insights Dashboard (#173)

(cherry picked from commit 7a21131)

Signed-off-by: David Zane <[email protected]>
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.

2 participants