From 474c2e537da456c8523b73b1adc43af0a9ab6399 Mon Sep 17 00:00:00 2001 From: Anan Date: Tue, 17 Dec 2024 20:09:25 -0800 Subject: [PATCH] skip tests before enable workspace Signed-off-by: Anan --- cypress.config.ts | 2 +- .../apps/query_enhancements/dataset_selector.spec.js | 2 +- .../apps/query_enhancements/queries.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress.config.ts b/cypress.config.ts index 982a249cd2b5..39bc969dc6cc 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -34,7 +34,7 @@ module.exports = defineConfig({ WAIT_FOR_LOADER_BUFFER_MS: 0, }, e2e: { - baseUrl: 'http://localhost:5602', + baseUrl: 'http://localhost:5601', specPattern: 'cypress/integration/**/*.spec.{js,jsx,ts,tsx}', testIsolation: false, setupNodeEvents, diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/dataset_selector.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/dataset_selector.spec.js index de73f5769ed3..b985bd0ecae3 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/dataset_selector.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/dataset_selector.spec.js @@ -11,7 +11,7 @@ import { PATHS, SECONDARY_ENGINE } from '../../../../../utils/constants'; const miscUtils = new MiscUtils(cy); const testFixtureHandler = new TestFixtureHandler(cy, PATHS.ENGINE); -describe('dataset selector', { scrollBehavior: false }, () => { +describe.skip('dataset selector', { scrollBehavior: false }, () => { describe('empty state', () => { it('no index pattern', function () { // Go to the Discover page diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/queries.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/queries.spec.js index a9820b9b2d9f..7ae18bb3bc7e 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/queries.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/query_enhancements/queries.spec.js @@ -11,7 +11,7 @@ import { PATHS } from '../../../../../utils/constants'; const miscUtils = new MiscUtils(cy); const testFixtureHandler = new TestFixtureHandler(cy, PATHS.ENGINE); -describe('query enhancement queries', { scrollBehavior: false }, () => { +describe.skip('query enhancement queries', { scrollBehavior: false }, () => { before(() => { testFixtureHandler.importJSONMapping('cypress/fixtures/timestamp/mappings.json.txt');