fix: refs #8621 test for date input selector
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
050c76a8ac
commit
6a0c58631c
|
@ -39,28 +39,24 @@ const columns = computed(() => [
|
||||||
width: '25px',
|
width: '25px',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'workerFk',
|
align: 'left',
|
||||||
label: t('gloabls.worker'),
|
|
||||||
component: markRaw(VnSelectWorker),
|
|
||||||
create: true,
|
|
||||||
format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef),
|
|
||||||
columnFilter: false,
|
|
||||||
width: '100px',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'workerFk',
|
name: 'workerFk',
|
||||||
label: t('globals.worker'),
|
label: t('globals.worker'),
|
||||||
visible: false,
|
component: markRaw(VnSelectWorker),
|
||||||
|
create: true,
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
|
format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef),
|
||||||
|
columnFilter: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'agencyName',
|
align: 'left',
|
||||||
|
name: 'agencyModeFk',
|
||||||
label: t('globals.agency'),
|
label: t('globals.agency'),
|
||||||
visible: false,
|
format: (row) => row?.agencyName,
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('globals.Agency'),
|
label: t('globals.agency'),
|
||||||
name: 'agencyModeFk',
|
name: 'agencyModeFk',
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
|
@ -78,17 +74,13 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'vehicleFk',
|
name: 'vehicleFk',
|
||||||
label: t('route.Vehicle'),
|
label: t('globals.vehicle'),
|
||||||
format: (row) => row?.vehiclePlateNumber,
|
format: (row) => row?.vehiclePlateNumber,
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'vehiclePlateNumber',
|
|
||||||
label: t('globals.vehicle'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'vehicleFk',
|
name: 'vehicleFk',
|
||||||
label: t('globals.Vehicle'),
|
label: t('globals.vehicle'),
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
|
|
|
@ -120,7 +120,7 @@ describe('Route extended list', () => {
|
||||||
it('Should clone selected route', () => {
|
it('Should clone selected route', () => {
|
||||||
cy.get(selectors.lastRowSelectCheckBox).click();
|
cy.get(selectors.lastRowSelectCheckBox).click();
|
||||||
cy.get(selectors.cloneBtn).click();
|
cy.get(selectors.cloneBtn).click();
|
||||||
cy.dataCy('route.Starting date_inputDate').type('10-05-2001');
|
cy.dataCy('Starting date_inputDate').type('10-05-2001');
|
||||||
cy.get('.q-card__actions > .q-btn--standard > .q-btn__content').click();
|
cy.get('.q-card__actions > .q-btn--standard > .q-btn__content').click();
|
||||||
cy.validateContent(selectors.date, '05/10/2001');
|
cy.validateContent(selectors.date, '05/10/2001');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue