From 2228678520b5bacdb45141b7622e8bd980db29eb Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 23 Mar 2022 21:40:44 -0700 Subject: [PATCH] Fix settings tests failing because of loading time --- src-ui/cypress/integration/settings.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-ui/cypress/integration/settings.spec.ts b/src-ui/cypress/integration/settings.spec.ts index 88272ad4b..bc25a5096 100644 --- a/src-ui/cypress/integration/settings.spec.ts +++ b/src-ui/cypress/integration/settings.spec.ts @@ -25,11 +25,12 @@ describe('settings', () => { } req.reply(response) - }) + }).as('savedViews') }) cy.viewport(1024, 1024) cy.visit('/settings') + cy.wait('@savedViews') }) it('should activate / deactivate save button when settings change and are saved', () => {