diff --git a/common/types/index.ts b/common/types/index.ts index 928d7578..c96bb147 100644 --- a/common/types/index.ts +++ b/common/types/index.ts @@ -76,3 +76,5 @@ export interface CreateAccelerationForm { refreshIntervalOptions: RefreshIntervalType; formErrors: FormErrorsType; } + +export type AsyncQueryLoadingStatus = "SUCCESS" | "FAILED" | "RUNNING" | "SCHEDULED" | "CANCELED" \ No newline at end of file diff --git a/public/components/Main/__snapshots__/main.test.tsx.snap b/public/components/Main/__snapshots__/main.test.tsx.snap index 2f967b2b..d77c51ba 100644 --- a/public/components/Main/__snapshots__/main.test.tsx.snap +++ b/public/components/Main/__snapshots__/main.test.tsx.snap @@ -30,11 +30,20 @@ exports[` spec click clear button 1`] = ` data-test-subj="comboBoxInput" tabindex="-1" > -
- Connection Name -
+ + + Opensearch + + + spec click clear button 1`] = `- Connection Name -
+ + + Opensearch + + + spec click run button, and response causes an error 1`] = `- Connection Name -
+ + + Opensearch + + + spec click run button, and response is not ok 1`] = `- Connection Name -
+ + + Opensearch + + + spec click run button, and response is ok 1`] = `- Connection Name -
+ + + Opensearch + + + spec click run button, response fills null and missing values- Connection Name -
+ + + Opensearch + + + spec click translation button, and response is ok 1`] = `- Connection Name -
+ + + Opensearch + + + spec renders the component 1`] = `Enter a query in the query editor above to see results.
-Enter a query in the query editor above to see results.
+