diff --git a/e2e/paths/ticket-module/07_edit_sale.spec.js b/e2e/paths/ticket-module/07_edit_sale.spec.js index 562dcfb3d..7419056cc 100644 --- a/e2e/paths/ticket-module/07_edit_sale.spec.js +++ b/e2e/paths/ticket-module/07_edit_sale.spec.js @@ -214,7 +214,7 @@ describe('Ticket Edit sale path', () => { .wait(selectors.claimBasicData.claimStateAutocomplete) .parsedUrl(); - expect(url.hash).toEqual('#!/claim/4/basic-data'); + expect(url.hash).toEqual('#!/claim/6/basic-data'); }); it('should click on the Claims button of the top bar menu', async() => { diff --git a/services/db/install/dump/fixtures.sql b/services/db/install/dump/fixtures.sql index 7a0a2685c..e2a0e3cb4 100644 --- a/services/db/install/dump/fixtures.sql +++ b/services/db/install/dump/fixtures.sql @@ -943,16 +943,20 @@ INSERT INTO `vn`.`clientSample`(`id`, `clientFk`, `typeFk`, `created`, `workerFk INSERT INTO `vn`.`claim`(`id`, `ticketCreated`, `claimStateFk`, `observation`, `clientFk`, `workerFk`, `responsibility`, `isChargedToMana`, `created` ) VALUES - ( 1, CURDATE(), 1, 'observation one' , 101, 18, 1, 0, CURDATE()), - ( 2, CURDATE(), 2, 'observation two' , 101, 18, 2, 0, CURDATE()), - ( 3, DATE_ADD(CURDATE(), INTERVAL -5 DAY), 3, 'observation three' , 101, 18, 3, 0, CURDATE()); + ( 1, CURDATE(), 1, 'observation one', 101, 18, 1, 0, CURDATE()), + ( 2, CURDATE(), 2, 'observation two', 101, 18, 2, 0, CURDATE()), + ( 3, DATE_ADD(CURDATE(), INTERVAL -5 DAY), 3, 'observation three', 101, 18, 3, 0, CURDATE()), + ( 4, CURDATE(), 3, 'observation four', 101, 18, 1, 0, CURDATE()), + ( 5, DATE_ADD(CURDATE(), INTERVAL -5 DAY), 3, 'observation five', 101, 18, 3, 0, CURDATE()); INSERT INTO `vn`.`claimBeginning`(`id`, `claimFk`, `saleFk`, `quantity`) VALUES ( 1, 1, 7, 5), ( 2, 1, 8, 4), ( 3, 2, 10, 10), - ( 4, 3, 6, 5); + ( 4, 3, 6, 5), + ( 5, 4, 13, 5), + ( 6, 5, 13, 3); INSERT INTO `vn`.`claimDestination`(`id`, `description`, `addressFk`) VALUES @@ -964,10 +968,12 @@ INSERT INTO `vn`.`claimDestination`(`id`, `description`, `addressFk`) INSERT INTO `vn`.`claimDevelopment`(`id`, `claimFk`, `claimResponsibleFk`, `workerFk`, `claimReasonFk`, `claimResultFk`, `claimRedeliveryFk`, `claimDestinationFk`) VALUES - ( 1, 1, 1, 21, 1 , 1, 2, 5), - ( 2, 1, 1, 21, 7 , 2, 2, 5), - ( 3, 2, 7, 21, 9 , 3, 2, 5), - ( 4, 3, 7, 21, 15, 8, 2, 5); + ( 1, 1, 1, 21, 1 , 1, 2, 5), + ( 2, 1, 1, 21, 7 , 2, 2, 5), + ( 3, 2, 7, 21, 9 , 3, 2, 5), + ( 4, 3, 7, 21, 15, 8, 2, 5), + ( 5, 4, 7, 21, 7, 8, 2, 5), + ( 6, 5, 7, 21, 15, 8, 2, 5); INSERT INTO `hedera`.`tpvMerchant`(`id`, `description`, `companyFk`, `bankFk`, `secretKey`) VALUES