Browse Source

fix cypress error

ryoji-s 2 năm trước cách đây
mục cha
commit
8aafaeecd4

+ 0 - 8
apps/app/test/cypress/integration/20-basic-features/20-basic-features--click-page-icons.spec.ts

@@ -96,10 +96,6 @@ context('Click page icons button', () => {
     cy.get('#bookmark-dropdown-btn').click({force: true});
     cy.get('#bookmark-dropdown-btn').should('have.class', 'active');
 
-    // Close toaster
-    cy.get('.Toastify__toast').should('be.visible').click({force: true});
-    cy.get('.Toastify__toast-container').should('not.exist');
-
     // position of the element is not fixed to be displayed, so the element is removed
     cy.get('body').then($body => {
       if ($body.find('[data-testid="bookmark-button-tooltip"]').length > 0) {
@@ -129,10 +125,6 @@ context('Click page icons button', () => {
     cy.get('.grw-bookmark-folder-menu-item').first().click({force: true});
     cy.get('#bookmark-dropdown-btn').should('not.have.class', 'active');
 
-    // Close toaster
-    cy.get('.Toastify__toast').should('be.visible').click({force: true});
-    cy.get('.Toastify__toast-container').should('not.exist');
-
     // position of the element is not fixed to be displayed, so the element is removed
     cy.get('body').then($body => {
       if ($body.find('[data-testid="bookmark-button-tooltip"]').length > 0) {