diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js index d8a076c5b..9d9224f83 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancement/queries.spec.js @@ -14,12 +14,6 @@ const testFixtureHandler = new TestFixtureHandler( Cypress.env('openSearchUrl') ); -const indexSet = [ - 'logstash-2015.09.22', - 'logstash-2015.09.21', - 'logstash-2015.09.20', -]; - describe('query enhancement queries', { scrollBehavior: false }, () => { before(() => { CURRENT_TENANT.newTenant = 'global'; diff --git a/cypress/utils/dashboards/query_enhancement/commands.js b/cypress/utils/dashboards/query_enhancement/commands.js index 88f852c9b..8f32fcfe3 100644 --- a/cypress/utils/dashboards/query_enhancement/commands.js +++ b/cypress/utils/dashboards/query_enhancement/commands.js @@ -31,9 +31,7 @@ Cypress.Commands.add('setSingleLineQueryEditor', (value, submit = true) => { } }); -Cypress.Commands.add('setQueryLanguage', (value, submit = true) => { - const opts = { log: false }; - +Cypress.Commands.add('setQueryLanguage', (value) => { Cypress.log({ name: 'setQueryLanguage', displayName: 'set language',