Skip to content

Commit

Permalink
Update Flow Framework Tests cont. (#1680) (#1681)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit acb68e4)

Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
  • Loading branch information
opensearch-trigger-bot[bot] and ohltyler authored Jan 28, 2025
1 parent f2d4174 commit b21648b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing semantic search",
"version": {
"template": "1.0.0",
"compatibility": ["2.17.0", "3.0.0"]
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"workflows": {
"provision": {
Expand Down Expand Up @@ -54,7 +57,7 @@
}
},
"ui_metadata": {
"type": "Semantic search",
"type": "Semantic Search",
"config": {
"search": {
"pipelineName": {
Expand Down Expand Up @@ -272,4 +275,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('Creating Workflows Using Various Methods', () => {
cy.getElementByDataTestId('selectDataToImportButton')
.should('be.visible')
.click();
cy.get(`[data-text="Upload file"]`).should('be.visible').click();
cy.get(`[data-text="Upload a file"]`).should('be.visible').click();
const filePath = `cypress/fixtures/${FF_FIXTURE_BASE_PATH}semantic_search/source_data.json`;
cy.get('input[type=file]').selectFile(filePath);
cy.getElementByDataTestId('updateSourceDataButton')
Expand Down Expand Up @@ -177,7 +177,7 @@ describe('Creating Workflows Using Various Methods', () => {
});

it('Create workflow from custom template', () => {
createPreset('Custom');
createPreset('Custom Search');
});

after(() => {
Expand Down

0 comments on commit b21648b

Please sign in to comment.