WIP change name to insurance-company.

This commit is contained in:
Bryan Mauger 2024-03-07 11:47:17 -05:00
parent ef6310880c
commit 245284d8a3
5 changed files with 10 additions and 10 deletions

View file

@ -25,7 +25,7 @@ module.exports = {
"!src/layouts/payment/*.vue", // Temp test exclusion while in development
"!src/layouts/payment-pia-return/*.vue", // Temp test exclusion while in development
"!src/layouts/insurance/*.vue", // Temp test exclusion while in development
"!src/layouts/insurance-lookup/*.vue", // Temp test exclusion while in development
"!src/layouts/insurance-company/*.vue", // Temp test exclusion while in development
// END
], // ! means exclude from coverage.
testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"],

View file

@ -72,7 +72,7 @@ defineRule("vin-required", required(errorMessages.VIN_REQUIRED));
defineRule("vin-format", regex(/^[a-hA-Hj-nJ-NpPr-zR-Z0-9]{17}$/, errorMessages.VIN_FORMAT));
export default {
name: "insurance-lookup",
name: "insurance-company",
mixins: [vinPagesMixin],
async beforeRouteEnter(to, from, next) {
// Call APIs
@ -80,7 +80,7 @@ export default {
const insuranceCompanyListPromise = baseMixin.methods.dispatchStoreActionWithLogging(
storeActions.GET_INSURANCE_COMPANY_LIST,
{},
"insurance-lookup"
"insurance-company"
);
// Settle promises and get results
@ -105,14 +105,14 @@ export default {
data() {
return {
insuranceCompanyList: [],
}
};
},
computed: {
insuranceCompanyListTags() {
return this.insuranceCompanyList.map(item => {
return this.insuranceCompanyList.map((item) => {
return item.accountName;
})
}
});
},
},
methods: {
arePagePrerequisitesValid() {

View file

@ -11,7 +11,7 @@ const fmgPageValues = {
ESTIMATE: "estimate",
ADDRESS_VEHICLES: "address-vehicles",
QUOTE: "quote",
INSURANCE_LOOKUP: "insurance-lookup",
INSURANCE_COMPANY: "insurance-company",
INSURANCE_DETAILS: "insurance-details",
SERVICE_LOCATION: "service-location",
HERITAGE: "heritage",

View file

@ -391,12 +391,12 @@ const routingTable = function (store) {
},
{
scenario: navigationScenarios.CLICKED_FORWARD_WITH_INSURANCE,
destinationFmgPageValue: fmgPageValues.INSURANCE_LOOKUP,
destinationFmgPageValue: fmgPageValues.INSURANCE_COMPANY,
},
],
},
{
fmgPageValue: fmgPageValues.INSURANCE_LOOKUP,
fmgPageValue: fmgPageValues.INSURANCE_COMPANY,
maps: [
{
scenario: navigationScenarios.CLICKED_BACK,