From f1a37ba6db1e4ebd4f8f16a7f86ded293c5446f3 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Thu, 21 May 2020 15:12:11 +0200 Subject: [PATCH] fixed the intermitence of subtotal in the e2e path --- e2e/paths/07-order/03_lines.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/paths/07-order/03_lines.spec.js b/e2e/paths/07-order/03_lines.spec.js index 6f87b45f0..c054bbaa3 100644 --- a/e2e/paths/07-order/03_lines.spec.js +++ b/e2e/paths/07-order/03_lines.spec.js @@ -32,6 +32,7 @@ describe('Order lines', () => { }); it('should confirm the order subtotal has changed', async() => { + await page.waitForTextInElement(selectors.orderLine.orderSubtotal, '90.10'); const result = await page .waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText');