HOTFIX: #6943 CustomerList form salesPersons options #790

Closed
jsegarra wants to merge 84 commits from hotfix_newCustomer_SalesPerson into master
1 changed files with 0 additions and 13 deletions
Showing only changes of commit c90087b531 - Show all commits

View File

@ -254,13 +254,6 @@ Cypress.Commands.add('validateContent', (selector, 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', () => {
jsegarra marked this conversation as resolved Outdated
Outdated
Review

No se usa?

No se usa?

Este no

Este no
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);
});
Outdated
Review

Ya no se quieren?

Ya no se quieren?

No sé en que momento se añadieron comandos iguales 3 veces
OpenActionDesciptor y clickButtonsDescriptor, estan 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) => {
cy.get(`[label="${label}"] > .q-field > .q-field__inner`).type(`${value}{enter}`);
});