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

[Query Testing] TESTID-17: Test scenario #8934

Closed
LDrago27 opened this issue Nov 26, 2024 · 6 comments
Closed

[Query Testing] TESTID-17: Test scenario #8934

LDrago27 opened this issue Nov 26, 2024 · 6 comments
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative

Comments

@LDrago27
Copy link
Collaborator

LDrago27 commented Nov 26, 2024

Objective

What are we testing

What to test

Permutations to consider (only if they apply)

Data type:

  1. Index Patterns

  2. Indexes

  3. S3 Connections

  4. Cloudwatch

  5. Security Lake

Language:

  1. DQL

  2. Lucene

  3. PPL

  4. SQL


2.1. Test DQL queries with various complexity levels

2.1.1 - Need most popular DQL used to add to the testing plan

2.2. Test SQL queries with different operations (SELECT, JOIN, etc.)

2.2.1 - SQL Support across data sources

2.3. Test PPL queries with different commands and functions

2.3.1 - PPL Support within data sources (JOIN/Lookup/SUBQUERY from Spark PPL)

Scenario Steps Expected result Notes
Example (See below)      
PPL/SQL/DQS/S3 Make a query (add more details here)Expand a rowSee if flilters are disabled Filters are disabled  
DQL/Lucene & Index patterns Make a query (add more details here)Expand a rowAdd a filter by clicking on the filter action Filtering from the table works  
DQL Choose an index pattern with timestampSend a DQL query: response:400 Results should be within the time rangeresponse field should all equal to 400; any other rows are filtered outresponse: 400 should be highlighted  
DQL Choose an index pattern without timestampSend a DQL query: response:400 time range should not matter since we do not have time fieldresponse field should all equal to 400; any other rows are filtered outresponse: 400 should be highlighted  
Advanced setting: ignoreFiltersIfValid is on Turned on the advanced settingAdd a filter to a field, and pinned the filterSwitch to another index pattern that does not have that filter Since the field are not present in the new dataset & ignoreFiltersIfValid is on, the pinned filter will be disabled  
Advanced setting: ignoreFiltersIfValid is off Turned on the advanced settingAdd a filter to a field, and pinned the filterSwitch to another index pattern that does not have that filter Since the field are not present in the new dataset & ignoreFiltersIfValid is off, the pinned filter will still be applied  
Advanced setting: sample size Go to advanced setting and set sample size to 20Go back to discover only 20 rows should be rendered  
Histogram Choose DQL, and choose auto on the histogram interval, read the histogram and count the # of intervalsChoose PPL, and also choose auto on the histogram, count the # of intervals If DQL shows 12 bars each year in histogram interval; then we should see 12 intervals for PPL toobuckets might appear slightly different, since PPL only supports a specific time stamp format  
Advanced setting:ConcurrentBatch is off      
Advanced setting:ConcurrentBatch is on      
SQL(default) Select SQL default query string should be displaying: SELECT * FROM opensearch_dashboards_sample_data_ecommerce LIMIT 10 time picker should not be showed  
PPL(default) Select PPL default query string should be displaying: source = opensearch_dashboards_sample_data_ecommercetime picker & histogram should be showed  
       
       
       



Pre-requisites
What do we need to make sure the test can be written
Steps to setting up the scenario

  1. Have at least 1 existing workspace with index patterns
  2. Have one workspace without index patterns

Known Issues
List of known issues to reference that could impact the results of this test case

@LDrago27 LDrago27 added the discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative label Nov 26, 2024
@angle943
Copy link
Contributor

angle943 commented Feb 4, 2025

i will take this

@kavilla
Copy link
Member

kavilla commented Feb 5, 2025

might need some error testing

@ananzh
Copy link
Member

ananzh commented Feb 10, 2025

@angle943 Sample size has an update:
#9356

@ananzh
Copy link
Member

ananzh commented Feb 12, 2025

Make a query (add more details here)Expand a rowSee if flilters are disabled and Make a query (add more details here)Expand a rowAdd a filter by clicking on the filter action are tested in other project

@ananzh
Copy link
Member

ananzh commented Feb 13, 2025

Default query is also tested in multiple places, ex autocomplete_switch, dataset_selector and etc. There is a utility function

export const getDefaultQuery = (datasetName, language) => {
  switch (language) {
    case QueryLanguages.DQL.name:
      return '';
    case QueryLanguages.Lucene.name:
      return '';
    case QueryLanguages.PPL.name:
      return `source = ${datasetName}`;
    case QueryLanguages.SQL.name:
      return `SELECT * FROM ${datasetName} LIMIT 10`;
  }
};

and these tests used this function to verify the default query.

@ananzh
Copy link
Member

ananzh commented Feb 13, 2025

Ignore Histogram for now since it requires interaction with canvas in cypress. Will create another issue for it.
Ignore Advanced setting:ConcurrentBatch as it requires to verify to use msearch in network tab. Better to manually verify it.

ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 13, 2025
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 13, 2025
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
@ananzh ananzh closed this as completed in 4d55b4d Feb 14, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Discover 2.0 Testing Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this issue Feb 14, 2025
ananzh added a commit that referenced this issue Feb 14, 2025
* add max recent queries tests

Signed-off-by: Federico Silva <[email protected]>

* refactor callback function

Signed-off-by: Federico Silva <[email protected]>

* add testid-42 tests

Signed-off-by: Federico Silva <[email protected]>

* add comments

Signed-off-by: Federico Silva <[email protected]>

* add spec to package.json

Signed-off-by: Federico Silva <[email protected]>

* fix testconfig fn name

Signed-off-by: Federico Silva <[email protected]>

* fix clipboard flakiness

Signed-off-by: Federico Silva <[email protected]>

* refactor test preparation

Signed-off-by: Federico Silva <[email protected]>

* fix package.json, yarn.locl and cypress.config.ts

Signed-off-by: Federico Silva <[email protected]>

* Changeset file for PR #9307 created/updated

Signed-off-by: Federico Silva <[email protected]>

* remove element.js references

Signed-off-by: Federico Silva <[email protected]>

* [Documentation] Add alternative Docker Development Environment Setup documentation. (#9362)

* Add alternative Docker Development Environment Setup.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9362 created/updated

* Use relative link

Signed-off-by: Argus Li <[email protected]>

* Address Suchit's comments.

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-77] Index Patterns Caching functionality for Discover (#9331)

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9331 created/updated

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9331 created/updated

* Refactor based on #9319

Signed-off-by: Argus Li <[email protected]>

* Update package.json

Signed-off-by: Suchit Sahoo <[email protected]>

* Remove element.js

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* comment out tests with dependencies

Signed-off-by: Federico Silva <[email protected]>

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav (#9316)

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR #9316 created/updated

* Update unit test

Signed-off-by: Joey Liu <[email protected]>

* Revert save modal change

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-64,80,UI] Add cypress test for autocomplete feature (#9322)

* [TESTID-64,80,UI] Add cypress test for autocomplete feature

Add tests related to autocomplete. This will close all the issues listed here:

https://github.com/opensearch-project/OpenSearch-Dashboards/issues/assigned/ananzh?q=is%3Aissue%20assignee%3Aananzh%20label%3A%22discover%20autocomplete%22%20

Signed-off-by: Anan <[email protected]>

* Changeset file for PR #9322 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] chore: Update query editor loading UI (#9344)

* [Discover] chore: Update query editor loading UI

* Move progress bar position

Signed-off-by: Joey Liu <[email protected]>

* Update loading text font

Signed-off-by: Joey Liu <[email protected]>

* update unit test snapshot

Signed-off-by: Joey Liu <[email protected]>

* Update single line query editor

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR #9344 created/updated

* pull doc update

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* feat(vis_type_vega): support reading time field (#9152)

* feat(vis_type_vega): support reading time field

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR #9152 created/updated

* fix time format to use moment.utc

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-17] Add tests for query testing and advanced settings (#9384)

Issue Resolved:
#8934

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

---------

Signed-off-by: Federico Silva <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Signed-off-by: Joey Liu <[email protected]>
Signed-off-by: Anan <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Argus Li <[email protected]>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Joey Liu <[email protected]>
Co-authored-by: Yulong Ruan <[email protected]>
ananzh added a commit that referenced this issue Feb 17, 2025
* Update actions/cache from v1 to v4 to address deprecation warning (#9366)

* build: Update actions/cache from v1 to v4 to address deprecation warning

Signed-off-by: Anan <[email protected]>

* Changeset file for PR #9366 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* Handle invalid geospatial request in region map (#8759)

Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* Update DEVELOPER_GUIDE.md (#9368)

When building the OpenSearch Dashboards artifact for Linux, the build may fail on certain distributions. This issue stems from the recent upgrade from node-sass to dart-sass. The new process uses an embeddable module from dart-sass to process Sass files, which relies on a platform-specific compiler. On Linux, this module depends on glibc. However, some distributions—like Alpine Linux—use musl libc instead, which is incompatible with this module. I'm updating the DEVELOPER_GUIDE documentation to help other developers choose the appropriate distro for Docker images and avoid the pitfalls I encountered.
See the issue I created in Github explaining this reasoning: #9329
Also the forum where I posted the kind of error you see when building with a Linux Distribution that is incompatible with glibc: https://forum.opensearch.org/t/docker-a-error-error-worker-exitted-unexpectedly-with-code-1-last-message-bundleid-embeddable-type-running/23214

Signed-off-by: Luis Beltrán <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* create histogram tests

Signed-off-by: Federico Silva <[email protected]>

* update callback, refactor tests

Signed-off-by: Federico Silva <[email protected]>

* fix hooks

Signed-off-by: Federico Silva <[email protected]>

* add comments to code, refactor preconditions

Signed-off-by: Federico Silva <[email protected]>

* update hooks to beforeEach and afterEach for CI/CD

Signed-off-by: Federico Silva <[email protected]>

* Changeset file for PR #9290 created/updated

Signed-off-by: Federico Silva <[email protected]>

* add todos

Signed-off-by: Federico Silva <[email protected]>

* add to package.json

Signed-off-by: Federico Silva <[email protected]>

* remove elements.js references

Signed-off-by: Federico Silva <[email protected]>

* [Documentation] Add alternative Docker Development Environment Setup documentation. (#9362)

* Add alternative Docker Development Environment Setup.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9362 created/updated

* Use relative link

Signed-off-by: Argus Li <[email protected]>

* Address Suchit's comments.

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-77] Index Patterns Caching functionality for Discover (#9331)

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9331 created/updated

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR #9331 created/updated

* Refactor based on #9319

Signed-off-by: Argus Li <[email protected]>

* Update package.json

Signed-off-by: Suchit Sahoo <[email protected]>

* Remove element.js

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav (#9316)

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR #9316 created/updated

* Update unit test

Signed-off-by: Joey Liu <[email protected]>

* Revert save modal change

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* skip permutation for SQL

Signed-off-by: Federico Silva <[email protected]>

* add todo

Signed-off-by: Federico Silva <[email protected]>

* [TESTID-64,80,UI] Add cypress test for autocomplete feature (#9322)

* [TESTID-64,80,UI] Add cypress test for autocomplete feature

Add tests related to autocomplete. This will close all the issues listed here:

https://github.com/opensearch-project/OpenSearch-Dashboards/issues/assigned/ananzh?q=is%3Aissue%20assignee%3Aananzh%20label%3A%22discover%20autocomplete%22%20

Signed-off-by: Anan <[email protected]>

* Changeset file for PR #9322 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] chore: Update query editor loading UI (#9344)

* [Discover] chore: Update query editor loading UI

* Move progress bar position

Signed-off-by: Joey Liu <[email protected]>

* Update loading text font

Signed-off-by: Joey Liu <[email protected]>

* update unit test snapshot

Signed-off-by: Joey Liu <[email protected]>

* Update single line query editor

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR #9344 created/updated

* pull doc update

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* feat(vis_type_vega): support reading time field (#9152)

* feat(vis_type_vega): support reading time field

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR #9152 created/updated

* fix time format to use moment.utc

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-17] Add tests for query testing and advanced settings (#9384)

Issue Resolved:
#8934

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* add to package.json

Signed-off-by: Federico Silva <[email protected]>

---------

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>
Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Luis Beltrán <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Signed-off-by: Joey Liu <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Junqiu Lei <[email protected]>
Co-authored-by: Luis Beltrán <[email protected]>
Co-authored-by: Argus Li <[email protected]>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Joey Liu <[email protected]>
Co-authored-by: Yulong Ruan <[email protected]>
sumukhswamy pushed a commit to sumukhswamy/OpenSearch-Dashboards that referenced this issue Feb 18, 2025
sumukhswamy pushed a commit to sumukhswamy/OpenSearch-Dashboards that referenced this issue Feb 18, 2025
* add max recent queries tests

Signed-off-by: Federico Silva <[email protected]>

* refactor callback function

Signed-off-by: Federico Silva <[email protected]>

* add testid-42 tests

Signed-off-by: Federico Silva <[email protected]>

* add comments

Signed-off-by: Federico Silva <[email protected]>

* add spec to package.json

Signed-off-by: Federico Silva <[email protected]>

* fix testconfig fn name

Signed-off-by: Federico Silva <[email protected]>

* fix clipboard flakiness

Signed-off-by: Federico Silva <[email protected]>

* refactor test preparation

Signed-off-by: Federico Silva <[email protected]>

* fix package.json, yarn.locl and cypress.config.ts

Signed-off-by: Federico Silva <[email protected]>

* Changeset file for PR opensearch-project#9307 created/updated

Signed-off-by: Federico Silva <[email protected]>

* remove element.js references

Signed-off-by: Federico Silva <[email protected]>

* [Documentation] Add alternative Docker Development Environment Setup documentation. (opensearch-project#9362)

* Add alternative Docker Development Environment Setup.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9362 created/updated

* Use relative link

Signed-off-by: Argus Li <[email protected]>

* Address Suchit's comments.

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-77] Index Patterns Caching functionality for Discover (opensearch-project#9331)

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9331 created/updated

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9331 created/updated

* Refactor based on opensearch-project#9319

Signed-off-by: Argus Li <[email protected]>

* Update package.json

Signed-off-by: Suchit Sahoo <[email protected]>

* Remove element.js

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* comment out tests with dependencies

Signed-off-by: Federico Silva <[email protected]>

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav (opensearch-project#9316)

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR opensearch-project#9316 created/updated

* Update unit test

Signed-off-by: Joey Liu <[email protected]>

* Revert save modal change

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-64,80,UI] Add cypress test for autocomplete feature (opensearch-project#9322)

* [TESTID-64,80,UI] Add cypress test for autocomplete feature

Add tests related to autocomplete. This will close all the issues listed here:

https://github.com/opensearch-project/OpenSearch-Dashboards/issues/assigned/ananzh?q=is%3Aissue%20assignee%3Aananzh%20label%3A%22discover%20autocomplete%22%20

Signed-off-by: Anan <[email protected]>

* Changeset file for PR opensearch-project#9322 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] chore: Update query editor loading UI (opensearch-project#9344)

* [Discover] chore: Update query editor loading UI

* Move progress bar position

Signed-off-by: Joey Liu <[email protected]>

* Update loading text font

Signed-off-by: Joey Liu <[email protected]>

* update unit test snapshot

Signed-off-by: Joey Liu <[email protected]>

* Update single line query editor

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR opensearch-project#9344 created/updated

* pull doc update

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* feat(vis_type_vega): support reading time field (opensearch-project#9152)

* feat(vis_type_vega): support reading time field

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR opensearch-project#9152 created/updated

* fix time format to use moment.utc

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-17] Add tests for query testing and advanced settings (opensearch-project#9384)

Issue Resolved:
opensearch-project#8934

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

---------

Signed-off-by: Federico Silva <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Signed-off-by: Joey Liu <[email protected]>
Signed-off-by: Anan <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Argus Li <[email protected]>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Joey Liu <[email protected]>
Co-authored-by: Yulong Ruan <[email protected]>
sumukhswamy pushed a commit to sumukhswamy/OpenSearch-Dashboards that referenced this issue Feb 18, 2025
* Update actions/cache from v1 to v4 to address deprecation warning (opensearch-project#9366)

* build: Update actions/cache from v1 to v4 to address deprecation warning

Signed-off-by: Anan <[email protected]>

* Changeset file for PR opensearch-project#9366 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* Handle invalid geospatial request in region map (opensearch-project#8759)

Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* Update DEVELOPER_GUIDE.md (opensearch-project#9368)

When building the OpenSearch Dashboards artifact for Linux, the build may fail on certain distributions. This issue stems from the recent upgrade from node-sass to dart-sass. The new process uses an embeddable module from dart-sass to process Sass files, which relies on a platform-specific compiler. On Linux, this module depends on glibc. However, some distributions—like Alpine Linux—use musl libc instead, which is incompatible with this module. I'm updating the DEVELOPER_GUIDE documentation to help other developers choose the appropriate distro for Docker images and avoid the pitfalls I encountered.
See the issue I created in Github explaining this reasoning: opensearch-project#9329
Also the forum where I posted the kind of error you see when building with a Linux Distribution that is incompatible with glibc: https://forum.opensearch.org/t/docker-a-error-error-worker-exitted-unexpectedly-with-code-1-last-message-bundleid-embeddable-type-running/23214

Signed-off-by: Luis Beltrán <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* create histogram tests

Signed-off-by: Federico Silva <[email protected]>

* update callback, refactor tests

Signed-off-by: Federico Silva <[email protected]>

* fix hooks

Signed-off-by: Federico Silva <[email protected]>

* add comments to code, refactor preconditions

Signed-off-by: Federico Silva <[email protected]>

* update hooks to beforeEach and afterEach for CI/CD

Signed-off-by: Federico Silva <[email protected]>

* Changeset file for PR opensearch-project#9290 created/updated

Signed-off-by: Federico Silva <[email protected]>

* add todos

Signed-off-by: Federico Silva <[email protected]>

* add to package.json

Signed-off-by: Federico Silva <[email protected]>

* remove elements.js references

Signed-off-by: Federico Silva <[email protected]>

* [Documentation] Add alternative Docker Development Environment Setup documentation. (opensearch-project#9362)

* Add alternative Docker Development Environment Setup.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9362 created/updated

* Use relative link

Signed-off-by: Argus Li <[email protected]>

* Address Suchit's comments.

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-77] Index Patterns Caching functionality for Discover (opensearch-project#9331)

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9331 created/updated

* Create caching test.

Signed-off-by: Argus Li <[email protected]>

* Changeset file for PR opensearch-project#9331 created/updated

* Refactor based on opensearch-project#9319

Signed-off-by: Argus Li <[email protected]>

* Update package.json

Signed-off-by: Suchit Sahoo <[email protected]>

* Remove element.js

Signed-off-by: Argus Li <[email protected]>

---------

Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav (opensearch-project#9316)

* [Discover] fix: Clean up sync URL subscription in Discover plugin topNav

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR opensearch-project#9316 created/updated

* Update unit test

Signed-off-by: Joey Liu <[email protected]>

* Revert save modal change

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* skip permutation for SQL

Signed-off-by: Federico Silva <[email protected]>

* add todo

Signed-off-by: Federico Silva <[email protected]>

* [TESTID-64,80,UI] Add cypress test for autocomplete feature (opensearch-project#9322)

* [TESTID-64,80,UI] Add cypress test for autocomplete feature

Add tests related to autocomplete. This will close all the issues listed here:

https://github.com/opensearch-project/OpenSearch-Dashboards/issues/assigned/ananzh?q=is%3Aissue%20assignee%3Aananzh%20label%3A%22discover%20autocomplete%22%20

Signed-off-by: Anan <[email protected]>

* Changeset file for PR opensearch-project#9322 created/updated

---------

Signed-off-by: Anan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [Discover] chore: Update query editor loading UI (opensearch-project#9344)

* [Discover] chore: Update query editor loading UI

* Move progress bar position

Signed-off-by: Joey Liu <[email protected]>

* Update loading text font

Signed-off-by: Joey Liu <[email protected]>

* update unit test snapshot

Signed-off-by: Joey Liu <[email protected]>

* Update single line query editor

Signed-off-by: Joey Liu <[email protected]>

* Changeset file for PR opensearch-project#9344 created/updated

* pull doc update

Signed-off-by: Joey Liu <[email protected]>

---------

Signed-off-by: Joey Liu <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* feat(vis_type_vega): support reading time field (opensearch-project#9152)

* feat(vis_type_vega): support reading time field

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR opensearch-project#9152 created/updated

* fix time format to use moment.utc

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <[email protected]>

* [TESTID-17] Add tests for query testing and advanced settings (opensearch-project#9384)

Issue Resolved:
opensearch-project#8934

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>

* add to package.json

Signed-off-by: Federico Silva <[email protected]>

---------

Signed-off-by: Anan <[email protected]>
Signed-off-by: Federico Silva <[email protected]>
Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Luis Beltrán <[email protected]>
Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Suchit Sahoo <[email protected]>
Signed-off-by: Joey Liu <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Junqiu Lei <[email protected]>
Co-authored-by: Luis Beltrán <[email protected]>
Co-authored-by: Argus Li <[email protected]>
Co-authored-by: Suchit Sahoo <[email protected]>
Co-authored-by: Joey Liu <[email protected]>
Co-authored-by: Yulong Ruan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative
Projects
Status: Done
Development

No branches or pull requests

4 participants