mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Improve bibliography import tests (#4217)
GitOrigin-RevId: 25ddff808a8b427e024d9d1375a24fc86305c38e
This commit is contained in:
parent
1760d93fc4
commit
03b11b2b6c
2 changed files with 4 additions and 2 deletions
5
services/web/test/frontend/bootstrap.js
vendored
5
services/web/test/frontend/bootstrap.js
vendored
|
@ -3,7 +3,10 @@ require('@babel/register')
|
|||
|
||||
// Load JSDOM to mock the DOM in Node
|
||||
// Set pretendToBeVisual to enable requestAnimationFrame
|
||||
require('jsdom-global')(undefined, { pretendToBeVisual: true })
|
||||
require('jsdom-global')(undefined, {
|
||||
pretendToBeVisual: true,
|
||||
url: 'https://www.test-overleaf.com/',
|
||||
})
|
||||
|
||||
const path = require('path')
|
||||
process.env.SHARELATEX_CONFIG = path.resolve(
|
||||
|
|
|
@ -67,7 +67,6 @@ describe('symbol palette', function () {
|
|||
// wait for the symbols to be filtered
|
||||
await waitFor(async () => {
|
||||
symbols = await screen.findAllByRole('option')
|
||||
console.log(symbols.length)
|
||||
expect(symbols).to.have.length(2)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue