Shun Miyazawa 3 سال پیش
والد
کامیت
fa8fa221f4
1فایلهای تغییر یافته به همراه1 افزوده شده و 14 حذف شده
  1. 1 14
      packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

+ 1 - 14
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -120,24 +120,11 @@ context('Access to special pages', () => {
   });
 
   it('/tags is successfully loaded', { scrollBehavior: false } ,() => {
-
-    // open sidebar
-    cy.collapseSidebar(false);
-
     cy.visit('/tags');
-    // select tags
-    cy.getByTestid('grw-sidebar-nav-primary-tags').click();
-
-    const text = 'You have no tag, You can set tags on pages'
-
-    cy.getByTestid('grw-sidebar-content-tags').within(() => {
-      cy.getByTestid('grw-tags-list').should('be.visible');
-      cy.getByTestid('grw-tags-list').contains(text);
-    })
 
     cy.getByTestid('tags-page').within(() => {
       cy.getByTestid('grw-tags-list').should('be.visible');
-      cy.getByTestid('grw-tags-list').contains(text);
+      cy.getByTestid('grw-tags-list').contains('You have no tag, You can set tags on pages');
     });
 
     cy.screenshot(`${ssPrefix}-tags`);