INSR-10489: A bunch of formatting fixes
This commit is contained in:
parent
5686afa931
commit
413391893f
3 changed files with 12 additions and 12 deletions
|
|
@ -330,7 +330,7 @@ describe('payment-method.vue', () => {
|
||||||
const wrapper = setupMocks({}, {}, null, mockCmsContent);
|
const wrapper = setupMocks({}, {}, null, mockCmsContent);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const stateSpecificTextBlock = wrapper.find('[class="state-specific-text"]');
|
const stateSpecificTextBlock = wrapper.find('.state-specific-text');
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(stateSpecificTextBlock.exists()).toBe(true);
|
expect(stateSpecificTextBlock.exists()).toBe(true);
|
||||||
|
|
@ -340,7 +340,7 @@ describe('payment-method.vue', () => {
|
||||||
const wrapper = setupMocks({}, {}, null, '');
|
const wrapper = setupMocks({}, {}, null, '');
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const stateSpecificTextBlock = wrapper.find('[class="state-specific-text"]');
|
const stateSpecificTextBlock = wrapper.find('.state-specific-text');
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(stateSpecificTextBlock.exists()).toBe(false);
|
expect(stateSpecificTextBlock.exists()).toBe(false);
|
||||||
|
|
|
||||||
|
|
@ -582,8 +582,8 @@ export default {
|
||||||
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
|
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
|
||||||
},
|
},
|
||||||
getStateSpecificText(value) {
|
getStateSpecificText(value) {
|
||||||
if(value.includes('not')) {
|
if (value.includes('not')) {
|
||||||
return !value?.toLowerCase().includes(this.mainStore.order.customer.address.state?.toLowerCase())
|
return !value?.toLowerCase().includes(this.mainStore.order.customer.address.state?.toLowerCase());
|
||||||
}
|
}
|
||||||
return this.mainStore.order.customer.address.state?.toLowerCase() === value?.toLowerCase();
|
return this.mainStore.order.customer.address.state?.toLowerCase() === value?.toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
modalBodyText() {
|
modalBodyText() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT)
|
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT);
|
||||||
},
|
},
|
||||||
modalCloseLinkText() {
|
modalCloseLinkText() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT_2);
|
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT_2);
|
||||||
|
|
@ -98,12 +98,12 @@ export default {
|
||||||
},
|
},
|
||||||
pushEvent() {
|
pushEvent() {
|
||||||
const gaLabel = this.schedulingElsewhere ? 'schedule_elsewhere_clicked' : 'continue_with_safelite_clicked';
|
const gaLabel = this.schedulingElsewhere ? 'schedule_elsewhere_clicked' : 'continue_with_safelite_clicked';
|
||||||
this.pushEventToGA(
|
this.pushEventToGA(
|
||||||
'safelite_benefit_modal',
|
'safelite_benefit_modal',
|
||||||
'modal_closed',
|
'modal_closed',
|
||||||
gaLabel,
|
gaLabel,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -128,7 +128,7 @@ export default {
|
||||||
background-color: $green;
|
background-color: $green;
|
||||||
color: $white;
|
color: $white;
|
||||||
border-color: $blue;
|
border-color: $blue;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $green;
|
background-color: $green;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue