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

[Search Management (Managing saved searches)] TESTID-74: Creating a Saved Search #8949

Open
LDrago27 opened this issue Nov 27, 2024 · 6 comments · Fixed by #9112
Open

[Search Management (Managing saved searches)] TESTID-74: Creating a Saved Search #8949

LDrago27 opened this issue Nov 27, 2024 · 6 comments · Fixed by #9112
Assignees
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative

Comments

@LDrago27
Copy link
Collaborator

LDrago27 commented Nov 27, 2024

Objective

We are testing while creating a saved search the query, filters , dataset, language are saved correctly

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

Scenario Steps Expected Result
Saved Search
  • For each data type and supported language combination:
  • Navigate to Discover and create a sample query.
  • Add appropriate filters.
  • Click on the "Save" button and assign a name for the saved search.
  • Navigate to the Assets tab and inspect the properties of the saved search created.
  • Validate that the filters, dataset, language, and query match the selections made prior to saving.

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 some datasource

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 27, 2024
@LDrago27 LDrago27 changed the title [Search Management (Managing saved searches)] TESTID-74: Saves the dataset [Search Management (Managing saved searches)] TESTID-74: Creating a Saved Search Nov 27, 2024
@angle943
Copy link
Contributor

I will take this on if that is okay!

@ananzh ananzh moved this from Todo to In Progress in Discover 2.0 Testing Dec 27, 2024
@ananzh ananzh moved this from In Progress to Ready to Review in Discover 2.0 Testing Dec 27, 2024
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in Discover 2.0 Testing Jan 6, 2025
@angle943
Copy link
Contributor

saved_search.spec_1.js.mp4

@angle943
Copy link
Contributor

saved_search.spec_2.js.mp4

@angle943
Copy link
Contributor

saved_search.spec_3.js.mp4

@angle943
Copy link
Contributor

saved_search.spec_4.js.mp4

@ananzh
Copy link
Member

ananzh commented Jan 23, 2025

Add a new test case: delete saved search + saved search list

For Data type: Index Pattern, Language: DQL
For Data type: Index Pattern, Language: Luence
For Data type: Index Pattern, Language: OpenSearch SQL
For Data type: Index Pattern, Language: PPL
For Data type: Index, Language: OpenSearch SQL
For Data type: Index, Language: PPL

After save a saved search, implement these steps

  • Click Open button and verify saved search exist.
  • Open Dashboard management and select saved objects and delete saved search.

Expectation

  • Saved search should exist in the saved search list when click open button
  • Saved search should exist in the Assets saved object list
  • Saved search can be deleted
delete-list.mp4

@ananzh ananzh reopened this Jan 23, 2025
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

Successfully merging a pull request may close this issue.

3 participants