2564-item_priceFixed + e2e #513
|
@ -796,7 +796,7 @@ export default {
|
||||||
penultimateMondayOfJanuary: 'vn-worker-calendar vn-calendar:nth-child(2) section:nth-child(22) > div',
|
penultimateMondayOfJanuary: 'vn-worker-calendar vn-calendar:nth-child(2) section:nth-child(22) > div',
|
||||||
lastMondayOfMarch: 'vn-worker-calendar vn-calendar:nth-child(4) section:nth-child(29) > div',
|
lastMondayOfMarch: 'vn-worker-calendar vn-calendar:nth-child(4) section:nth-child(29) > div',
|
||||||
fistMondayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(8) > div',
|
fistMondayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(8) > div',
|
||||||
mayEighth: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(12) > div',
|
secondFridayOfJun: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(12) > div',
|
||||||
secondTuesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(16) > div',
|
secondTuesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(16) > div',
|
||||||
secondWednesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(17) > div',
|
secondWednesdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(17) > div',
|
||||||
secondThursdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(18) > div',
|
secondThursdayOfMay: 'vn-worker-calendar vn-calendar:nth-child(6) section:nth-child(18) > div',
|
||||||
|
|
|
@ -51,7 +51,7 @@ describe('Worker calendar path', () => {
|
||||||
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
||||||
await page.waitToClick(selectors.workerCalendar.halfFurlough);
|
await page.waitToClick(selectors.workerCalendar.halfFurlough);
|
||||||
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
||||||
await page.waitToClick(selectors.workerCalendar.mayEighth);
|
await page.waitToClick(selectors.workerCalendar.secondFridayOfJun);
|
||||||
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
||||||
|
|
||||||
const result = await page.waitToGetProperty(selectors.workerCalendar.totalHolidaysUsed, 'innerText');
|
const result = await page.waitToGetProperty(selectors.workerCalendar.totalHolidaysUsed, 'innerText');
|
||||||
|
@ -95,7 +95,7 @@ describe('Worker calendar path', () => {
|
||||||
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
||||||
await page.waitToClick(selectors.workerCalendar.halfFurlough);
|
await page.waitToClick(selectors.workerCalendar.halfFurlough);
|
||||||
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
await page.waitForTimeout(reasonableTimeBetweenClicks);
|
||||||
await page.waitToClick(selectors.workerCalendar.mayEighth);
|
await page.waitToClick(selectors.workerCalendar.secondFridayOfJun);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should check the total holidays used are back to what it was', async() => {
|
it('should check the total holidays used are back to what it was', async() => {
|
||||||
|
|
Loading…
Reference in New Issue