From 9b7edb0830ae363cf0484dcbf7f8a57d54da6e63 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Thu, 5 Nov 2020 14:18:48 +0100 Subject: [PATCH] updated path for log records --- e2e/paths/13-supplier/02_basic_data.spec.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/e2e/paths/13-supplier/02_basic_data.spec.js b/e2e/paths/13-supplier/02_basic_data.spec.js index 1e283749d..dfb33b6b0 100644 --- a/e2e/paths/13-supplier/02_basic_data.spec.js +++ b/e2e/paths/13-supplier/02_basic_data.spec.js @@ -57,4 +57,14 @@ describe('Supplier basic data path', () => { expect(result).toEqual('Some notes'); }); + + it('should navigate to the log section', async() => { + await page.accessToSection('supplier.card.log'); + }); + + it('should check the changes have been recorded', async() => { + const result = await page.waitToGetProperty('#newInstance:nth-child(3)', 'innerText'); + + expect(result).toEqual('note: Some notes'); + }); });