diff --git a/e2e/paths/02-client/07_edit_web_access.spec.js b/e2e/paths/02-client/07_edit_web_access.spec.js index 95886f57c..10aff6101 100644 --- a/e2e/paths/02-client/07_edit_web_access.spec.js +++ b/e2e/paths/02-client/07_edit_web_access.spec.js @@ -39,4 +39,18 @@ describe('Client Edit web access path', () => { expect(result).toEqual('Hulk'); }); + + it(`should navigate to the log section`, async() => { + await page.accessToSection('client.card.log'); + }); + + it(`should confirm the log is showing the updated data for the client`, async() => { + let lastModificationPreviousValue = await page + .waitToGetProperty(selectors.clientLog.lastModificationPreviousValue, 'innerText'); + let lastModificationCurrentValue = await page + .waitToGetProperty(selectors.clientLog.lastModificationCurrentValue, 'innerText'); + + expect(lastModificationPreviousValue).toEqual('name: BruceBanner active: true'); + expect(lastModificationCurrentValue).toEqual('name: Hulk active: false'); + }); }); diff --git a/e2e/paths/04-item/11_item_log.spec.js b/e2e/paths/04-item/11_item_log.spec.js index 7ea679f4a..ebd5d4c70 100644 --- a/e2e/paths/04-item/11_item_log.spec.js +++ b/e2e/paths/04-item/11_item_log.spec.js @@ -46,7 +46,6 @@ describe('Item log path', () => { it(`should search for the created item and navigate to it's log section`, async() => { await page.accessToSearchResult('Knowledge artifact'); await page.accessToSection('item.card.log'); - await page.waitForState('item.card.log'); }); it(`should confirm the log is showing 5 entries`, async() => { diff --git a/modules/client/back/models/address.js b/modules/client/back/models/address.js index 384a2e686..3a1157add 100644 --- a/modules/client/back/models/address.js +++ b/modules/client/back/models/address.js @@ -16,7 +16,6 @@ module.exports = Self => { } else cannotHaveET = false; - if (cannotHaveET && this.isEqualizated) err(); done(); @@ -37,7 +36,6 @@ module.exports = Self => { done(); } - Self.beforeRemote('findById', function(ctx, modelInstance, next) { ctx.args.filter = { include: [{ diff --git a/modules/order/front/catalog-view/index.html b/modules/order/front/catalog-view/index.html index 739fdfe8e..459a61f59 100644 --- a/modules/order/front/catalog-view/index.html +++ b/modules/order/front/catalog-view/index.html @@ -37,7 +37,7 @@
{{::item.available}} - from + to {{::item.price | currency:'EUR':2}}