Просмотр исходного кода

Merge branch 'master' into support/gw7884-dependabot-alert-passport

Mudana-Grune 3 лет назад
Родитель
Сommit
35119fb246

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

@@ -76,6 +76,7 @@ context('Access to timeline', () => {
     cy.getByTestid('page-accessories-modal').parent().should('have.class','show').within(() => {
       cy.get('.nav-title > li').eq(1).find('a').click();
     });
+    cy.get('#wiki').should('be.visible'); // wait for rendering
     cy.screenshot(`${ssPrefix}1-timeline-list`, {capture: 'viewport'});
   });
 

+ 7 - 0
packages/app/test/cypress/integration/21-basic-features-for-guest/access-to-page.spec.ts

@@ -11,6 +11,9 @@ context('Access to page by guest', () => {
     cy.visit('/Sandbox#Headers');
     cy.collapseSidebar(true, true);
 
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(500);
+
     // hide fab
     cy.getByTestid('grw-fab-container').invoke('attr', 'style', 'display: none');
 
@@ -31,6 +34,10 @@ context('Access to page by guest', () => {
   it('/Sandbox with edit is successfully loaded', () => {
     cy.visit('/Sandbox#edit');
     cy.collapseSidebar(true, true);
+
+    // eslint-disable-next-line cypress/no-unnecessary-waiting
+    cy.wait(500);
+
     cy.screenshot(`${ssPrefix}-sandbox-edit-page`);
   })