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

[Saved Queries] TESTID-127: Create a new Saved Query by updating an existing Saved Query #8977

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

Comments

@LDrago27
Copy link
Collaborator

Objective

We are validating the ability to update the contents (language, query, time range, filters) of an existing saved query and save the updates as a new saved query.

What to test

Update Permutations:

  1. query

  2. filters

  3. time range

  4. language

Flags: data.savedQueriesNewUI.enabled: true/false

Scenario Steps Expected result
Create a new Saved Query by updating an existing saved query
  • Navigate to Discover
  • Click on Open Saved Query Button
  • Select a Saved Query from the list
  • Update any combination of Update permutations listed above and save the changes by clicking on save query button save it as a new Saved Query
  • Validate you can't have the New Saved Query name same as previous
  • Refresh the Page
  • Click on Open Saved Query Button
  • Select the original Saved Query
  • Verify that the original Saved Query is unchanged
  • Refresh the Page
  • Click on Open Saved Query Button
  • Select the new Saved Query
  • Verify the updated contents are available in Discover

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 27, 2024
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: Todo
Development

No branches or pull requests

1 participant