From aff6668dc9b44def077f20ecf2eaa4324d75a521 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 9 Aug 2023 13:33:06 +0200 Subject: [PATCH] remove names upper --- db/dump/fixtures.sql | 12 ++++++------ e2e/paths/05-ticket/16_summary.spec.js | 4 ++-- e2e/paths/06-claim/05_summary.spec.js | 4 ++-- e2e/paths/07-order/02_basic_data.spec.js | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index c278b4e3b..c3a5a73ec 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -103,7 +103,7 @@ INSERT INTO `hedera`.`tpvConfig`(`id`, `currency`, `terminal`, `transactionType` INSERT INTO `account`.`user`(`id`,`name`,`nickname`, `password`,`role`,`active`,`email`,`lang`, `image`) VALUES - (1101, 'BruceWayne', 'BRUCE WAYNE', '$2b$10$UzQHth.9UUQ1T5aiQJ21lOU0oVlbxoqH4PFM9V8T90KNSAcg0eEL2', 2, 1, 'BruceWayne@mydomain.com', 'es', 'e7723f0b24ff05b32ed09d95196f2f29'), + (1101, 'BruceWayne', 'Bruce Wayne', '$2b$10$UzQHth.9UUQ1T5aiQJ21lOU0oVlbxoqH4PFM9V8T90KNSAcg0eEL2', 2, 1, 'BruceWayne@mydomain.com', 'es', 'e7723f0b24ff05b32ed09d95196f2f29'), (1102, 'PetterParker', 'Petter Parker', '$2b$10$UzQHth.9UUQ1T5aiQJ21lOU0oVlbxoqH4PFM9V8T90KNSAcg0eEL2', 2, 1, 'PetterParker@mydomain.com', 'en', 'e7723f0b24ff05b32ed09d95196f2f29'), (1103, 'ClarkKent', 'Clark Kent', '$2b$10$UzQHth.9UUQ1T5aiQJ21lOU0oVlbxoqH4PFM9V8T90KNSAcg0eEL2', 2, 1, 'ClarkKent@mydomain.com', 'fr', 'e7723f0b24ff05b32ed09d95196f2f29'), (1104, 'TonyStark', 'Tony Stark', '$2b$10$UzQHth.9UUQ1T5aiQJ21lOU0oVlbxoqH4PFM9V8T90KNSAcg0eEL2', 2, 1, 'TonyStark@mydomain.com', 'es', 'e7723f0b24ff05b32ed09d95196f2f29'), @@ -190,11 +190,11 @@ UPDATE `vn`.`sector` SET mainPrinterFk = 1 WHERE id = 1; INSERT INTO `vn`.`worker`(`id`, `code`, `firstName`, `lastName`, `userFk`,`bossFk`, `phone`) VALUES - (1106, 'LGN', 'DAVID CHARLES', 'HALLER', 1106, 19, 432978106), - (1107, 'ANT', 'HANK' , 'PYM' , 1107, 19, 432978107), - (1108, 'DCX', 'CHARLES' , 'XAVIER', 1108, 19, 432978108), - (1109, 'HLK', 'BRUCE' , 'BANNER', 1109, 19, 432978109), - (1110, 'JJJ', 'JESSICA' , 'JONES' , 1110, 19, 432978110); + (1106, 'LGN', 'David Charles', 'Haller', 1106, 19, 432978106), + (1107, 'ANT', 'Hank' , 'Pym' , 1107, 19, 432978107), + (1108, 'DCX', 'Charles' , 'Xavier', 1108, 19, 432978108), + (1109, 'HLK', 'Bruce' , 'Banner', 1109, 19, 432978109), + (1110, 'JJJ', 'Jessica' , 'Jones' , 1110, 19, 432978110); INSERT INTO `vn`.`parking` (`id`, `column`, `row`, `sectorFk`, `code`, `pickingOrder`) VALUES diff --git a/e2e/paths/05-ticket/16_summary.spec.js b/e2e/paths/05-ticket/16_summary.spec.js index a6017e454..6904c6b6d 100644 --- a/e2e/paths/05-ticket/16_summary.spec.js +++ b/e2e/paths/05-ticket/16_summary.spec.js @@ -22,11 +22,11 @@ describe('Ticket Summary path', () => { }); it(`should display details from the ticket and it's client on the top of the header`, async() => { - await page.waitForTextInElement(selectors.ticketSummary.header, 'Bruce Banner'); + await page.waitForTextInElement(selectors.ticketSummary.header, 'BRUCE BANNER'); const result = await page.waitToGetProperty(selectors.ticketSummary.header, 'innerText'); expect(result).toContain(`Ticket #${ticketId}`); - expect(result).toContain('Bruce Banner (1109)'); + expect(result).toContain('BRUCE BANNER (1109)'); expect(result).toContain('Somewhere in Thailand'); }); diff --git a/e2e/paths/06-claim/05_summary.spec.js b/e2e/paths/06-claim/05_summary.spec.js index 1333ed01a..15a67ad1e 100644 --- a/e2e/paths/06-claim/05_summary.spec.js +++ b/e2e/paths/06-claim/05_summary.spec.js @@ -23,11 +23,11 @@ describe('Claim summary path', () => { }); it(`should display details from the claim and it's client on the top of the header`, async() => { - await page.waitForTextInElement(selectors.claimSummary.header, 'Tony Stark'); + await page.waitForTextInElement(selectors.claimSummary.header, 'TONY STARK'); const result = await page.waitToGetProperty(selectors.claimSummary.header, 'innerText'); expect(result).toContain('4 -'); - expect(result).toContain('Tony Stark'); + expect(result).toContain('TONY STARK'); }); it('should display the claim state', async() => { diff --git a/e2e/paths/07-order/02_basic_data.spec.js b/e2e/paths/07-order/02_basic_data.spec.js index b2c21b071..abdfa4dd4 100644 --- a/e2e/paths/07-order/02_basic_data.spec.js +++ b/e2e/paths/07-order/02_basic_data.spec.js @@ -53,7 +53,7 @@ describe('Order edit basic data path', () => { await page.accessToSection('order.card.basicData'); const values = { - client: 'Tony Stark', + client: 'TONY STARK', address: 'Tony Stark', agencyMode: 'Other agency' };