diff --git a/packages/graphiql-react/src/explorer/components/search.tsx b/packages/graphiql-react/src/explorer/components/search.tsx index f5145b1392d..6faed70f652 100644 --- a/packages/graphiql-react/src/explorer/components/search.tsx +++ b/packages/graphiql-react/src/explorer/components/search.tsx @@ -101,7 +101,6 @@ export function Search() { setSearchValue(event.target.value)} placeholder="⌘ K" diff --git a/packages/graphiql/cypress/e2e/docs.cy.ts b/packages/graphiql/cypress/e2e/docs.cy.ts index ba83e95de8c..6a6278b23cc 100644 --- a/packages/graphiql/cypress/e2e/docs.cy.ts +++ b/packages/graphiql/cypress/e2e/docs.cy.ts @@ -46,6 +46,8 @@ describe('GraphiQL DocExplorer - search', () => { }); it('Closes popover when blurring input', () => { + cy.dataCy('doc-explorer-input').focus(); + cy.dataCy('doc-explorer-input').type('list'); cy.dataCy('doc-explorer-input').blur(); cy.dataCy('doc-explorer-list').should('not.exist'); });