diff --git a/.prettierrc b/.prettierrc index 192cad794..514fb6eac 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,6 @@ { "tabWidth": 4, + "htmlWhitespaceSensitivity": "ignore", "bracketSameLine": true, "printWidth": 100, "trailingComma" : "es5" diff --git a/jest.config.js b/jest.config.js index 04f474e53..8962dfa67 100644 --- a/jest.config.js +++ b/jest.config.js @@ -28,6 +28,7 @@ module.exports = { "!src/layouts/insurance/*.vue", // Temp test exclusion while in development "!src/layouts/insurance-company/*.vue", // Temp test exclusion while in development "!src/layouts/insurance-company/insurance-company-question/*.vue", // Temp test exclusion while in development + "!src/experiment-components/.vue", // END ], // ! means exclude from coverage. testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"], diff --git a/src/constants/experiments.js b/src/constants/experiments.js index d33d7d677..696707827 100644 --- a/src/constants/experiments.js +++ b/src/constants/experiments.js @@ -18,7 +18,7 @@ const experimentSettings = { INSURANCE_TAB_TO_DISPLAY_THRESHOLD_INTERNAL: "NextGen_InternalInsuranceTabDisplayThreshold", INSURANCE_TAB_TO_DISPLAY_THRESHOLD_EXTERNAL: "NextGen_ExternalInsuranceTabDisplayThreshold", DISPLAY_MSR: "DisplayMSR", - DISPLAY_PRICING_BY_DAY: "DisplayPricingByDay", + PRICING_BY_DAY: "DisplayPricingByDay", }; const experimentTriggers = { diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index f9c1b6279..53f71eb9b 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -55,6 +55,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com :additionalButtonData="answer.additionalButtonData" :lastValuePushedToGa="lastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa" + :isInsuranceSelected="isInsuranceSelected" :suppressError="suppressError" @buttonEvent="handleButtonEvent" v-model="selectedValues" /> @@ -139,6 +140,7 @@ export default { type: Boolean, default: false, }, + isInsuranceSelected: Boolean, }, setup(props) { const propsClone = Object.assign({}, props); diff --git a/src/digital-components/date-picker/date-picker-2.vue b/src/digital-components/date-picker/date-picker-2.vue index 50ea6f0fb..8becf6266 100644 --- a/src/digital-components/date-picker/date-picker-2.vue +++ b/src/digital-components/date-picker/date-picker-2.vue @@ -17,18 +17,40 @@
{{ errorMessage }} + :class="[centerErrorMessage ? 'center-error-message' : '']"> + {{ errorMessage }} +
+ +
+ ++ + + + as low as + + + + +
+ +