-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Flow Framework Dashboards integ tests fixes
Signed-off-by: saimedhi <saimedhi@amazon.com>
- Loading branch information
Showing
5 changed files
with
200 additions
and
41 deletions.
There are no files selected for viewing
119 changes: 119 additions & 0 deletions
119
cypress/fixtures/plugins/dashboards-flow-framework/semantic_search/ingest_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"took": 54, | ||
"ingest_took": 126, | ||
"errors": false, | ||
"items": [ | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_5eb4274ecd07877b", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 0, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_5c2109b59f22a89b", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 1, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_1a09251a492ae577", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 2, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_2a44dbf9e356a851", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 3, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_0e3c03e40a1ccdd2", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 4, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_07be3515c6668af1", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 5, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
}, | ||
{ | ||
"index": { | ||
"_index": "knn_index", | ||
"_id": "_fc3aa8e1c935cbfb", | ||
"_version": 1, | ||
"result": "created", | ||
"_shards": { | ||
"total": 2, | ||
"successful": 1, | ||
"failed": 0 | ||
}, | ||
"_seq_no": 6, | ||
"_primary_term": 1, | ||
"status": 201 | ||
} | ||
} | ||
] | ||
} |
40 changes: 23 additions & 17 deletions
40
cypress/fixtures/plugins/dashboards-flow-framework/semantic_search/search_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
[ | ||
{ | ||
"item_text": "purpul high heels", | ||
"item_price": 150 | ||
}, | ||
{ | ||
"item_text": "pair of jordans", | ||
"item_price": 250 | ||
}, | ||
{ | ||
"item_text": "baseball cleats", | ||
"item_price": 85 | ||
}, | ||
{ | ||
"item_text": "red pants", | ||
"item_price": 95 | ||
{ | ||
"hits": { | ||
"hits": [ | ||
{ | ||
"_source": { | ||
"shoes": [ | ||
{ | ||
"item_text": "purpul high heels", | ||
"item_price": 150 | ||
}, | ||
{ | ||
"item_text": "pair of jordans", | ||
"item_price": 250 | ||
}, | ||
{ | ||
"item_text": "baseball cleats", | ||
"item_price": 85 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters