Skip to content

Commit 4e49e9a

Browse files
abbyhu2000kavilla
authored andcommitted
turn query enhancement off for functional tests
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
1 parent 633d8f4 commit 4e49e9a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cypress_workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
TEST_REPO: ${{ inputs.test_repo != '' && inputs.test_repo || 'opensearch-project/opensearch-dashboards-functional-test' }}
3333
TEST_BRANCH: "${{ inputs.test_branch != '' && inputs.test_branch || github.base_ref }}"
3434
FTR_PATH: 'ftr'
35-
START_CMD: 'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false'
35+
START_CMD: 'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true --csp.warnLegacyBrowsers=false --uiSettings.overrides['query:enhancements:enabled']=false'
3636
OPENSEARCH_SNAPSHOT_CMD: 'node ../scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false'
3737
CYPRESS_BROWSER: 'chromium'
3838
CYPRESS_VISBUILDER_ENABLED: true

test/common/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export default function () {
7878
`--opensearchDashboards.branding.mark.defaultUrl=https://opensearch.org/assets/brand/SVG/Mark/opensearch_mark_default.svg`,
7979
`--opensearchDashboards.branding.mark.darkModeUrl=https://opensearch.org/assets/brand/SVG/Mark/opensearch_mark_darkmode.svg`,
8080
`--opensearchDashboards.branding.applicationTitle=OpenSearch`,
81+
`--uiSettings.overrides['query:enhancements:enabled']=false`,
8182
],
8283
},
8384
services,

0 commit comments

Comments
 (0)