CASH-151
CASH-151 Fix test
This commit is contained in:
parent
8123cae1a2
commit
69c706d80d
2 changed files with 19 additions and 9 deletions
|
|
@ -2,8 +2,10 @@
|
||||||
<baseInputButton v-bind="$props" @buttonClicked="handleAnswerChange" v-model="selectedValue">
|
<baseInputButton v-bind="$props" @buttonClicked="handleAnswerChange" v-model="selectedValue">
|
||||||
<div
|
<div
|
||||||
class="package-label"
|
class="package-label"
|
||||||
:class="[this.buttonLabelSubCopy ? 'has-subheader' : '',
|
:class="[
|
||||||
this.isInsuranceSelected ? 'pricing-by-day-pkg-lbl-ins' : 'pricing-by-day-pkg-lbl']"
|
this.buttonLabelSubCopy ? 'has-subheader' : '',
|
||||||
|
this.isInsuranceSelected ? 'pricing-by-day-pkg-lbl-ins' : 'pricing-by-day-pkg-lbl',
|
||||||
|
]"
|
||||||
for="testradio">
|
for="testradio">
|
||||||
<div class="package-specs">
|
<div class="package-specs">
|
||||||
<div v-if="this.additionalButtonData.servicePackageDiscount" class="row">
|
<div v-if="this.additionalButtonData.servicePackageDiscount" class="row">
|
||||||
|
|
@ -18,8 +20,11 @@
|
||||||
</div>
|
</div>
|
||||||
<span class="col md-6 service-package-discount-pricing-by-day">
|
<span class="col md-6 service-package-discount-pricing-by-day">
|
||||||
<div>
|
<div>
|
||||||
<span v-if="!isInsuranceSelected" class="caption pricing-by-day">as low as</span>
|
<span v-if="!isInsuranceSelected" class="caption pricing-by-day">
|
||||||
<div class="strikethrough-discount-price"
|
as low as
|
||||||
|
</span>
|
||||||
|
<div
|
||||||
|
class="strikethrough-discount-price"
|
||||||
v-if="shouldDisplayStrikeThroughPrice"
|
v-if="shouldDisplayStrikeThroughPrice"
|
||||||
v-html="this.additionalButtonData.strikeThroughPrice"></div>
|
v-html="this.additionalButtonData.strikeThroughPrice"></div>
|
||||||
<div class="discount-price" v-html="getDisplayPrice"></div>
|
<div class="discount-price" v-html="getDisplayPrice"></div>
|
||||||
|
|
@ -30,7 +35,9 @@
|
||||||
<p class="m-0">
|
<p class="m-0">
|
||||||
<span v-html="this.buttonLabel"></span>
|
<span v-html="this.buttonLabel"></span>
|
||||||
<span class="pricing-info-pricing-by-day">
|
<span class="pricing-info-pricing-by-day">
|
||||||
<span v-if="!isInsuranceSelected" class="caption pricing-by-day">as low as</span>
|
<span v-if="!isInsuranceSelected" class="caption pricing-by-day">
|
||||||
|
as low as
|
||||||
|
</span>
|
||||||
<span
|
<span
|
||||||
class="strikethrough-price"
|
class="strikethrough-price"
|
||||||
v-if="shouldDisplayStrikeThroughPrice"
|
v-if="shouldDisplayStrikeThroughPrice"
|
||||||
|
|
@ -370,7 +377,7 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
div.strikethrough-discount-price {
|
div.strikethrough-discount-price {
|
||||||
display:inline;
|
display: inline;
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
@ -384,7 +391,7 @@ export default {
|
||||||
}
|
}
|
||||||
div.discount-price {
|
div.discount-price {
|
||||||
color: $green;
|
color: $green;
|
||||||
display:inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,9 @@ jest.mock("@/mixins/experiment-mixin.js", () => ({
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
hasSettingEqualTo(settingName, settingValue) {
|
||||||
|
return true;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue