Merge pull request #323 from Safelite/bugfix/CSR-436

CSR-436: reverse experimental code which did not fix issue
This commit is contained in:
AdamCaouetteSafelite 2022-04-06 10:37:47 -04:00 committed by GitHub
commit 3e72e1f273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ module.exports = {
testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"],
coverageThreshold: {
global: {
statements: 88,
statements: 87,
// Got the go ahead from Mark to temporarily lower this. Taking out initialize component made the year,make,model and style coverage drop a bit. Once unit tests for license plate lookup, vin lookup and address lookup are in the coverage should go back up to 90
},
},

View file

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

View file

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

View file

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

View file

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