fix e2e
gitea/salix/2041-ticket_datos_basico This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2020-02-07 14:12:37 +01:00
parent dd368a8c3f
commit afaa46a6d6
2 changed files with 1 additions and 8 deletions

View File

@ -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"]'

View File

@ -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);