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

[Meta][Discover][Functional Test] Capturing Customer Feedback and Bugs into tests for Discover #5713

Open
11 tasks
ananzh opened this issue Jan 19, 2024 · 3 comments
Assignees
Labels
discover for discover reinvent test:functional

Comments

@ananzh
Copy link
Member

ananzh commented Jan 19, 2024

As OpenSearch Dashboards evolves, particularly the Discover component, user feedback and bug reports have become a critical source of insights. These observations are more than just technical issues; they represent diverse user experiences and expectations. Our goal is to meticulously document these findings and integrate them into functional tests, ensuring the Discover component not only resolves current challenges but also evolves to offer an enhanced user experience. This issue will be served as a meta tracker to document the progress of transferring these understanding to tests.

  • Should verify line wrapping functionality, ensure multiple lines are displayed correctly without overlapping or truncating.
  • Function Test Suite 2: Copy data without extra data
  • Should test copy functionality, ensuring only relevant data is copied without additional information.
  • Function Test Suite 3: Display Multiple Documents
  • Should test that multiple documents can be displayed and interacted with concurrently in the Discover interface.
  • Function Test Suite 4: Data Source Selector
  • Should filter the list of index patterns in the data source selector.
  • Should list index patterns alphabetially in the data source selector
  • Function Test Suite 5: Left Navigation Display
  • Left side navigation should be expandable and collapsable
  • _source should be in the Selected Fields section when open discover. When open discover, _source field should be automatically included in selected fields
  • Timestamp column should not be added to the selected field when remove a column. Test adding and removing various columns, including timestamp column, and verify the correct update in selected fields.
  • Should add this column and available fields should remove it in selected fields, when select a column.
  • _source should be restored automatically in selected field, if remove all the selected columns
  • Should display Nested field properly in left navigation.Test nested field is broken into sub field and displayed in left nav.
  • Should display Unknown type field properly in left navigation
  • Saved search embeddable should be able to create and added in Dashboard. The data should be all displayed in the embeddable panel area.
  • When load a saved search in dashboard, column widths should be loaded properly
  • When load a saved search in dashboard, sort should be loaded properly
  • Function Test Suite 7: Discover Advanced Settings and related functions
  • Should add missing advanced settings tests in Discover, including column modification, default column settings, and time column visibility.
  • Function Test Suite 8: Navigation
  • Saved search should not trigger a full page reload
  • Function Test Suite 9: EuiDataGrid Table
  • Discover table panel should auto-adjust its size based on time range, filter, fields and query changes
  • Discover table columns can be resized
    • Issue: #5726
    • Drag column can resize column width
    • When re-fresh the page, column widths are persistent
    • Column widths can be saved in saved search
  • Function Test Suite 10: Saved query
  • Can add a saved query in Discover
  • Can remove/clear a saved query in Discover
  • From index manage page (saved object), click a saved query object created from Discover/Dashboard/Vis can load Discover with proper query and filter
  • Function Test Suite 11: Infinity Scroll in Legacy Table

While this issue captures several key user stories and feedback, it's important to acknowledge that our understanding of user needs is ever-evolving. We welcome and encourage ongoing community engagement and will continue update this meta issue.

@LDrago27
Copy link
Collaborator

I want to take it.

@ananzh
Copy link
Member Author

ananzh commented May 4, 2024

This has been partially resolved.

@LDrago27 Could you help to add a comment there what left or could we close it?

@ananzh ananzh removed the v2.14.0 label May 4, 2024
@LDrago27
Copy link
Collaborator

LDrago27 commented May 7, 2024

@ananzh The following items were not tested.

  1. Function Test Suite 2: Copy data without extra data: No easy way to test copying data to clipboard in cypress
  2. Function Test Suite 5: Left Navigation Display (Should display Unknown type field properly in left navigation): Niche scenario
  3. Function Test Suite 6: Saved Search Embeddable in Dashboard (When load a saved search in dashboard, sort should be loaded properly Issue: [BUG][Discover] Sort from search embeddable is not loaded in Dashboard #5933) : Issue still open hence couldn't be tested
  4. Function Test Suite 10: Saved query (From index manage page (saved object), click a saved query object created from Discover/Dashboard/Vis can load Discover with proper query and filter Issue: [BUG] Discover crashed when loading a saved search from saved object list in dashboards management #5942) : Issue Still open hence can't be tested
  5. Function Test Suite 11: Infinity Scroll in Legacy Table: Can load maximum 500 data (default size)
    Scroll down should auto load 50 more data couldn't be tested since they proved to be very flaky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discover for discover reinvent test:functional
Projects
None yet
Development

No branches or pull requests

3 participants