diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index b12c470f5..e8435eadf 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -86,7 +86,7 @@ export default { invoiceByAddressCheckbox: 'vn-client-fiscal-data vn-check[label="Invoice by address"]', verifiedDataCheckbox: 'vn-client-fiscal-data vn-check[label="Verified data"]', hasToInvoiceCheckbox: 'vn-client-fiscal-data vn-check[label="Has to invoice"]', - invoiceByMailCheckbox: 'vn-client-fiscal-data vn-check[label="Invoice by mail"]', + notifyByMailCheckbox: 'vn-client-fiscal-data vn-check[label="Notify by email"]', viesCheckbox: 'vn-client-fiscal-data vn-check[label="Vies"]', saveButton: 'button[type=submit]', acceptDuplicationButton: '.vn-confirm.shown button[response=accept]', diff --git a/e2e/paths/02-client/03_edit_fiscal_data.spec.js b/e2e/paths/02-client/03_edit_fiscal_data.spec.js index 978627a60..66eeb8b56 100644 --- a/e2e/paths/02-client/03_edit_fiscal_data.spec.js +++ b/e2e/paths/02-client/03_edit_fiscal_data.spec.js @@ -72,7 +72,7 @@ describe('Client Edit fiscalData path', () => { await page.waitToClick(selectors.clientFiscalData.frozenCheckbox); await page.waitToClick(selectors.clientFiscalData.hasToInvoiceCheckbox); await page.waitToClick(selectors.clientFiscalData.viesCheckbox); - await page.waitToClick(selectors.clientFiscalData.invoiceByMailCheckbox); + await page.waitToClick(selectors.clientFiscalData.notifyByMailCheckbox); await page.waitToClick(selectors.clientFiscalData.invoiceByAddressCheckbox); await page.waitToClick(selectors.clientFiscalData.equalizationTaxCheckbox); await page.waitToClick(selectors.clientFiscalData.verifiedDataCheckbox); @@ -230,8 +230,8 @@ describe('Client Edit fiscalData path', () => { expect(result).toBe('checked'); }); - it('should confirm Invoice by mail checkbox is unchecked', async() => { - const result = await page.checkboxState(selectors.clientFiscalData.invoiceByMailCheckbox); + it('should confirm Notify by email checkbox is unchecked', async() => { + const result = await page.checkboxState(selectors.clientFiscalData.notifyByMailCheckbox); expect(result).toBe('unchecked'); }); diff --git a/modules/client/front/fiscal-data/index.html b/modules/client/front/fiscal-data/index.html index 0339090a2..3fb2563f9 100644 --- a/modules/client/front/fiscal-data/index.html +++ b/modules/client/front/fiscal-data/index.html @@ -119,7 +119,7 @@