fix e2e
gitea/salix/2041-ticket_datos_basico This commit looks good
Details
gitea/salix/2041-ticket_datos_basico This commit looks good
Details
This commit is contained in:
parent
dd368a8c3f
commit
afaa46a6d6
|
@ -471,7 +471,7 @@ export default {
|
||||||
nextStepButton: 'vn-step-control .buttons > section:last-child vn-button',
|
nextStepButton: 'vn-step-control .buttons > section:last-child vn-button',
|
||||||
finalizeButton: 'vn-step-control .buttons > section:last-child button[type=submit]',
|
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)',
|
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: {
|
ticketComponents: {
|
||||||
base: 'vn-ticket-components [name="base-sum"]'
|
base: 'vn-ticket-components [name="base-sum"]'
|
||||||
|
|
|
@ -80,13 +80,6 @@ describe('Ticket Edit basic data path', () => {
|
||||||
expect(result).toContain('-€248.00');
|
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() => {
|
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.chargesReason);
|
||||||
await page.waitToClick(selectors.ticketBasicData.finalizeButton);
|
await page.waitToClick(selectors.ticketBasicData.finalizeButton);
|
||||||
|
|
Loading…
Reference in New Issue