HOTFIX: #6943 CustomerList form salesPersons options #790
|
@ -254,13 +254,6 @@ Cypress.Commands.add('validateContent', (selector, expectedValue) => {
|
||||||
cy.get(selector).should('have.text', expectedValue);
|
cy.get(selector).should('have.text', expectedValue);
|
||||||
});
|
});
|
||||||
|
|
||||||
Cypress.Commands.add('openActionDescriptor', (opt) => {
|
|
||||||
cy.openActionsDescriptor();
|
|
||||||
const listItem = '[role="menu"] .q-list .q-item';
|
|
||||||
cy.contains(listItem, opt).click();
|
|
||||||
1;
|
|
||||||
});
|
|
||||||
|
|
||||||
Cypress.Commands.add('openActionsDescriptor', () => {
|
Cypress.Commands.add('openActionsDescriptor', () => {
|
||||||
jsegarra marked this conversation as resolved
Outdated
|
|||||||
cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click();
|
cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click();
|
||||||
});
|
});
|
||||||
|
@ -291,12 +284,6 @@ Cypress.Commands.add('checkValueForm', (id, search) => {
|
||||||
).should('have.value', search);
|
).should('have.value', search);
|
||||||
});
|
});
|
||||||
alexm
commented
Ya no se quieren? Ya no se quieren?
jsegarra
commented
No sé en que momento se añadieron comandos iguales 3 veces No sé en que momento se añadieron comandos iguales 3 veces
OpenActionDesciptor y clickButtonsDescriptor, **estan 3 veces**
|
|||||||
|
|
||||||
Cypress.Commands.add('checkValueSelectForm', (id, search) => {
|
|
||||||
cy.get(
|
|
||||||
`.grid-create > :nth-child(${id}) > .q-field > .q-field__inner > .q-field__control > .q-field__control-container>.q-field__native>.q-field__input`
|
|
||||||
).should('have.value', search);
|
|
||||||
});
|
|
||||||
|
|
||||||
Cypress.Commands.add('searchByLabel', (label, value) => {
|
Cypress.Commands.add('searchByLabel', (label, value) => {
|
||||||
cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`);
|
cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
No se usa?
Este no