0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed App ui tests

refs https://github.com/TryGhost/Team/issues/1665

- search modal is not opened by default and only triggered on the url
This commit is contained in:
Rishabh 2022-07-06 12:32:36 +02:00
parent 6ccec26a3a
commit 12b58cb483

View file

@ -3,6 +3,7 @@ import App from './App';
import React from 'react';
test('renders Sodo Search app component', () => {
window.location.hash = '#/sodo-search';
render(<App />);
// const containerElement = screen.getElementsByClassName('gh-portal-popup-container');
const containerElement = document.querySelector('.gh-root-frame');