From 0702186b8812e6d6b9291314ab47657aab1f8ad5 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Thu, 12 Sep 2019 13:20:07 +0200 Subject: [PATCH] fixed e2e --- e2e/paths/05-ticket-module/11_diary.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/paths/05-ticket-module/11_diary.spec.js b/e2e/paths/05-ticket-module/11_diary.spec.js index 7ff6bc08f..aeec780e7 100644 --- a/e2e/paths/05-ticket-module/11_diary.spec.js +++ b/e2e/paths/05-ticket-module/11_diary.spec.js @@ -42,18 +42,18 @@ describe('Ticket diary path', () => { expect(url.hash).toContain('/diary'); }); - it(`should check the second line id is marked as counter`, async() => { + it(`should check the second line id is marked as message`, async() => { const result = await nightmare .waitToGetProperty(selectors.itemDiary.secondTicketId, 'className'); - expect(result).toContain('counter'); + expect(result).toContain('message'); }); - it(`should check the third line balance is marked as counter`, async() => { + it(`should check the third line balance is marked as message`, async() => { const result = await nightmare .waitToGetProperty(`${selectors.itemDiary.fourthBalance} > span`, 'className'); - expect(result).toContain('counter'); + expect(result).toContain('message'); }); it(`should change to the warehouse two and check there are sales marked as negative balance`, async() => {