Merge pull request '4153-supplier.fiscal-data' (!1096) from 4153-supplier.fiscal-data into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1096 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
39b70ed75f
|
@ -31,7 +31,7 @@ describe('Supplier fiscal data path', () => {
|
||||||
await page.clearInput(selectors.supplierFiscalData.taxNumber);
|
await page.clearInput(selectors.supplierFiscalData.taxNumber);
|
||||||
await page.write(selectors.supplierFiscalData.taxNumber, 'Wrong tax number');
|
await page.write(selectors.supplierFiscalData.taxNumber, 'Wrong tax number');
|
||||||
await page.clearInput(selectors.supplierFiscalData.account);
|
await page.clearInput(selectors.supplierFiscalData.account);
|
||||||
await page.write(selectors.supplierFiscalData.account, 'edited account number');
|
await page.write(selectors.supplierFiscalData.account, '0123456789');
|
||||||
await page.autocompleteSearch(selectors.supplierFiscalData.sageWihholding, 'retencion estimacion objetiva');
|
await page.autocompleteSearch(selectors.supplierFiscalData.sageWihholding, 'retencion estimacion objetiva');
|
||||||
await page.autocompleteSearch(selectors.supplierFiscalData.sageTaxType, 'operaciones no sujetas');
|
await page.autocompleteSearch(selectors.supplierFiscalData.sageTaxType, 'operaciones no sujetas');
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ describe('Supplier fiscal data path', () => {
|
||||||
it('should check the account was edited', async() => {
|
it('should check the account was edited', async() => {
|
||||||
const result = await page.waitToGetProperty(selectors.supplierFiscalData.account, 'value');
|
const result = await page.waitToGetProperty(selectors.supplierFiscalData.account, 'value');
|
||||||
|
|
||||||
expect(result).toEqual('edited account number');
|
expect(result).toEqual('0123456789');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should check the sageWihholding was edited', async() => {
|
it('should check the sageWihholding was edited', async() => {
|
||||||
|
|
Loading…
Reference in New Issue