e2e conflict solved
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
543342d710
commit
1b22a110d4
|
@ -48,6 +48,7 @@ describe('Ticket Create new tracking state path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should now access to the create state view by clicking the create floating button', async() => {
|
it('should now access to the create state view by clicking the create floating button', async() => {
|
||||||
|
await page.waitFor('.vn-popup', {hidden: true}),
|
||||||
await page.waitToClick(selectors.ticketTracking.createStateButton);
|
await page.waitToClick(selectors.ticketTracking.createStateButton);
|
||||||
await page.waitForState('ticket.card.tracking.edit');
|
await page.waitForState('ticket.card.tracking.edit');
|
||||||
});
|
});
|
||||||
|
|
|
@ -18,6 +18,7 @@ describe('Ticket purchase request path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should add a new request', async() => {
|
it('should add a new request', async() => {
|
||||||
|
await page.waitFor('.vn-popup', {hidden: true}),
|
||||||
await page.waitToClick(selectors.ticketRequests.addRequestButton);
|
await page.waitToClick(selectors.ticketRequests.addRequestButton);
|
||||||
await page.write(selectors.ticketRequests.descriptionInput, 'New stuff');
|
await page.write(selectors.ticketRequests.descriptionInput, 'New stuff');
|
||||||
await page.write(selectors.ticketRequests.quantity, '9');
|
await page.write(selectors.ticketRequests.quantity, '9');
|
||||||
|
|
|
@ -8,7 +8,7 @@ describe('Order lines', () => {
|
||||||
browser = await getBrowser();
|
browser = await getBrowser();
|
||||||
page = browser.page;
|
page = browser.page;
|
||||||
await page.loginAndModule('employee', 'order');
|
await page.loginAndModule('employee', 'order');
|
||||||
await page.accessToSearchResult('16');
|
await page.accessToSearchResult('8');
|
||||||
await page.accessToSection('order.card.line');
|
await page.accessToSection('order.card.line');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ describe('Order lines', () => {
|
||||||
const result = await page
|
const result = await page
|
||||||
.waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText');
|
.waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText');
|
||||||
|
|
||||||
expect(result).toContain('135.60');
|
expect(result).toContain('112.30');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the first line in the order', async() => {
|
it('should delete the first line in the order', async() => {
|
||||||
|
@ -32,11 +32,11 @@ describe('Order lines', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should confirm the order subtotal has changed', async() => {
|
it('should confirm the order subtotal has changed', async() => {
|
||||||
await page.waitForTextInElement(selectors.orderLine.orderSubtotal, '90.10');
|
await page.waitForTextInElement(selectors.orderLine.orderSubtotal, '92.80');
|
||||||
const result = await page
|
const result = await page
|
||||||
.waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText');
|
.waitToGetProperty(selectors.orderLine.orderSubtotal, 'innerText');
|
||||||
|
|
||||||
expect(result).toContain('90.10');
|
expect(result).toContain('92.80');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should confirm the whole order and redirect to ticket index filtered by clientFk', async() => {
|
it('should confirm the whole order and redirect to ticket index filtered by clientFk', async() => {
|
||||||
|
|
Loading…
Reference in New Issue