From afaa46a6d6cd2dfaed88fd34d07482f37e4d85d2 Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Fri, 7 Feb 2020 14:12:37 +0100 Subject: [PATCH] fix e2e --- e2e/helpers/selectors.js | 2 +- e2e/paths/05-ticket-module/06_basic_data_steps.spec.js | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index 89a0fdbd8..63e5ddf2f 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -471,7 +471,7 @@ export default { nextStepButton: 'vn-step-control .buttons > section:last-child vn-button', finalizeButton: 'vn-step-control .buttons > section:last-child button[type=submit]', stepTwoTotalPriceDif: 'vn-ticket-basic-data-step-two vn-tfoot > vn-tr > :nth-child(6)', - chargesReason: 'div:nth-child(3) > vn-radio > div', + chargesReason: 'vn-ticket-basic-data-step-two div:nth-child(3) > vn-radio', }, ticketComponents: { base: 'vn-ticket-components [name="base-sum"]' diff --git a/e2e/paths/05-ticket-module/06_basic_data_steps.spec.js b/e2e/paths/05-ticket-module/06_basic_data_steps.spec.js index 0be758205..de78b9fa7 100644 --- a/e2e/paths/05-ticket-module/06_basic_data_steps.spec.js +++ b/e2e/paths/05-ticket-module/06_basic_data_steps.spec.js @@ -80,13 +80,6 @@ describe('Ticket Edit basic data path', () => { expect(result).toContain('-€248.00'); }); - // it(`should then click next to move on to step three`, async() => { - // await page.waitToClick(selectors.ticketBasicData.nextStepButton); - // let url = await page.expectURL('data/step-three'); - - // expect(url).toBe(true); - // }); - it(`should select a new reason for the changes made then click on finalize`, async() => { await page.waitToClick(selectors.ticketBasicData.chargesReason); await page.waitToClick(selectors.ticketBasicData.finalizeButton);