Skip to content

Commit b21648b

Browse files
Update Flow Framework Tests cont. (#1680) (#1681)
--------- Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com> (cherry picked from commit acb68e4) Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent f2d4174 commit b21648b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

cypress/fixtures/plugins/dashboards-flow-framework/semantic_search/import_workflow.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing semantic search",
55
"version": {
66
"template": "1.0.0",
7-
"compatibility": ["2.17.0", "3.0.0"]
7+
"compatibility": [
8+
"2.17.0",
9+
"3.0.0"
10+
]
811
},
912
"workflows": {
1013
"provision": {
@@ -54,7 +57,7 @@
5457
}
5558
},
5659
"ui_metadata": {
57-
"type": "Semantic search",
60+
"type": "Semantic Search",
5861
"config": {
5962
"search": {
6063
"pipelineName": {
@@ -272,4 +275,4 @@
272275
}
273276
}
274277
}
275-
}
278+
}

cypress/integration/plugins/dashboards-flow-framework/create_workflow_spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe('Creating Workflows Using Various Methods', () => {
118118
cy.getElementByDataTestId('selectDataToImportButton')
119119
.should('be.visible')
120120
.click();
121-
cy.get(`[data-text="Upload file"]`).should('be.visible').click();
121+
cy.get(`[data-text="Upload a file"]`).should('be.visible').click();
122122
const filePath = `cypress/fixtures/${FF_FIXTURE_BASE_PATH}semantic_search/source_data.json`;
123123
cy.get('input[type=file]').selectFile(filePath);
124124
cy.getElementByDataTestId('updateSourceDataButton')
@@ -177,7 +177,7 @@ describe('Creating Workflows Using Various Methods', () => {
177177
});
178178

179179
it('Create workflow from custom template', () => {
180-
createPreset('Custom');
180+
createPreset('Custom Search');
181181
});
182182

183183
after(() => {

0 commit comments

Comments
 (0)