diff --git a/src/__tests__/CompareResults/__snapshots__/OverTimeResultsView.test.tsx.snap b/src/__tests__/CompareResults/__snapshots__/OverTimeResultsView.test.tsx.snap
index b8ff6f67f..dd047df3b 100644
--- a/src/__tests__/CompareResults/__snapshots__/OverTimeResultsView.test.tsx.snap
+++ b/src/__tests__/CompareResults/__snapshots__/OverTimeResultsView.test.tsx.snap
@@ -513,7 +513,7 @@ exports[`Results View The table should match snapshot and other elements should
role="columnheader"
>
@@ -390,7 +432,7 @@ exports[`Results Table Should match snapshot 1`] = `
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -675,7 +759,7 @@ exports[`Results Table Should match snapshot 1`] = `
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3146,7 +3272,7 @@ exports[`Results Table for MannWhitneyResultsItem for mann-whitney-u testVersion
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3431,7 +3599,7 @@ exports[`Results Table for MannWhitneyResultsItem for mann-whitney-u testVersion
class="selectedRevision_fubtarc MuiBox-root css-0"
>
{
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
// Click inside the input box to show search results.
- const searchInput = screen.getByRole('textbox');
+
+ // focus input to show results
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[2];
await user.click(searchInput);
const comment = await screen.findAllByText("you've got no arms left!");
@@ -281,7 +288,9 @@ describe('Compare Over Time', () => {
expect(within(formElement).getByText(/Time range/)).toBeInTheDocument();
- const searchInput = screen.getByRole('textbox');
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[2];
await user.click(searchInput);
const checkbox = await screen.findByTestId('checkbox-0');
await user.click(checkbox);
@@ -310,7 +319,10 @@ describe('Compare Over Time', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
// focus input to show results
- const searchInput = screen.getByRole('textbox');
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[2];
+
await user.click(searchInput);
const noArmsLeft = await screen.findByText(/no arms left/);
@@ -368,8 +380,10 @@ describe('Compare Over Time', () => {
).toBeInTheDocument();
// focus first input to show results
- const inputs = screen.getAllByRole('textbox');
- await user.click(inputs[0]);
+ const searchInputs = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ );
+ await user.click(searchInputs[2]);
// Select a rev
const items = await screen.findAllByText("you've got no arms left!");
@@ -534,14 +548,17 @@ describe('Compare Over Time', () => {
expect(formElement).toMatchSnapshot('After clicking edit button');
expect(editButton).not.toBeVisible();
- //add a new revision
- const searchInput = within(formElement).getByRole('textbox');
+ // add a new revision
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
+
await user.click(searchInput);
const alvesOfCoconut = await screen.findByText(/alves of coconuts/);
await user.click(alvesOfCoconut);
expect(checkboxForText(alvesOfCoconut)).toHaveClass('Mui-checked');
- //change time range
+ // change time range
const timeRangeDropdown = screen.getByRole('combobox', {
name: /Time range/i,
});
diff --git a/src/__tests__/Search/CompareWithBase.test.tsx b/src/__tests__/Search/CompareWithBase.test.tsx
index 6bd1f506b..fa810107b 100644
--- a/src/__tests__/Search/CompareWithBase.test.tsx
+++ b/src/__tests__/Search/CompareWithBase.test.tsx
@@ -11,6 +11,9 @@ import { Strings } from '../../resources/Strings';
import getTestData from '../utils/fixtures';
import { screen, renderWithRouter, within, waitFor } from '../utils/test-utils';
+const searchRevisionPlaceholder =
+ Strings.components.searchDefault.base.collapsed.base.inputPlaceholder;
+
function setUpTestData() {
const { testData } = getTestData();
fetchMock
@@ -165,7 +168,10 @@ describe('Compare With Base', () => {
// set delay to null to prevent test time-out due to useFakeTimers
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
- const searchInput = screen.getAllByRole('textbox')[0];
+ // focus input to show results
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[1];
await user.click(searchInput);
const checkbox = (await screen.findAllByTestId('checkbox-0'))[0];
await user.click(checkbox);
diff --git a/src/__tests__/Search/SearchResultsList.test.tsx b/src/__tests__/Search/SearchResultsList.test.tsx
index 69079aad4..e8b083232 100644
--- a/src/__tests__/Search/SearchResultsList.test.tsx
+++ b/src/__tests__/Search/SearchResultsList.test.tsx
@@ -5,7 +5,7 @@ import { loader } from '../../components/Search/loader';
import SearchView from '../../components/Search/SearchView';
import { Strings } from '../../resources/Strings';
import getTestData from '../utils/fixtures';
-import { screen, within, renderWithRouter } from '../utils/test-utils';
+import { screen, renderWithRouter, fireEvent } from '../utils/test-utils';
async function renderComponent() {
renderWithRouter(, {
@@ -32,8 +32,12 @@ describe('SearchResultsList', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
+
+ const placeholder =
+ Strings.components.searchDefault.base.collapsed.base.inputPlaceholder;
+
// focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(placeholder)[0];
await user.click(searchInput);
await screen.findByText(/flesh wound/);
expect(document.body).toMatchSnapshot();
@@ -44,11 +48,20 @@ describe('SearchResultsList', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- // focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
- await user.click(searchInput);
- const fleshWound = await screen.findAllByText("it's just a flesh wound");
+ const autocomplete = screen.getAllByTestId('autocomplete')[0];
+
+ // open dropdown using keyboard arrow down
+ fireEvent.keyDown(autocomplete, {
+ key: 'ArrowDown',
+ code: 'ArrowDown',
+ charCode: 40,
+ });
+
+ // Wait for the dropdown to open and results to load
+ await screen.findAllByRole('textbox');
+
+ const fleshWound = await screen.findAllByText(/it's just a flesh wound/);
await user.click(fleshWound[0]);
expect(screen.getAllByTestId('checkbox-1')[0]).toHaveClass('Mui-checked');
@@ -60,23 +73,29 @@ describe('SearchResultsList', () => {
await renderComponent();
- // focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
- await user.click(searchInput);
+ const autocomplete = screen.getAllByTestId('autocomplete')[0];
- const fleshWound = await screen.findByRole('button', {
- name: /it's just a flesh wound/,
+ // open dropdown using keyboard arrow down
+ fireEvent.keyDown(autocomplete, {
+ key: 'ArrowDown',
+ code: 'ArrowDown',
+ charCode: 40,
});
- const fleshWoundCheckbox = within(fleshWound).getByRole('radio');
+
+ // Wait for the dropdown to open and results to load
+ await screen.findAllByRole('textbox');
+
+ const autocompleteOptions = await screen.findAllByTestId(
+ 'autocomplete-option',
+ );
+ const fleshWound = autocompleteOptions[0];
await user.click(fleshWound);
expect(fleshWound).toHaveClass('item-selected');
- expect(fleshWoundCheckbox).toBeChecked();
expect(fleshWound.querySelector('.Mui-checked')).toBeInTheDocument();
await user.click(fleshWound);
expect(fleshWound).not.toHaveClass('item-selected');
- expect(fleshWoundCheckbox).not.toBeChecked();
expect(fleshWound.querySelector('.Mui-checked')).toBeNull();
});
@@ -85,9 +104,15 @@ describe('SearchResultsList', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- // focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
- await user.click(searchInput);
+ const autocomplete = screen.getAllByTestId('autocomplete')[0];
+
+ // open dropdown using keyboard arrow down
+ fireEvent.keyDown(autocomplete, {
+ key: 'ArrowDown',
+ code: 'ArrowDown',
+ charCode: 40,
+ });
+
await user.click((await screen.findAllByTestId('checkbox-0'))[0]);
await user.click(screen.getAllByTestId('checkbox-1')[0]);
@@ -111,8 +136,12 @@ describe('SearchResultsList', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
+
+ const placeholder =
+ Strings.components.searchDefault.base.collapsed.base.inputPlaceholder;
+
// focus input to show results
- const searchInput = screen.getAllByRole('textbox')[1];
+ const searchInput = screen.getAllByPlaceholderText(placeholder)[1];
await user.click(searchInput);
const noArmsLeft = await screen.findByText(/no arms left/);
@@ -146,10 +175,17 @@ describe('SearchResultsList', () => {
await user.click(darkModeToggle);
expect(screen.getByLabelText('Light mode')).toBeInTheDocument();
- const searchInput = screen.getAllByRole('textbox')[0];
- await user.click(searchInput);
- const resultsList = screen.getByTestId('list-mode');
- expect(resultsList).toMatchSnapshot('after toggling dark mode');
+ const autocomplete = screen.getAllByTestId('autocomplete')[0];
+
+ // open dropdown using keyboard arrow down
+ fireEvent.keyDown(autocomplete, {
+ key: 'ArrowDown',
+ code: 'ArrowDown',
+ charCode: 40,
+ });
+
+ const resultsList = screen.getByRole('listbox');
+ expect(resultsList).toMatchSnapshot('after toggling dark mode 1');
expect(resultsList).toHaveClass('results-list-dark');
});
});
diff --git a/src/__tests__/Search/SearchView.test.tsx b/src/__tests__/Search/SearchView.test.tsx
index a65845280..f6b256b3d 100644
--- a/src/__tests__/Search/SearchView.test.tsx
+++ b/src/__tests__/Search/SearchView.test.tsx
@@ -18,6 +18,8 @@ import {
} from '../utils/test-utils';
const baseTitle = Strings.components.searchDefault.base.title;
+const searchRevisionPlaceholder =
+ Strings.components.searchDefault.base.collapsed.base.inputPlaceholder;
function setupTestData() {
const { testData } = getTestData();
@@ -191,7 +193,9 @@ describe('Base and OverTime Search', () => {
await renderComponent();
// Click inside the input box to show search results.
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
const comment = await screen.findAllByText("you've got no arms left!");
@@ -210,7 +214,9 @@ describe('Base and OverTime Search', () => {
// Click inside the input box to show search results.
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
const comment = await screen.findAllByText("you've got no arms left!");
@@ -227,7 +233,9 @@ describe('Base and OverTime Search', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
// We're running fake timers after each user action, because the input
// normally waits 500ms before doing requests. Because we want to test the
@@ -242,11 +250,10 @@ describe('Base and OverTime Search', () => {
await user.type(searchInput, 'sp');
act(() => void jest.runAllTimers());
- expect(
- await screen.findByText(
- 'The search input must be at least three characters.',
- ),
- ).toBeInTheDocument();
+ const messages = await screen.findAllByText(
+ 'The search input must be at least three characters.',
+ );
+ expect(messages[0]).toBeInTheDocument();
// fetch is called 6 times:
// - 3 times on initial load: one for each input, that is 2 in "compare with
@@ -265,7 +272,9 @@ describe('Base and OverTime Search', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
// Wait until the dropdown appears as the result of the focus.
@@ -278,11 +287,10 @@ describe('Base and OverTime Search', () => {
).not.toBeInTheDocument();
// But this appears after a while.
- expect(
- await screen.findByText(
- 'The search input must be at least three characters.',
- ),
- ).toBeInTheDocument();
+ const messages = await screen.findAllByText(
+ 'The search input must be at least three characters.',
+ );
+ expect(messages[0]).toBeInTheDocument();
await user.type(searchInput, 'hncleese');
await user.type(searchInput, '@python.co');
await user.type(searchInput, 'm');
@@ -317,7 +325,9 @@ describe('Base and OverTime Search', () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.type(searchInput, 'terrygilliam@python.com');
act(() => void jest.runAllTimers());
@@ -341,7 +351,9 @@ describe('Base and OverTime Search', () => {
await renderComponent();
// focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
await screen.findAllByText("you've got no arms left!");
@@ -416,7 +428,7 @@ describe('Base and OverTime Search', () => {
).toBeInTheDocument();
// focus first input to show results
- const inputs = screen.getAllByRole('textbox');
+ const inputs = screen.getAllByPlaceholderText(searchRevisionPlaceholder);
await user.click(inputs[0]);
// Select a base rev
diff --git a/src/__tests__/Search/SelectedRevision.test.tsx b/src/__tests__/Search/SelectedRevision.test.tsx
index 1e5665a2f..08e6f4813 100644
--- a/src/__tests__/Search/SelectedRevision.test.tsx
+++ b/src/__tests__/Search/SelectedRevision.test.tsx
@@ -7,6 +7,9 @@ import { Strings } from '../../resources/Strings';
import getTestData from '../utils/fixtures';
import { screen, within, renderWithRouter } from '../utils/test-utils';
+const searchRevisionPlaceholder =
+ Strings.components.searchDefault.base.collapsed.base.inputPlaceholder;
+
async function renderComponent() {
renderWithRouter(, {
loader,
@@ -31,12 +34,15 @@ describe('SelectedRevision', () => {
await renderComponent();
// focus input to show results
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
- const noArmsLeft = await screen.findByRole('button', {
- name: /you've got no arms left!/,
- });
+ const autocompleteOptions = await screen.findAllByTestId(
+ 'autocomplete-option',
+ );
+ const noArmsLeft = autocompleteOptions[0];
const noArmsLeftCheckbox = within(noArmsLeft).getByRole('radio');
await user.click(noArmsLeft);
@@ -69,11 +75,13 @@ describe('SelectedRevision', () => {
'Search by revision ID or author email',
)[0];
await user.click(firstSearchInput);
- await user.click(
- await screen.findByRole('button', {
- name: /you've got no arms left!/,
- }),
+
+ const autocompleteOptions = await screen.findAllByTestId(
+ 'autocomplete-option',
);
+ const noArmsLeft = autocompleteOptions[0];
+
+ await user.click(noArmsLeft);
const newDropdown = screen.getByRole('combobox', {
name: 'Revisions',
@@ -92,11 +100,15 @@ describe('SelectedRevision', () => {
it('should copy hash number when copyicon is clicked', async () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- const searchInput = screen.getAllByRole('textbox')[0];
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
- const noArmsLeft = await screen.findByRole('button', {
- name: /you've got no arms left!/,
- });
+
+ const autocompleteOptions = await screen.findAllByTestId(
+ 'autocomplete-option',
+ );
+ const noArmsLeft = autocompleteOptions[0];
await user.click(noArmsLeft);
const copyIcon = screen.getByTestId('copy-icon');
await user.click(copyIcon);
@@ -106,11 +118,16 @@ describe('SelectedRevision', () => {
it('should handle copy failure when clipboard API fails', async () => {
const user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime });
await renderComponent();
- const searchInput = screen.getAllByRole('textbox')[0];
+
+ const searchInput = screen.getAllByPlaceholderText(
+ searchRevisionPlaceholder,
+ )[0];
await user.click(searchInput);
- const noArmsLeft = await screen.findByRole('button', {
- name: /you've got no arms left!/,
- });
+
+ const autocompleteOptions = await screen.findAllByTestId(
+ 'autocomplete-option',
+ );
+ const noArmsLeft = autocompleteOptions[0];
await user.click(noArmsLeft);
const consoleErrorSpy = jest
.spyOn(console, 'error')
diff --git a/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap b/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap
index 72e12df5c..80391979c 100644
--- a/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap
+++ b/src/__tests__/Search/__snapshots__/CompareOverTime.test.tsx.snap
@@ -243,43 +243,21 @@ exports[`Compare Over Time renders correctly in Search View: Initial state for t
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -565,7 +607,7 @@ exports[`Compare Over Time renders correctly when there are no results: Initial
class="selectedRevision_fubtarc MuiBox-root css-0"
>
@@ -1137,43 +1179,21 @@ exports[`Compare Over Time should have an edit mode in Results View: After click
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1223,7 +1307,7 @@ exports[`Compare Over Time should have an edit mode in Results View: After click
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2269,7 +2395,7 @@ exports[`Compare Over Time should update base repo, revisions and time-range aft
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2911,7 +3079,7 @@ exports[`Compare Over Time should update base repo, revisions and time-range aft
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -218,7 +260,7 @@ exports[`Compare With Base renders correctly when there are no results: Initial
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -523,7 +607,7 @@ exports[`Compare With Base renders correctly when there are no results: Initial
class="selectedRevision_fubtarc MuiBox-root css-0"
>
@@ -911,43 +995,21 @@ exports[`Compare With Base should have an edit mode in Results View: After click
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1018,7 +1144,7 @@ exports[`Compare With Base should have an edit mode in Results View: After click
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1425,43 +1593,21 @@ exports[`Compare With Base should have an edit mode in Results View: After click
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1532,7 +1742,7 @@ exports[`Compare With Base should have an edit mode in Results View: After click
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -1837,7 +2089,7 @@ exports[`Compare With Base should have an edit mode in Results View: After click
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2210,7 +2504,7 @@ exports[`Compare With Base should have an edit mode in Results View: Initial sta
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2515,7 +2851,7 @@ exports[`Compare With Base should have an edit mode in Results View: Initial sta
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -2930,43 +3308,21 @@ exports[`Compare With Base should have an edit mode in Results View: after remov
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3037,7 +3457,7 @@ exports[`Compare With Base should have an edit mode in Results View: after remov
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -3446,7 +3908,7 @@ exports[`Compare With Base should have an edit mode in Results View: after remov
class="selectedRevision_fubtarc MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -4047,43 +4551,21 @@ exports[`Compare With Base should remove the checked revision once X button is c
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -4192,43 +4738,21 @@ exports[`Compare With Base should remove the checked revision once X button is c
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -4616,43 +5204,21 @@ exports[`Compare With Base should remove the checked revision once X button is c
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -4773,7 +5403,7 @@ exports[`Compare With Base should remove the checked revision once X button is c
exports[`Compare With Base updates the framework and url when a new one is selected: after awsy is selected 1`] = `
diff --git a/src/__tests__/Search/__snapshots__/SearchContainer.test.tsx.snap b/src/__tests__/Search/__snapshots__/SearchContainer.test.tsx.snap
index 8171d2676..8f644f47d 100644
--- a/src/__tests__/Search/__snapshots__/SearchContainer.test.tsx.snap
+++ b/src/__tests__/Search/__snapshots__/SearchContainer.test.tsx.snap
@@ -132,43 +132,21 @@ exports[`Search Containter should match snapshot 1`] = `
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -277,43 +319,21 @@ exports[`Search Containter should match snapshot 1`] = `
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -701,43 +785,21 @@ exports[`Search Containter should match snapshot 1`] = `
class="MuiBox-root css-0"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/__tests__/Search/__snapshots__/SearchResultsList.test.tsx.snap b/src/__tests__/Search/__snapshots__/SearchResultsList.test.tsx.snap
index 011ac0aca..fec1bddb9 100644
--- a/src/__tests__/Search/__snapshots__/SearchResultsList.test.tsx.snap
+++ b/src/__tests__/Search/__snapshots__/SearchResultsList.test.tsx.snap
@@ -1,800 +1,797 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
-exports[`SearchResultsList Should apply dark and light mode styles when theme button is toggled: after toggling dark mode 1`] = `
-