|
|
@@ -77,7 +77,8 @@ 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
|
|
|
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
+ cy.wait(1500); // wait for loading wiki
|
|
|
cy.screenshot(`${ssPrefix}1-timeline-list`, {capture: 'viewport'});
|
|
|
});
|
|
|
|
|
|
@@ -89,6 +90,8 @@ context('Access to timeline', () => {
|
|
|
cy.get('button.close').eq(0).click();
|
|
|
});
|
|
|
cy.get('.modal').should('be.visible').scrollTo('top');
|
|
|
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
+ cy.wait(1500); // wait for loading wiki
|
|
|
cy.screenshot(`${ssPrefix}2-timeline-list-fullscreen`, {capture: 'viewport'});
|
|
|
cy.getByTestid('page-accessories-modal').parent().should('have.class','show').within(() => {
|
|
|
cy.get('button.close').eq(1).click();
|