|
@@ -26,6 +26,7 @@ context('Access to page', () => {
|
|
|
// https://stackoverflow.com/questions/5041494/selecting-and-manipulating-css-pseudo-elements-such-as-before-and-after-usin/21709814#21709814
|
|
// https://stackoverflow.com/questions/5041494/selecting-and-manipulating-css-pseudo-elements-such-as-before-and-after-usin/21709814#21709814
|
|
|
cy.get('#mdcont-headers').invoke('removeClass', 'blink');
|
|
cy.get('#mdcont-headers').invoke('removeClass', 'blink');
|
|
|
|
|
|
|
|
|
|
+ cy.get('.grw-skelton').should('not.exist');
|
|
|
cy.screenshot(`${ssPrefix}-sandbox-headers`);
|
|
cy.screenshot(`${ssPrefix}-sandbox-headers`);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -45,6 +46,14 @@ context('Access to page', () => {
|
|
|
|
|
|
|
|
it('/user/admin is successfully loaded', () => {
|
|
it('/user/admin is successfully loaded', () => {
|
|
|
cy.visit('/user/admin', { });
|
|
cy.visit('/user/admin', { });
|
|
|
|
|
+
|
|
|
|
|
+ cy.get('.grw-skelton').should('not.exist');
|
|
|
|
|
+ // for check download toc data
|
|
|
|
|
+ cy.get('.toc-link').should('be.visible');
|
|
|
|
|
+
|
|
|
|
|
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
|
|
+ cy.wait(2000); // wait for calcViewHeight and rendering
|
|
|
|
|
+
|
|
|
cy.screenshot(`${ssPrefix}-user-admin`);
|
|
cy.screenshot(`${ssPrefix}-user-admin`);
|
|
|
});
|
|
});
|
|
|
|
|
|