fix pbx e2e
This commit is contained in:
parent
0f5ebf42ec
commit
e895e90232
|
@ -1,11 +1,5 @@
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
// Validations
|
|
||||||
|
|
||||||
Self.validatesUniquenessOf('extension', {
|
Self.validatesUniquenessOf('extension', {
|
||||||
message: `The extension must be unique`
|
message: `The extension must be unique`
|
||||||
});
|
});
|
||||||
|
|
||||||
Self.validatesPresenceOf('secret', {
|
|
||||||
message: `The secret can't be blank`
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -590,7 +590,7 @@ export default {
|
||||||
confirmButton: 'vn-route-tickets > vn-confirm button[response="ACCEPT"]'
|
confirmButton: 'vn-route-tickets > vn-confirm button[response="ACCEPT"]'
|
||||||
},
|
},
|
||||||
workerPbx: {
|
workerPbx: {
|
||||||
extensionInput: 'vn-worker-pbx vn-input-number[model="$ctrl.worker.sip.extension"] input',
|
extensionInput: 'vn-worker-pbx vn-textfield[model="$ctrl.worker.sip.extension"] input',
|
||||||
saveButton: 'vn-worker-pbx vn-submit[label="Save"] input'
|
saveButton: 'vn-worker-pbx vn-submit[label="Save"] input'
|
||||||
},
|
},
|
||||||
workerTimeControl: {
|
workerTimeControl: {
|
||||||
|
|
Loading…
Reference in New Issue