|
|
@@ -1,4 +1,4 @@
|
|
|
-context('Access to page by guest', () => {
|
|
|
+context.only('Access to page by guest', () => {
|
|
|
const ssPrefix = 'access-to-page-by-guest-';
|
|
|
|
|
|
it('/Sandbox is successfully loaded', () => {
|
|
|
@@ -7,10 +7,13 @@ context('Access to page by guest', () => {
|
|
|
cy.screenshot(`${ssPrefix}-sandbox`);
|
|
|
});
|
|
|
|
|
|
- it('/Sandbox with anchor hash is successfully loaded', () => {
|
|
|
+ it.only('/Sandbox with anchor hash is successfully loaded', () => {
|
|
|
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`);
|
|
|
})
|
|
|
|