HOTFIX: #6943 CustomerList form salesPersons options #790

Closed
jsegarra wants to merge 84 commits from hotfix_newCustomer_SalesPerson into master
2 changed files with 0 additions and 19 deletions
Showing only changes of commit 15be132fbb - Show all commits

View File

@ -16,7 +16,6 @@ import getUpdatedValues from './getUpdatedValues';
import getParamWhere from './getParamWhere';
import isDialogOpened from './isDialogOpened';
import parsePhone from './parsePhone';
import isDialogOpened from './isDialogOpened';
export {
getUpdatedValues,

View File

@ -276,18 +276,6 @@ Cypress.Commands.add('clickButtonsDescriptor', (id) => {
.click();
});
Cypress.Commands.add('clickButtonsDescriptor', (id) => {
cy.get(`.actions > .q-card__actions> .q-btn:nth-child(${id})`)
.invoke('removeAttr', 'target')
.click();
});
Cypress.Commands.add('clickButtonsDescriptor', (id) => {
cy.get(`.actions > .q-card__actions> .q-btn:nth-child(${id})`)
.invoke('removeAttr', 'target')
.click();
});
Cypress.Commands.add('openActions', (row) => {
cy.get('tbody > tr').eq(row).find('.actions > .q-btn').click();
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**
});
@ -302,12 +290,6 @@ Cypress.Commands.add('checkNotification', (text) => {
});
});
Cypress.Commands.add('_checkValueForm', (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}`);
});