|
|
@@ -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) {
|