Skip to content

Commit 40a0e7d

Browse files
authored
Update sample input to jsonlines format (#1732)
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent f28596e commit 40a0e7d

File tree

3 files changed

+8
-31
lines changed

3 files changed

+8
-31
lines changed

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

-30
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{"item_text":"purpul high heels","item_price":150}
2+
{"item_text":"pair of jordans","item_price":250}
3+
{"item_text":"baseball cleats","item_price":85}
4+
{"item_text":"red pants","item_price":95}
5+
{"item_text":"blue skirt","item_price":55}
6+
{"item_text":"orange tank top","item_price":30}
7+
{"item_text":"maroon shorts","item_price":35}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('Creating Workflows Using Various Methods', () => {
119119
.should('be.visible')
120120
.click();
121121
cy.get(`[data-text="Upload a file"]`).should('be.visible').click();
122-
const filePath = `cypress/fixtures/${FF_FIXTURE_BASE_PATH}semantic_search/source_data.json`;
122+
const filePath = `cypress/fixtures/${FF_FIXTURE_BASE_PATH}semantic_search/source_data.jsonl`;
123123
cy.get('input[type=file]').selectFile(filePath);
124124
cy.getElementByDataTestId('updateSourceDataButton')
125125
.should('be.visible')

0 commit comments

Comments
 (0)