Updated billing-data e2e. Remplaced core VNH by LCR
This commit is contained in:
parent
0f795102cb
commit
6c54b2d9e2
|
@ -9,7 +9,6 @@ Equivalent tax spreaded: Equivalent tax spreaded
|
|||
Invoice by address: Invoice by address
|
||||
Equalization tax: Equalization tax
|
||||
Due day: Due day
|
||||
Received core VNH: VNH core received
|
||||
Received core VNL: VNL core received
|
||||
Received B2B VNL: VNL B2B received
|
||||
Save: Save
|
|
@ -118,8 +118,8 @@
|
|||
</vn-label-value>
|
||||
<p>
|
||||
<vn-check
|
||||
label="Received core VNH"
|
||||
field="$ctrl.summary.hasCoreVnh"
|
||||
label="Received LCR"
|
||||
field="$ctrl.summary.hasLcr"
|
||||
disabled="true">
|
||||
</vn-check>
|
||||
</p>
|
||||
|
|
|
@ -76,7 +76,7 @@ export default {
|
|||
payMethodOptionOne: `vn-autocomplete[field="$ctrl.client.payMethodFk"] vn-drop-down ul > li:nth-child(2)`,
|
||||
IBANInput: `${components.vnTextfield}[name="iban"]`,
|
||||
dueDayInput: `${components.vnTextfield}[name="dueDay"]`,
|
||||
receivedCoreVNHCheckbox: `vn-check[label='Received core VNH'] > label > input`,
|
||||
receivedCoreLCRCheckbox: `vn-check[label='Received LCR'] > label > input`,
|
||||
receivedCoreVNLCheckbox: `vn-check[label='Received core VNL'] > label > input`,
|
||||
receivedB2BVNLCheckbox: `vn-check[label='Received B2B VNL'] > label > input`,
|
||||
saveButton: `${components.vnSubmit}`
|
||||
|
|
|
@ -52,7 +52,7 @@ describe('Client', () => {
|
|||
.waitToClick(selectors.clientPayMethod.payMethodIBANOption)
|
||||
.clearInput(selectors.clientPayMethod.dueDayInput)
|
||||
.type(selectors.clientPayMethod.dueDayInput, '60')
|
||||
.waitToClick(selectors.clientPayMethod.receivedCoreVNHCheckbox)
|
||||
.waitToClick(selectors.clientPayMethod.receivedCoreLCRCheckbox)
|
||||
.waitToClick(selectors.clientPayMethod.receivedCoreVNLCheckbox)
|
||||
.waitToClick(selectors.clientPayMethod.receivedB2BVNLCheckbox)
|
||||
.waitToClick(selectors.clientPayMethod.saveButton)
|
||||
|
@ -89,11 +89,11 @@ describe('Client', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should confirm Received core VNH checkbox is unchecked', () => {
|
||||
it('should confirm Received LCR checkbox is unchecked', () => {
|
||||
return nightmare
|
||||
.evaluate(selector => {
|
||||
return document.querySelector(selector).checked;
|
||||
}, selectors.clientPayMethod.receivedCoreVNHCheckbox)
|
||||
}, selectors.clientPayMethod.receivedCoreLCRCheckbox)
|
||||
.then(value => {
|
||||
expect(value).toBeFalsy();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue