diff --git a/public/pages/QueryDetails/QueryDetails.test.tsx b/public/pages/QueryDetails/QueryDetails.test.tsx
index 99ea1927..8973ff96 100644
--- a/public/pages/QueryDetails/QueryDetails.test.tsx
+++ b/public/pages/QueryDetails/QueryDetails.test.tsx
@@ -122,19 +122,6 @@ describe('QueryDetails component', () => {
});
});
- it('renders the search comparison button', async () => {
- renderQueryDetails();
-
- await waitFor(() => {
- const button = screen.getByText('Open in search comparison');
- expect(button).toBeInTheDocument();
- expect(button.closest('a')).toHaveAttribute(
- 'href',
- 'https://playground.opensearch.org/app/searchRelevance#/'
- );
- });
- });
-
it('matches snapshot', async () => {
const { container } = renderQueryDetails();
diff --git a/public/pages/QueryDetails/QueryDetails.tsx b/public/pages/QueryDetails/QueryDetails.tsx
index 33ea5a85..f863c064 100644
--- a/public/pages/QueryDetails/QueryDetails.tsx
+++ b/public/pages/QueryDetails/QueryDetails.tsx
@@ -7,7 +7,6 @@ import React, { useCallback, useContext, useEffect, useState } from 'react';
// @ts-ignore
import Plotly from 'plotly.js-dist';
import {
- EuiButton,
EuiCodeBlock,
EuiFlexGrid,
EuiFlexGroup,
@@ -173,17 +172,6 @@ const QueryDetails = ({
Query
-
-
- Open in search comparison
-
-
diff --git a/public/pages/QueryDetails/__snapshots__/QueryDetails.test.tsx.snap b/public/pages/QueryDetails/__snapshots__/QueryDetails.test.tsx.snap
index 9769341b..09d17f3c 100644
--- a/public/pages/QueryDetails/__snapshots__/QueryDetails.test.tsx.snap
+++ b/public/pages/QueryDetails/__snapshots__/QueryDetails.test.tsx.snap
@@ -216,40 +216,6 @@ exports[`QueryDetails component matches snapshot 1`] = `
Query
-
{
expect(document.getElementById('latency')).toBeInTheDocument();
});
- it('displays query details', async () => {
- const { container } = renderComponent();
-
- await waitFor(() => {
- expect(screen.getByText('Open in search comparision')).toBeInTheDocument();
- });
-
- const codeBlock = container.querySelector('.euiCodeBlock__pre');
- expect(codeBlock).toBeInTheDocument();
-
- expect(codeBlock?.textContent).toContain('"query"');
- expect(codeBlock?.textContent).toMatch(/{\s*"query":/);
- });
-
it('renders tooltips', () => {
renderComponent();
diff --git a/public/pages/QueryGroupDetails/QueryGroupDetails.tsx b/public/pages/QueryGroupDetails/QueryGroupDetails.tsx
index 9fb632ce..c2411597 100644
--- a/public/pages/QueryGroupDetails/QueryGroupDetails.tsx
+++ b/public/pages/QueryGroupDetails/QueryGroupDetails.tsx
@@ -10,7 +10,6 @@ import Plotly from 'plotly.js-dist';
import { useHistory, useLocation } from 'react-router-dom';
import React, { useContext, useEffect, useState } from 'react';
import {
- EuiButton,
EuiCodeBlock,
EuiFlexGrid,
EuiFlexGroup,
@@ -204,17 +203,6 @@ export const QueryGroupDetails = ({
Query
-
-
- Open in search comparision
-
-
diff --git a/public/pages/QueryGroupDetails/__snapshots__/QueryGroupDetails.test.tsx.snap b/public/pages/QueryGroupDetails/__snapshots__/QueryGroupDetails.test.tsx.snap
index 6143988c..779d3bf3 100644
--- a/public/pages/QueryGroupDetails/__snapshots__/QueryGroupDetails.test.tsx.snap
+++ b/public/pages/QueryGroupDetails/__snapshots__/QueryGroupDetails.test.tsx.snap
@@ -339,40 +339,6 @@ exports[`QueryGroupDetails matches snapshot 1`] = `
Query
-