|
|
@@ -40,8 +40,13 @@ context('Access to page', () => {
|
|
|
});
|
|
|
|
|
|
it('/Sandbox with edit is successfully loaded', () => {
|
|
|
- cy.visit('/Sandbox#edit');
|
|
|
- cy.screenshot(`${ssPrefix}-sandbox-edit-page`);
|
|
|
+ cy.visit('/Sandbox');
|
|
|
+ cy.get('.grw-skelton', { timeout: 30000 }).should('not.exist');
|
|
|
+ cy.get('#grw-subnav-container', { timeout: 30000 }).should('be.visible').within(()=>{
|
|
|
+ cy.getByTestid('editor-button', { timeout: 30000 }).should('be.visible').click();
|
|
|
+ })
|
|
|
+ cy.getByTestid('navbar-editor', { timeout: 30000 }).should('be.visible');
|
|
|
+ cy.screenshot(`${ssPrefix}-Sandbox-edit-page`);
|
|
|
})
|
|
|
|
|
|
it('/user/admin is successfully loaded', () => {
|