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