CASH-1042 fix unit test; replace widget.

This commit is contained in:
Bryan Mauger 2025-07-29 15:33:49 -04:00
parent b7c098b900
commit 5f9a4017d0

View file

@ -7,10 +7,11 @@
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
<funnelSubHeader cmsWidgetName="FunnelSubHeaderWidget" />
<hr class="my-3" />
<reviewBlock
:content="AppointmentTimeAndDate"
@edit-clicked="editClicked"
class="d-flex" />
<textBlock
cmsWidgetName="AppointmentTimeOfService"
class="time-header" />
<textBlock
cmsWidgetName="AppointmentDateAndTime" />
<hr class="my-3" />
<div class="mobile-location-questions">
<div class="address-questions-container">
@ -53,7 +54,6 @@ import loadingModal from "@/fmg-components/loading-modal/loading-modal.vue";
import { Form } from "vee-validate";
import mobileAddressQuestions from "@/layouts/mobile-details/mobile-address-questions/mobile-address-questions";
import vehicleProtectedQuestion from "@/layouts/service-location/mobile-location-modal-questions/vehicle-protected-question/vehicle-protected-question";
import reviewBlock from "@/layouts/payment-method/review-dropdown/review-block/review-block";
import store from "@/store";
//Supporting files
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
@ -153,8 +153,11 @@ export default {
},
},
computed: {
AppointmentTimeAndDate() {
return this.getCmsContent("AppointmentTimeAndDate", "BodyText");
AppointmentDateAndTime() {
return this.getCmsContent("AppointmentDateAndTime", "Text");
},
AppointmentTimeOfService() {
return this.getCmsContent("AppointmentDateAndTime", "Text");
},
},
components: {
@ -166,7 +169,14 @@ export default {
funnelSubHeader,
Form,
loadingModal,
reviewBlock,
},
};
</script>
<style lang="scss" scoped>
.time-header {
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
font-weight: 600;
color: $black
}
</style>