From 77e2b6f80b388ef19cbcd905fa7066a802a2c881 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:46:06 -0800 Subject: [PATCH] Update modal buttons for FF tests (#1612) (#1626) Signed-off-by: Tyler Ohlsen (cherry picked from commit 75c9c126f9e221ab1477f52026b5a7402d0aa6f4) Co-authored-by: Tyler Ohlsen --- .../plugins/dashboards-flow-framework/create_workflow_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/plugins/dashboards-flow-framework/create_workflow_spec.js b/cypress/integration/plugins/dashboards-flow-framework/create_workflow_spec.js index 6eef9aee8..27711c512 100644 --- a/cypress/integration/plugins/dashboards-flow-framework/create_workflow_spec.js +++ b/cypress/integration/plugins/dashboards-flow-framework/create_workflow_spec.js @@ -119,7 +119,7 @@ describe('Creating Workflows Using Various Methods', () => { .click(); const filePath = `cypress/fixtures/${FF_FIXTURE_BASE_PATH}semantic_search/source_data.json`; cy.get('input[type=file]').selectFile(filePath); - cy.getElementByDataTestId('closeSourceDataButton') + cy.getElementByDataTestId('updateSourceDataButton') .should('be.visible') .click(); cy.mockIngestion(() => { @@ -170,7 +170,7 @@ describe('Creating Workflows Using Various Methods', () => { .trigger('blur', { force: true }); }); }); - cy.getElementByDataTestId('searchQueryCloseButton') + cy.getElementByDataTestId('updateSearchQueryButton') .should('be.visible') .click(); cy.mockSemanticSearchIndexSearch(() => {