소스 검색

update 50-sidebar

jam411 3 년 전
부모
커밋
64cec56062
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/app/test/cypress/integration/50-sidebar/50-sidebar--access-to-side-bar.spec.ts

+ 2 - 0
packages/app/test/cypress/integration/50-sidebar/50-sidebar--access-to-side-bar.spec.ts

@@ -222,6 +222,7 @@ describe('Access to sidebar', () => {
 
         it('Succesfully click all tags button', () => {
           cy.get('.grw-container-convertible > div > .btn-primary').click({force: true});
+          cy.collapseSidebar(true);
           cy.getByTestid('grw-tags-list').should('be.visible');
 
           cy.screenshot(`${ssPrefix}tags-2-click-all-tags-button`);
@@ -251,6 +252,7 @@ describe('Access to sidebar', () => {
 
       describe('Test access to trash page', () => {
         it('Successfully access to trash page', () => {
+          cy.collapseSidebar(true);
           cy.get('.grw-sidebar-nav-secondary-container').within(() => {
             cy.get('a[href*="/trash"]').click();
           });