#9029 fix test and update fixtures
This commit is contained in:
parent
24837b231f
commit
bb6a889936
|
@ -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() => {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue