Merge branch 'develop' into feature/CSR-92

This commit is contained in:
Max 2022-04-06 09:39:19 -04:00
commit 76935aac00
8 changed files with 8 additions and 8 deletions

View file

@ -44,7 +44,7 @@ const storeMutations = {
// OTHER MUTATIONS // OTHER MUTATIONS
UPDATE_PAGE_DATA: "updatePageData", UPDATE_PAGE_DATA: "updatePageData",
SET_LOAD_FUNNEL_SESSION_INFO: "updateStateWithOrderInformation" UPDATE_STATE_WITH_ORDER_INFORMATION: "updateStateWithOrderInformation"
}; };

View file

@ -1,6 +1,6 @@
<template> <template>
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">
<div v-if="isAvailable && this.answersToDisplay.length > 0" class="replace-options-question" :class="this.answersToDisplay.length < 2 ? 'd-none' : ''" aria-live="polite"> <div v-show="isAvailable && this.answersToDisplay.length > 0" class="replace-options-question" :class="this.answersToDisplay.length < 2 ? 'd-none' : ''" aria-live="polite">
<buttonQuestion <buttonQuestion
isWide isWide
:questionText="questionText" :questionText="questionText"

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="side-door-options"> <div class="side-door-options">
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">
<div class="side-doors" v-if="selectedDamageLocations.includes('SideDoor')" aria-live="polite"> <div class="side-doors" v-show="selectedDamageLocations.includes('SideDoor')" aria-live="polite">
<buttonQuestion <buttonQuestion
:questionText="questionText" :questionText="questionText"
isMultiSelect isMultiSelect

View file

@ -1,6 +1,6 @@
<template> <template>
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">
<div class="windshield-chip-count-question" v-if="isAvailable" aria-live="polite"> <div class="windshield-chip-count-question" v-show="isAvailable" aria-live="polite">
<buttonQuestion <buttonQuestion
:questionText="questionText" :questionText="questionText"
:answers="answersFromCms" :answers="answersFromCms"

View file

@ -1,6 +1,6 @@
<template> <template>
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">
<div class="windshield-damage-type-question" v-if="isAvailable" aria-live="polite"> <div class="windshield-damage-type-question" v-show="isAvailable" aria-live="polite">
<buttonQuestion <buttonQuestion
:questionText="questionText" :questionText="questionText"
:answers="answersFromCms" :answers="answersFromCms"

View file

@ -412,7 +412,7 @@ export const actions = {
referralCorrelationId: referralCorrelationId referralCorrelationId: referralCorrelationId
}, },
}).then((response) => { }).then((response) => {
context.commit(storeMutations.SET_LOAD_FUNNEL_SESSION_INFO, response.data); context.commit(storeMutations.UPDATE_STATE_WITH_ORDER_INFORMATION, response.data);
return response; return response;
}); });
} }

View file

@ -586,7 +586,7 @@ describe("Actions", () => {
// Assert // Assert
expect(response.data).toEqual({ referralNumber: 123 }); expect(response.data).toEqual({ referralNumber: 123 });
expect(commit).toBeCalledWith(storeMutations.SET_LOAD_FUNNEL_SESSION_INFO, {"referralNumber": 123}); expect(commit).toBeCalledWith(storeMutations.UPDATE_STATE_WITH_ORDER_INFORMATION, {"referralNumber": 123});
}); });
it("setReferralInformation, should call commit three times", () => { it("setReferralInformation, should call commit three times", () => {

View file

@ -188,7 +188,7 @@ export default {
input[type="radio"] { input[type="radio"] {
opacity: 0; opacity: 0;
width: 0; width: 0;
height: 0; height: 0.1px; // NOTE: cannot be zero or safari can't put focus on it
position: absolute; position: absolute;
+ label { + label {