[CE] make JPG rendering test more robust GitOrigin-RevId: f0f6b0119ed59e7f3fa8af70d69915a4d9ccda3f
@@ -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', () => {