Merge pull request #1191 from Safelite/feature/humphries/INSR-9260
INSR-9260: Fix missing sentence in drop off appointment time text
This commit is contained in:
commit
4f6fb62909
3 changed files with 7 additions and 2 deletions
|
|
@ -5,6 +5,11 @@ Object {
|
||||||
"CANCEL_CLAIM_REF_NAME": "CancelClaimModal",
|
"CANCEL_CLAIM_REF_NAME": "CancelClaimModal",
|
||||||
"OEM_ENDORSEMENT_REF_NAME": "OEMModal",
|
"OEM_ENDORSEMENT_REF_NAME": "OEMModal",
|
||||||
"RECAL_MODAL_REF_NAME": "RecalModal",
|
"RECAL_MODAL_REF_NAME": "RecalModal",
|
||||||
|
"abortController": AbortController {
|
||||||
|
Symbol(SameObject caches): Object {
|
||||||
|
"signal": AbortSignal {},
|
||||||
|
},
|
||||||
|
},
|
||||||
"baseServiceLineItems": Array [],
|
"baseServiceLineItems": Array [],
|
||||||
"isPageLoading": true,
|
"isPageLoading": true,
|
||||||
"widget": Object {
|
"widget": Object {
|
||||||
|
|
|
||||||
|
|
@ -441,7 +441,7 @@ describe('OrderConfirmation.vue', () => {
|
||||||
const testValue = wrapper.vm.appointmentTimeText;
|
const testValue = wrapper.vm.appointmentTimeText;
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(testValue).toEqual('Drop off before 9:30 AM');
|
expect(testValue).toEqual('Drop off by 9:30 AM. Pick-up time dependent on shop schedule');
|
||||||
});
|
});
|
||||||
test.each([
|
test.each([
|
||||||
['Your appointment is at 9:00 AM', '09:00', '10:00'],
|
['Your appointment is at 9:00 AM', '09:00', '10:00'],
|
||||||
|
|
|
||||||
|
|
@ -341,7 +341,7 @@ export default {
|
||||||
appointmentTimeText() {
|
appointmentTimeText() {
|
||||||
const { startTime, endTime } = this.schedule;
|
const { startTime, endTime } = this.schedule;
|
||||||
if (this.isDropOffAppointment) {
|
if (this.isDropOffAppointment) {
|
||||||
return 'Drop off before 9:30 AM';
|
return 'Drop off by 9:30 AM. Pick-up time dependent on shop schedule';
|
||||||
}
|
}
|
||||||
if (this.isInShopAppointment) {
|
if (this.isInShopAppointment) {
|
||||||
const formattedStartTime = get12HourTimeFormat(startTime);
|
const formattedStartTime = get12HourTimeFormat(startTime);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue