Merge pull request #5650 from overleaf/hb-remove-symbol-search-hint

Show disabled tabs instead of hint on symbol search

GitOrigin-RevId: bc67fd4928da38d895f6c811364e017cc3ec9061
This commit is contained in:
Hugh O'Brien
2021-11-10 09:02:35 +00:00
committed by Copybot
parent a5323293e0
commit d8dfcf7708
6 changed files with 13 additions and 18 deletions
@@ -69,8 +69,8 @@ describe('symbol palette', function () {
expect(symbols).to.have.length(2)
})
// check the search hint is displayed
screen.getByText('Showing search results for "pi"')
// check the tabs are disabled
expect(selectedTab.disabled).to.be.true
// press Tab to select the symbols
fireEvent.keyDown(container, { key: 'Tab' })