From d82af3bdb1fd7cbccd29ccdc0e71199b05202226 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 3 Dec 2025 14:21:29 -0500 Subject: [PATCH 1/6] question page layout updates --- .../questions-page-layout.spec.js | 54 ------------------ .../questions-page-layout.vue | 55 +++++++++---------- 2 files changed, 26 insertions(+), 83 deletions(-) diff --git a/src/iss-components/questions-page-layout/questions-page-layout.spec.js b/src/iss-components/questions-page-layout/questions-page-layout.spec.js index ebfb53ac..855ae439 100644 --- a/src/iss-components/questions-page-layout/questions-page-layout.spec.js +++ b/src/iss-components/questions-page-layout/questions-page-layout.spec.js @@ -19,60 +19,6 @@ jest.mock('@/helpers/cms-content-helper', () => ({ })); function setupMocks() { - // TODO: Use or delete these - const unused1 = () => ({ - partsOrQuestions: [ - { - parts: null, - partQuestions: [ - { - questionSequence: 1, - questionText: - 'Is your vehicle equipped with the Panoramic Sunroof which can be identified by having a glass panel over the rear seats?', - answers: [ - { - answerResult: '', - answerText: 'Yes', - nextQuestionSequence: 2 - }, - { - answerResult: '', - answerText: 'No', - nextQuestionSequence: 3 - } - ] - } - ], - glassLocation: 'Windshield', - glassName: 'Single', - answerKey: 'Windshield-Single', - answerData: null - } - ] - }); - const unused2 = () => ({ - partsQuestionAnswers: [ - { - glassLocation: 'Windshield', - glassName: 'Single', - result: 'FW04848', - answeredQuestions: [ - { - questionText: - 'Is your vehicle equipped with the Panoramic Sunroof which can be identified by having a glass panel over the rear seats?', - selectedAnswerText: 'Yes', - questionNum: 1 - }, - { - questionText: - 'Is your vehicle equipped with a heated windshield that melts snow and ice from underneath the windshield wiper blades?', - selectedAnswerText: 'Yes', - questionNum: 2 - } - ] - } - ] - }); const mountOptions = getMountOptions({ mixins: [baseMixin, vehicleQuestionsMixin] }); diff --git a/src/iss-components/questions-page-layout/questions-page-layout.vue b/src/iss-components/questions-page-layout/questions-page-layout.vue index 999c3385..6be20312 100644 --- a/src/iss-components/questions-page-layout/questions-page-layout.vue +++ b/src/iss-components/questions-page-layout/questions-page-layout.vue @@ -1,18 +1,13 @@