fix: ui tests
This commit is contained in:
parent
84399160dc
commit
1ef8cd9032
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ context('Form', () => {
|
|||
cy.visit('/app/contact/Test Form Contact 3');
|
||||
cy.get('.prev-doc').should('be.visible').click();
|
||||
cy.get('.msgprint-dialog .modal-body').contains('No further records').should('be.visible');
|
||||
cy.get('.btn-modal-close:visible').click();
|
||||
cy.hide_dialog();
|
||||
cy.get('.next-doc').click();
|
||||
cy.wait(200);
|
||||
cy.contains('Test Form Contact 2').should('not.exist');
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ context('List View Settings', () => {
|
|||
cy.get('.list-count').should('contain', "20 of");
|
||||
cy.get('.menu-btn-group button').click();
|
||||
cy.get('.dropdown-menu li').filter(':visible').contains('List Settings').click();
|
||||
cy.get('.modal-dialog').should('contain', 'List Settings');
|
||||
cy.get('.modal-dialog').should('contain', 'DocType Settings');
|
||||
|
||||
cy.get('input[data-fieldname="disable_count"]').check({ force: true });
|
||||
cy.get('input[data-fieldname="disable_sidebar_stats"]').check({ force: true });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue