This commit is contained in:
parent
e13ecabddf
commit
f13f02c829
|
@ -22,7 +22,7 @@ describe('Route basic Data path', () => {
|
||||||
nextMonth.setMonth(nextMonth.getMonth() + 1);
|
nextMonth.setMonth(nextMonth.getMonth() + 1);
|
||||||
|
|
||||||
await page.autocompleteSearch(selectors.routeBasicData.worker, 'adminBossNick');
|
await page.autocompleteSearch(selectors.routeBasicData.worker, 'adminBossNick');
|
||||||
await page.autocompleteSearch(selectors.routeBasicData.vehicle, '1111-IMK');
|
await page.autocompleteSearch(selectors.routeBasicData.vehicle, '1111-IMK - Warehouse One');
|
||||||
await page.pickDate(selectors.routeBasicData.createdDate, nextMonth);
|
await page.pickDate(selectors.routeBasicData.createdDate, nextMonth);
|
||||||
await page.clearInput(selectors.routeBasicData.kmStart);
|
await page.clearInput(selectors.routeBasicData.kmStart);
|
||||||
await page.write(selectors.routeBasicData.kmStart, '1');
|
await page.write(selectors.routeBasicData.kmStart, '1');
|
||||||
|
@ -46,7 +46,7 @@ describe('Route basic Data path', () => {
|
||||||
it('should confirm the vehicle was edited', async() => {
|
it('should confirm the vehicle was edited', async() => {
|
||||||
const vehicle = await page.waitToGetProperty(selectors.routeBasicData.vehicle, 'value');
|
const vehicle = await page.waitToGetProperty(selectors.routeBasicData.vehicle, 'value');
|
||||||
|
|
||||||
expect(vehicle).toEqual('1111-IMK');
|
expect(vehicle).toEqual('1111-IMK - Warehouse One');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should confirm the km start was edited', async() => {
|
it('should confirm the km start was edited', async() => {
|
||||||
|
|
Loading…
Reference in New Issue