WIP: fix_js_e2e_test #1059
|
@ -1,7 +1,7 @@
|
||||||
describe('WorkerCreate', () => {
|
describe('WorkerCreate', () => {
|
||||||
const externalRadio = '.q-radio:nth-child(2)';
|
const externalRadio = '.q-radio:nth-child(2)';
|
||||||
const notification = '.q-notification__message';
|
const notification = '.q-notification__message';
|
||||||
const developerBossId = 120;
|
const teamBossId = 13;
|
||||||
const payMethodCross =
|
const payMethodCross =
|
||||||
'.grid-create .full-width > :nth-child(9) .q-select .q-field__append:not(.q-anchor--skip)';
|
'.grid-create .full-width > :nth-child(9) .q-select .q-field__append:not(.q-anchor--skip)';
|
||||||
const saveBtn = '.q-mt-lg > .q-btn--standard';
|
const saveBtn = '.q-mt-lg > .q-btn--standard';
|
||||||
|
@ -17,7 +17,7 @@ describe('WorkerCreate', () => {
|
||||||
Location: { val: 1, type: 'select' },
|
Location: { val: 1, type: 'select' },
|
||||||
Phone: { val: '123456789' },
|
Phone: { val: '123456789' },
|
||||||
'Worker code': { val: 'DWW' },
|
'Worker code': { val: 'DWW' },
|
||||||
Boss: { val: developerBossId, type: 'select' },
|
Boss: { val: teamBossId, type: 'select' },
|
||||||
Birth: { val: '11-12-2022', type: 'date' },
|
Birth: { val: '11-12-2022', type: 'date' },
|
||||||
};
|
};
|
||||||
const external = {
|
const external = {
|
||||||
|
@ -27,7 +27,7 @@ describe('WorkerCreate', () => {
|
||||||
'Last name': { val: 'GARCIA' },
|
'Last name': { val: 'GARCIA' },
|
||||||
'Personal email': { val: 'pepe@gmail.com' },
|
'Personal email': { val: 'pepe@gmail.com' },
|
||||||
'Worker code': { val: 'PG' },
|
'Worker code': { val: 'PG' },
|
||||||
Boss: { val: developerBossId, type: 'select' },
|
Boss: { val: teamBossId, type: 'select' },
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|
Loading…
Reference in New Issue