From f373dec82378afc5abb556fae8c70444adb97335 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 8 Sep 2023 08:32:40 -0700 Subject: [PATCH] [Backport 2.10] [Backport 2.x] Update searchbar snapshots according to upstream changes (#119) * [Backport 2.x] Update searchbar snapshots according to upstream changes (#116) * Update searchbar snapshots according to upstream changes (#115) Signed-off-by: Derek Ho Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] Co-authored-by: Derek Ho --- .../sql-workbench-test-build-workflow.yml | 6 +- .../Main/__snapshots__/main.test.tsx.snap | 12 +-- .../__snapshots__/QueryResults.test.tsx.snap | 94 +++++++++---------- .../QueryResultsBody.test.tsx.snap | 36 +++---- ...-query-workbench.release-notes-2.10.0.0.md | 1 + 5 files changed, 75 insertions(+), 74 deletions(-) diff --git a/.github/workflows/sql-workbench-test-build-workflow.yml b/.github/workflows/sql-workbench-test-build-workflow.yml index 09d2bc78..c9fd0299 100644 --- a/.github/workflows/sql-workbench-test-build-workflow.yml +++ b/.github/workflows/sql-workbench-test-build-workflow.yml @@ -11,8 +11,8 @@ on: env: PLUGIN_NAME: dashboards-query-workbench - OPENSEARCH_VERSION: 'main' - OPENSEARCH_PLUGIN_VERSION: 2.7.0.0 + OPENSEARCH_VERSION: '2.x' + OPENSEARCH_PLUGIN_VERSION: 2.10.0.0 jobs: tests: @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v2 with: repository: opensearch-project/OpenSearch-Dashboards - ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }} + ref: ${{ env.OPENSEARCH_VERSION }} path: OpenSearch-Dashboards - name: Setup Node uses: actions/setup-node@v3 diff --git a/public/components/Main/__snapshots__/main.test.tsx.snap b/public/components/Main/__snapshots__/main.test.tsx.snap index defafbdc..6730126f 100644 --- a/public/components/Main/__snapshots__/main.test.tsx.snap +++ b/public/components/Main/__snapshots__/main.test.tsx.snap @@ -110,7 +110,7 @@ exports[`
spec click clear button 1`] = ` xmlns="http://www.w3.org/2000/svg" > spec click run button, and response causes an error 1`] = ` xmlns="http://www.w3.org/2000/svg" > spec click run button, and response is not ok 1`] = ` xmlns="http://www.w3.org/2000/svg" > spec click run button, and response is ok 1`] = ` xmlns="http://www.w3.org/2000/svg" > spec click run button, response fills null and missing values xmlns="http://www.w3.org/2000/svg" > spec click translation button, and response is ok 1`] = ` xmlns="http://www.w3.org/2000/svg" > spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -241,7 +241,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -316,7 +316,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -359,7 +359,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -844,7 +844,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -1226,7 +1226,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -1608,7 +1608,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -1990,7 +1990,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -2372,7 +2372,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -2754,7 +2754,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -3136,7 +3136,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -3518,7 +3518,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -3900,7 +3900,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -4282,7 +4282,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -4674,7 +4674,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -4714,7 +4714,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -4782,7 +4782,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -4839,7 +4839,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -5033,7 +5033,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -5516,7 +5516,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -5898,7 +5898,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -6280,7 +6280,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -6662,7 +6662,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -7044,7 +7044,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -7426,7 +7426,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -7808,7 +7808,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -8190,7 +8190,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -8572,7 +8572,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -8954,7 +8954,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -9346,7 +9346,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -9386,7 +9386,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -9454,7 +9454,7 @@ exports[` spec renders the component to test tabs down xmlns="http://www.w3.org/2000/svg" > @@ -14219,7 +14219,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -14413,7 +14413,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -14896,7 +14896,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -15278,7 +15278,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -15660,7 +15660,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -16042,7 +16042,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -16424,7 +16424,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -16806,7 +16806,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -17188,7 +17188,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -17570,7 +17570,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -17952,7 +17952,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -18334,7 +18334,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -18726,7 +18726,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -18766,7 +18766,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > @@ -18834,7 +18834,7 @@ exports[` spec renders the component with mock query re xmlns="http://www.w3.org/2000/svg" > diff --git a/public/components/QueryResults/__snapshots__/QueryResultsBody.test.tsx.snap b/public/components/QueryResults/__snapshots__/QueryResultsBody.test.tsx.snap index 5fff13c6..21f700e8 100644 --- a/public/components/QueryResults/__snapshots__/QueryResultsBody.test.tsx.snap +++ b/public/components/QueryResults/__snapshots__/QueryResultsBody.test.tsx.snap @@ -5811,7 +5811,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -5961,7 +5961,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -6001,7 +6001,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -6041,7 +6041,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -10407,7 +10407,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -10789,7 +10789,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -11171,7 +11171,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -11553,7 +11553,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -11935,7 +11935,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -12317,7 +12317,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -12699,7 +12699,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -13081,7 +13081,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -13463,7 +13463,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -13845,7 +13845,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -14227,7 +14227,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -14619,7 +14619,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -14659,7 +14659,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > @@ -14684,7 +14684,7 @@ exports[` spec renders component with mock QueryResults data xmlns="http://www.w3.org/2000/svg" > diff --git a/release-notes/opensearch-query-workbench.release-notes-2.10.0.0.md b/release-notes/opensearch-query-workbench.release-notes-2.10.0.0.md index d25260b2..bc17d1ec 100644 --- a/release-notes/opensearch-query-workbench.release-notes-2.10.0.0.md +++ b/release-notes/opensearch-query-workbench.release-notes-2.10.0.0.md @@ -13,3 +13,4 @@ Compatible with OpenSearch and OpenSearch Dashboards 2.10.0 ### Maintenance - Increment version to 2.10.0.0 ([#100](https://github.com/opensearch-project/dashboards-query-workbench/pull/100)) +- Update searchbar snapshots according to upstream changes ([#119](https://github.com/opensearch-project/dashboards-query-workbench/pull/119)) \ No newline at end of file