Fix settings tests failing because of loading time

This commit is contained in:
Michael Shamoon 2022-03-23 21:40:44 -07:00
parent 9a042118f9
commit 2228678520

View File

@ -25,11 +25,12 @@ describe('settings', () => {
} }
req.reply(response) req.reply(response)
}) }).as('savedViews')
}) })
cy.viewport(1024, 1024) cy.viewport(1024, 1024)
cy.visit('/settings') cy.visit('/settings')
cy.wait('@savedViews')
}) })
it('should activate / deactivate save button when settings change and are saved', () => { it('should activate / deactivate save button when settings change and are saved', () => {