This commit is contained in:
parent
7707acb43a
commit
bafbd92802
|
@ -41,7 +41,7 @@ describe('Client create path', () => {
|
|||
.write(selectors.createClientView.taxNumber, '74451390E')
|
||||
.write(selectors.createClientView.userName, 'CaptainMarvel')
|
||||
.write(selectors.createClientView.email, 'CarolDanvers@verdnatura.es')
|
||||
.autocompleteSearch(selectors.createClientView.salesPersonAutocomplete, 'Accessory')
|
||||
.autocompleteSearch(selectors.createClientView.salesPersonAutocomplete, 'replenisher')
|
||||
.waitToClick(selectors.createClientView.createButton)
|
||||
.waitForLastSnackbar();
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ describe('Client Edit basicData path', () => {
|
|||
.write(selectors.clientBasicData.mobileInput, '987654321')
|
||||
.clearInput(selectors.clientBasicData.emailInput)
|
||||
.write(selectors.clientBasicData.emailInput, 'Storm@verdnatura.es')
|
||||
.autocompleteSearch(selectors.clientBasicData.salesPersonAutocomplete, 'AccessoryNick')
|
||||
.autocompleteSearch(selectors.clientBasicData.salesPersonAutocomplete, 'replenisherNick')
|
||||
.autocompleteSearch(selectors.clientBasicData.channelAutocomplete, 'Metropolis newspaper')
|
||||
.waitToClick(selectors.clientBasicData.saveButton)
|
||||
.waitForLastSnackbar();
|
||||
|
@ -162,7 +162,7 @@ describe('Client Edit basicData path', () => {
|
|||
const result = await nightmare
|
||||
.waitToGetProperty(`${selectors.clientBasicData.salesPersonAutocomplete} input`, 'value');
|
||||
|
||||
expect(result).toEqual('accessoryNick');
|
||||
expect(result).toEqual('replenisherNick');
|
||||
});
|
||||
|
||||
it('should now confirm the channel have been selected', async() => {
|
||||
|
|
|
@ -88,7 +88,7 @@ describe('Ticket Create new tracking state path', () => {
|
|||
|
||||
it(`should create a new state with all it's data`, async() => {
|
||||
let result = await nightmare
|
||||
.autocompleteSearch(selectors.createStateView.workerAutocomplete, 'accessory')
|
||||
.autocompleteSearch(selectors.createStateView.workerAutocomplete, 'replenisher')
|
||||
.waitToClick(selectors.createStateView.saveStateButton)
|
||||
.waitForLastSnackbar();
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
"params": {
|
||||
"item-tags": "$ctrl.itemTags"
|
||||
},
|
||||
"acl": ["buyer", "accessory"]
|
||||
"acl": ["buyer", "replenisher"]
|
||||
}, {
|
||||
"url" : "/tax",
|
||||
"state": "item.card.tax",
|
||||
|
|
Loading…
Reference in New Issue