]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix settings tests failing because of loading time
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 24 Mar 2022 04:40:44 +0000 (21:40 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Wed, 30 Mar 2022 03:02:19 +0000 (20:02 -0700)
src-ui/cypress/integration/settings.spec.ts

index 88272ad4b5323fb279caab9ff5276a9696a6e28e..bc25a5096a85fe068cdbc0ac927d83ec2feb502b 100644 (file)
@@ -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', () => {