From d1fc9faff33baa32f1c00b8e4a8b6811fc9df11a Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Wed, 17 Jul 2024 13:11:29 -0400 Subject: [PATCH 1/4] Removing section --- .../tpa-confirmation/tpa-confirmation.vue | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/layouts/tpa-confirmation/tpa-confirmation.vue b/src/layouts/tpa-confirmation/tpa-confirmation.vue index b36a2282..095ad349 100644 --- a/src/layouts/tpa-confirmation/tpa-confirmation.vue +++ b/src/layouts/tpa-confirmation/tpa-confirmation.vue @@ -35,13 +35,7 @@ - + class="small mt-0" />
Date: Wed, 17 Jul 2024 13:18:49 -0400 Subject: [PATCH 2/4] Removing unused method --- src/layouts/tpa-confirmation/tpa-confirmation.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/layouts/tpa-confirmation/tpa-confirmation.vue b/src/layouts/tpa-confirmation/tpa-confirmation.vue index 095ad349..b0755302 100644 --- a/src/layouts/tpa-confirmation/tpa-confirmation.vue +++ b/src/layouts/tpa-confirmation/tpa-confirmation.vue @@ -218,9 +218,6 @@ export default { return null; } }, - setBailoutInfo() { - this.mainStore.setBailout(bailoutMessage.RequestCallback); - }, toDisplayPhoneNumber, formatAmountInDollars, processIfStatements From ccba1d7a7c865a97311c27afad2cede84573bdfe Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Wed, 17 Jul 2024 13:22:11 -0400 Subject: [PATCH 3/4] Removing unused styling --- src/layouts/tpa-confirmation/tpa-confirmation.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/layouts/tpa-confirmation/tpa-confirmation.vue b/src/layouts/tpa-confirmation/tpa-confirmation.vue index b0755302..1e817d6b 100644 --- a/src/layouts/tpa-confirmation/tpa-confirmation.vue +++ b/src/layouts/tpa-confirmation/tpa-confirmation.vue @@ -239,10 +239,4 @@ export default { } } } - -.contact-carrier-text { - :deep(a) { - font-weight: $font-weight-bold; - } -} From 9c7baa0bd94a955de3c06ea3123fb52b3ca989e9 Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Wed, 17 Jul 2024 13:38:40 -0400 Subject: [PATCH 4/4] Removing old tests --- .../tpa-confirmation/tpa-confirmation.spec.js | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/layouts/tpa-confirmation/tpa-confirmation.spec.js b/src/layouts/tpa-confirmation/tpa-confirmation.spec.js index 3ac32ed9..5cc2eb2a 100644 --- a/src/layouts/tpa-confirmation/tpa-confirmation.spec.js +++ b/src/layouts/tpa-confirmation/tpa-confirmation.spec.js @@ -122,16 +122,6 @@ describe('TPAConfirmation.vue', () => { // Assert expect(bodyTwo.exists()).toBe(true); }); - test('Should render Contact Carrier text', () => { - // Arrange - const { wrapper } = getMountedComponent({}); - - // Act - const contactCarrierText = wrapper.findComponent({ ref: 'contactCarrierText' }); - - // Assert - expect(contactCarrierText.exists()).toBe(true); - }); test('Should render Order Details title', () => { // Arrange const { wrapper } = getMountedComponent({}); @@ -313,19 +303,6 @@ describe('TPAConfirmation.vue', () => { }); }); }); - describe('setBailoutInfo', () => { - test('setBailout method is called when routerLink clicked', async () => { - // Arrange - const { wrapper } = getMountedComponent({}); - const contactCarrierText = wrapper.get('#contactCarrierText'); - - // Act - await contactCarrierText.trigger('click'); - - // Assert - expect(wrapper.vm.mainStore.setBailout).toHaveBeenCalledWith(bailoutMessage.RequestCallback); - }); - }); describe('Navigation', () => { test('If Advanced flow, forward button action navigates to carrier URL', () => { // Arrange