From 6173b55d45308a96607833fe0c24a0d6c180c1ab Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Wed, 20 Mar 2019 13:44:06 +0100 Subject: [PATCH] #777 e2e item.log --- e2e/paths/item-module/11_item_log.spec.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/e2e/paths/item-module/11_item_log.spec.js b/e2e/paths/item-module/11_item_log.spec.js index c8d82f58a..825efb6ca 100644 --- a/e2e/paths/item-module/11_item_log.spec.js +++ b/e2e/paths/item-module/11_item_log.spec.js @@ -59,14 +59,17 @@ describe('Item log path', () => { expect(url.hash).toContain('/log'); }); - it(`should search for the created item and navigate to it's log section`, async() => { + it(`should confirm the log is showing the created item temporary name`, async() => { const fourthLineCreatedProperty = await nightmare .waitToGetProperty(selectors.itemLog.fourthLineCreatedProperty, 'innerText'); + expect(fourthLineCreatedProperty).toEqual('Knowledge artifact'); + }); + + it(`should confirm the log is showing the intrastat for the created item`, async() => { const fifthLineCreatedProperty = await nightmare .waitToGetProperty(selectors.itemLog.fifthLineCreatedProperty, 'innerText'); - expect(fourthLineCreatedProperty).toEqual('Knowledge artifact'); expect(fifthLineCreatedProperty).toEqual('5080000'); }); });