diff --git a/src/layouts/quote/service-package-question/service-package-question-test-helper.js b/src/layouts/quote/service-package-question/service-package-question-test-helper.js index 36f938a7e..a352b08d6 100644 --- a/src/layouts/quote/service-package-question/service-package-question-test-helper.js +++ b/src/layouts/quote/service-package-question/service-package-question-test-helper.js @@ -31,7 +31,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -40,7 +40,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -48,7 +48,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -58,7 +58,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -67,7 +67,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -75,7 +75,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -85,7 +85,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -94,7 +94,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -102,7 +102,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -112,7 +112,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -121,7 +121,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -129,7 +129,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -139,7 +139,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -148,7 +148,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -156,7 +156,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -166,7 +166,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -175,7 +175,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -183,7 +183,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -193,7 +193,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -202,7 +202,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -210,7 +210,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -220,7 +220,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -229,7 +229,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -237,7 +237,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -247,7 +247,7 @@ export const mockProcessedCmsContent = { HeaderText: "Economy service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "{if:custom:frontWipersApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{else}{if:custom:rearWiperApplicableForTierTwo}New wiper blades are not included with Economy service. Because chips can disrupt the glass surface, we recommend new wipers after a repair.{end}{end}", @@ -256,7 +256,7 @@ export const mockProcessedCmsContent = { HeaderText: "Standard service", SubheaderText: "MOST POPULAR", BodyText: - "", + "", Image: "", FooterText: "", }, @@ -264,7 +264,7 @@ export const mockProcessedCmsContent = { HeaderText: "Premium service", SubheaderText: "", BodyText: - "", + "", Image: "", FooterText: "", }, diff --git a/src/layouts/quote/service-package-question/service-package-question.spec.js b/src/layouts/quote/service-package-question/service-package-question.spec.js index a23d1ead6..e24b77f6a 100644 --- a/src/layouts/quote/service-package-question/service-package-question.spec.js +++ b/src/layouts/quote/service-package-question/service-package-question.spec.js @@ -476,6 +476,8 @@ describe("service-package-question.vue, matching business rules for package disp mockProps.availableLineItems.push(driverFrontWiperLineItem); mockProps.availableLineItems.push(passengerFrontWiperLineItem); mockProps.isRecalibrationOnOrder = true; + mockProps.shouldHideRecalibration = false; + mockProps.showRecalInServicePackages = true; Object.assign(processedCmsContent, mockProcessedCmsContent[packageNameKey]); const wrapper = setupMocks({ mountOptionsMockData: {