Merge pull request #19178 from overleaf/msm-frog-test-reliability

[CE] make JPG rendering test more robust

GitOrigin-RevId: f0f6b0119ed59e7f3fa8af70d69915a4d9ccda3f
This commit is contained in:
Miguel Serrano 2024-06-27 11:15:11 +02:00 committed by Copybot
parent 9075c82b88
commit b7b40e6057

View file

@ -180,6 +180,8 @@ describe('editor', () => {
beforeEach(() => {
login('user@example.com')
cy.visit(`/project/${projectId}`)
// wait until the main document is rendered
cy.findByText(/Loading/).should('not.exist')
})
it('renders jpg', () => {