e2e repairs
This commit is contained in:
parent
c794b5538a
commit
f7b2589b7a
|
@ -68,7 +68,7 @@ describe('Ticket List sale path', () => {
|
|||
.wait(selectors.ticketSales.firstSaleText)
|
||||
.getInnerText(selectors.ticketSales.firstSalePrice)
|
||||
.then(value => {
|
||||
expect(value).toContain('€9.10');
|
||||
expect(value).toContain('9.10');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -104,7 +104,7 @@ describe('Ticket List sale path', () => {
|
|||
.wait(selectors.ticketSales.secondSaleText)
|
||||
.getInnerText(selectors.ticketSales.secondSalePrice)
|
||||
.then(value => {
|
||||
expect(value).toContain('€1.07');
|
||||
expect(value).toContain('1.07');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ describe('Ticket', () => {
|
|||
return nightmare
|
||||
.getInnerText(selectors.ticketBasicData.stepTwoTotalPriceDif)
|
||||
.then(result => {
|
||||
expect(result).toContain('-€20.65');
|
||||
expect(result).toContain('-20.65');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ describe('Ticket Edit sale path', () => {
|
|||
.wait(selectors.ticketSales.firstSaleText)
|
||||
.getInnerText(selectors.ticketSales.firstSalePrice)
|
||||
.then(value => {
|
||||
expect(value).toEqual('€9.10');
|
||||
expect(value).toContain('9.10');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -78,7 +78,7 @@ describe('Ticket Edit sale path', () => {
|
|||
.wait(selectors.ticketSales.firstSaleText)
|
||||
.getInnerText(selectors.ticketSales.firstSaleImport)
|
||||
.then(value => {
|
||||
expect(value).toEqual('€45.50');
|
||||
expect(value).toContain('45.50');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -218,7 +218,7 @@ describe('Ticket Edit sale path', () => {
|
|||
return nightmare
|
||||
.getInnerText(selectors.ticketSales.firstSalePrice)
|
||||
.then(result => {
|
||||
expect(result).toContain('€5.00');
|
||||
expect(result).toContain('5.00');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -226,7 +226,7 @@ describe('Ticket Edit sale path', () => {
|
|||
return nightmare
|
||||
.getInnerText(selectors.ticketSales.firstSaleImport)
|
||||
.then(result => {
|
||||
expect(result).toContain('€20.00');
|
||||
expect(result).toContain('20.00');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -253,10 +253,10 @@ describe('Ticket Edit sale path', () => {
|
|||
|
||||
it('should confirm the total import for that item have been updated', () => {
|
||||
return nightmare
|
||||
.waitForTextInElement(selectors.ticketSales.firstSaleImport, '€10.00')
|
||||
.waitForTextInElement(selectors.ticketSales.firstSaleImport, '10.00')
|
||||
.getInnerText(selectors.ticketSales.firstSaleImport)
|
||||
.then(result => {
|
||||
expect(result).toContain('€10.00');
|
||||
expect(result).toContain('10.00');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -544,10 +544,10 @@ describe('Ticket Edit sale path', () => {
|
|||
.wait(selectors.ticketSales.moreMenuUpdateDiscountInput)
|
||||
.type(selectors.ticketSales.moreMenuUpdateDiscountInput, 100)
|
||||
.type('body', '\u000d') // simulates enter
|
||||
.waitForTextInElement(selectors.ticketSales.totalImport, '€0.00')
|
||||
.waitForTextInElement(selectors.ticketSales.totalImport, '0.00')
|
||||
.getInnerText(selectors.ticketSales.totalImport)
|
||||
.then(result => {
|
||||
expect(result).toEqual('€0.00');
|
||||
expect(result).toContain('0.00');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue