fix(minor): test + tabs
This commit is contained in:
parent
da9ac52ffb
commit
e66cd830fb
2 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ Cypress.Commands.add('save', () => {
|
|||
|
||||
Cypress.Commands.add('hide_dialog', () => {
|
||||
cy.wait(400);
|
||||
cy.get_open_dialog().find('.btn-modal-close').click({force: true});
|
||||
cy.get('.btn-modal-close:visible').click({force: true});
|
||||
cy.get('.modal:visible').should('not.exist');
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ export default class Tab {
|
|||
this.parent = parent;
|
||||
this.df = df || {};
|
||||
this.frm = frm;
|
||||
this.doctype = 'User';
|
||||
this.doctype = this.frm.doctype;
|
||||
this.label = this.df && this.df.label;
|
||||
this.tabs_list = tabs_list;
|
||||
this.tabs_content = tabs_content;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue