|
|
@@ -14,8 +14,8 @@ context('List View Settings', () => { |
|
|
|
cy.wait(300); |
|
|
|
cy.get('.list-count').should('contain', "20 of"); |
|
|
|
cy.get('.menu-btn-group button').click(); |
|
|
|
cy.get('.dropdown-menu li').filter(':visible').contains('Settings').click(); |
|
|
|
cy.get('.modal-dialog').should('contain', 'Settings'); |
|
|
|
cy.get('.dropdown-menu li').filter(':visible').contains('List Settings').click(); |
|
|
|
cy.get('.modal-dialog').should('contain', 'List Settings'); |
|
|
|
|
|
|
|
cy.get('input[data-fieldname="disable_count"]').check({ force: true }); |
|
|
|
cy.get('input[data-fieldname="disable_sidebar_stats"]').check({ force: true }); |
|
|
@@ -27,8 +27,8 @@ context('List View Settings', () => { |
|
|
|
cy.get('.list-sidebar .list-tags').should('not.exist'); |
|
|
|
|
|
|
|
cy.get('.menu-btn-group button').click({ force: true }); |
|
|
|
cy.get('.dropdown-menu li').filter(':visible').contains('Settings').click(); |
|
|
|
cy.get('.modal-dialog').should('contain', 'Settings'); |
|
|
|
cy.get('.dropdown-menu li').filter(':visible').contains('List Settings').click(); |
|
|
|
cy.get('.modal-dialog').should('contain', 'List Settings'); |
|
|
|
cy.get('input[data-fieldname="disable_count"]').uncheck({ force: true }); |
|
|
|
cy.get('input[data-fieldname="disable_sidebar_stats"]').uncheck({ force: true }); |
|
|
|
cy.get('button').filter(':visible').contains('Save').click(); |
|
|
|