diff --git a/src/views/dashboards/userDashboard/wash/MyWashStart.vue b/src/views/dashboards/userDashboard/wash/MyWashStart.vue index 1781fcc3..eca4829f 100644 --- a/src/views/dashboards/userDashboard/wash/MyWashStart.vue +++ b/src/views/dashboards/userDashboard/wash/MyWashStart.vue @@ -1774,7 +1774,12 @@ watch( (newLaneId) => { if (newLaneId && newLaneId !== "Any" && !isRestoring.value) { fetchSelfServeData().then(() => { - if (!allVisibleQuestionsAnswered.value && !washInProgress.value && currentStep.value > steps.QUESTIONS) { + if ( + !allVisibleQuestionsAnswered.value && + !washInProgress.value && + currentStep.value > steps.QUESTIONS && + currentStep.value < steps.COMPLETED + ) { currentStep.value = steps.QUESTIONS; } }); diff --git a/tests/unit/my-wash-start-production.spec.js b/tests/unit/my-wash-start-production.spec.js index 1f362f3b..c01c18c5 100644 --- a/tests/unit/my-wash-start-production.spec.js +++ b/tests/unit/my-wash-start-production.spec.js @@ -70,6 +70,7 @@ describe("MyWashStart.vue production recovery contracts", () => { expect(source).toContain("isCompletingWash.value ||"); expect(source).toContain("currentStep.value === steps.COMPLETED"); expect(source).toContain('