diff --git a/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js b/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js index 05871dacb7d..2bd6e2d232b 100644 --- a/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js +++ b/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_flyout.spec.js @@ -50,7 +50,7 @@ export const runSavedQueriesFlyoutUITests = () => { // Create workspace cy.deleteWorkspaceByName(workspaceName); cy.visit('/app/home'); - cy.createInitialWorkspaceWithDataSource(datasourceName, workspaceName); + cy.osd.createInitialWorkspaceWithDataSource(datasourceName, workspaceName); cy.createWorkspaceIndexPatterns({ workspaceName: workspaceName, indexPattern: INDEX_PATTERN_WITH_TIME.replace('*', ''), diff --git a/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js b/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js index 711c4476486..92162b26fe9 100644 --- a/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js +++ b/cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/saved_queries_popover.spec.js @@ -51,7 +51,7 @@ export const runSavedQueriesPopoverUITests = () => { // Create workspace cy.deleteWorkspaceByName(workspaceName); cy.visit('/app/home'); - cy.createInitialWorkspaceWithDataSource(datasourceName, workspaceName); + cy.osd.createInitialWorkspaceWithDataSource(datasourceName, workspaceName); cy.createWorkspaceIndexPatterns({ workspaceName: workspaceName, indexPattern: INDEX_PATTERN_WITH_TIME.replace('*', ''),