fix pbx e2e

This commit is contained in:
Bernat 2019-06-05 13:51:15 +02:00
parent 0f5ebf42ec
commit e895e90232
2 changed files with 1 additions and 7 deletions

View File

@ -1,11 +1,5 @@
module.exports = Self => {
// Validations
Self.validatesUniquenessOf('extension', {
message: `The extension must be unique`
});
Self.validatesPresenceOf('secret', {
message: `The secret can't be blank`
});
};

View File

@ -590,7 +590,7 @@ export default {
confirmButton: 'vn-route-tickets > vn-confirm button[response="ACCEPT"]'
},
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'
},
workerTimeControl: {