#968 ticket/servicios
This commit is contained in:
parent
a8f868cee4
commit
140e7b4f92
|
@ -1,7 +1,7 @@
|
||||||
import selectors from '../../helpers/selectors.js';
|
import selectors from '../../helpers/selectors.js';
|
||||||
import createNightmare from '../../helpers/nightmare';
|
import createNightmare from '../../helpers/nightmare';
|
||||||
|
|
||||||
xdescribe('Ticket services path', () => {
|
describe('Ticket services path', () => {
|
||||||
const nightmare = createNightmare();
|
const nightmare = createNightmare();
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
|
@ -72,9 +72,9 @@ xdescribe('Ticket services path', () => {
|
||||||
.waitToClick(selectors.ticketBasicData.basicDataButton)
|
.waitToClick(selectors.ticketBasicData.basicDataButton)
|
||||||
.wait(selectors.ticketBasicData.clientAutocomplete)
|
.wait(selectors.ticketBasicData.clientAutocomplete)
|
||||||
.click(selectors.ticketService.serviceButton)
|
.click(selectors.ticketService.serviceButton)
|
||||||
.waitForNumberOfElements(selectors.ticketService.serviceLine, 2)
|
.waitForNumberOfElements(selectors.ticketService.serviceLine, 0)
|
||||||
.countElement(selectors.ticketService.serviceLine);
|
.countElement(selectors.ticketService.serviceLine);
|
||||||
|
|
||||||
expect(result).toEqual(2);
|
expect(result).toEqual(0);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,6 +12,10 @@
|
||||||
"id": true,
|
"id": true,
|
||||||
"description": "Identifier"
|
"description": "Identifier"
|
||||||
},
|
},
|
||||||
|
"ticketFk": {
|
||||||
|
"type": "Number",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "String",
|
"type": "String",
|
||||||
"required": true
|
"required": true
|
||||||
|
|
|
@ -231,6 +231,7 @@
|
||||||
{"state": "ticket.card.observation", "icon": "insert_drive_file"},
|
{"state": "ticket.card.observation", "icon": "insert_drive_file"},
|
||||||
{"state": "ticket.card.volume", "icon": "icon-volume"},
|
{"state": "ticket.card.volume", "icon": "icon-volume"},
|
||||||
{"state": "ticket.card.expedition", "icon": "icon-package"},
|
{"state": "ticket.card.expedition", "icon": "icon-package"},
|
||||||
|
{"state": "ticket.card.service", "icon": "icon-services"},
|
||||||
{"state": "ticket.card.package.index", "icon": "icon-bucket"},
|
{"state": "ticket.card.package.index", "icon": "icon-bucket"},
|
||||||
{"state": "ticket.card.tracking.index", "icon": "remove_red_eye"},
|
{"state": "ticket.card.tracking.index", "icon": "remove_red_eye"},
|
||||||
{"state": "ticket.card.saleChecked", "icon": "assignment"},
|
{"state": "ticket.card.saleChecked", "icon": "assignment"},
|
||||||
|
|
Loading…
Reference in New Issue