|
|
@@ -1,18 +0,0 @@
|
|
|
-context('Access to special pages by guest', () => {
|
|
|
- const ssPrefix = 'access-to-special-pages-by-guest-';
|
|
|
- it('/tags is successfully loaded', () => {
|
|
|
- cy.visit('/tags');
|
|
|
-
|
|
|
- // open sidebar
|
|
|
- cy.collapseSidebar(false);
|
|
|
- // select tags
|
|
|
- cy.getByTestid('grw-sidebar-nav-primary-tags').click();
|
|
|
- cy.getByTestid('grw-sidebar-content-tags').should('be.visible');
|
|
|
- cy.getByTestid('grw-tags-list').should('be.visible');
|
|
|
- cy.getByTestid('grw-tags-list').contains('You have no tag, You can set tags on pages');
|
|
|
-
|
|
|
- cy.getByTestid('tags-page').should('be.visible');
|
|
|
- cy.screenshot(`${ssPrefix}-tags`);
|
|
|
- });
|
|
|
-
|
|
|
-});
|