Quellcode durchsuchen

wait for loading

Yuken Tezuka vor 3 Jahren
Ursprung
Commit
e3a5723342

+ 2 - 0
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -46,6 +46,8 @@ context('Access to page', () => {
 
 
   it('/user/admin is successfully loaded', () => {
   it('/user/admin is successfully loaded', () => {
     cy.visit('/user/admin', {  });
     cy.visit('/user/admin', {  });
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(500); // wait for loading
     cy.screenshot(`${ssPrefix}-user-admin`);
     cy.screenshot(`${ssPrefix}-user-admin`);
   });
   });