refs #5066 e2e
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-04-18 15:25:06 +02:00
parent e13ecabddf
commit f13f02c829
1 changed files with 2 additions and 2 deletions

View File

@ -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() => {