@@ -456,7 +502,7 @@ exports[`MTVJudgeDisposition with denied disposition selected renders correctly
>
- Provide context and instructions on which issues should be denied
+ Provide context and instructions on which issues should be granted
@@ -470,14 +516,114 @@ exports[`MTVJudgeDisposition with denied disposition selected renders correctly
name="instructions"
/>
+
+
+
+
+
+
+
+
+ Select attorney
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -719,7 +911,7 @@ exports[`MTVJudgeDisposition with dismissed disposition selected renders correct
>
- Provide context and instructions on which issues should be dismissed
+ Provide context and instructions on which issues should be granted
@@ -733,14 +925,114 @@ exports[`MTVJudgeDisposition with dismissed disposition selected renders correct
name="instructions"
/>
+
+
+
+
+
+
+
+
+ Select attorney
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1478,7 +1729,7 @@ exports[`MTVJudgeDisposition with partially_granted disposition selected renders
>
- Provide context and instructions on which issues should be partially_granted
+ Provide context and instructions on which issues should be granted
diff --git a/scripts/enable_features_dev.rb b/scripts/enable_features_dev.rb
index 5a0a2ddf6c3..f6053eedb20 100644
--- a/scripts/enable_features_dev.rb
+++ b/scripts/enable_features_dev.rb
@@ -54,11 +54,12 @@ def call
# - they make significantly drastic changes in Dev/Demo compared to Production
# - the work around the feature has been paused
# - the flag is only being used to disable functionality
-disabled_flags = [
- "legacy_das_deprecation",
- "cavc_dashboard_workflow",
- "poa_auto_refresh",
- "interface_version_2"
+disabled_flags = %w[
+ legacy_das_deprecation
+ cavc_dashboard_workflow
+ poa_auto_refresh
+ interface_version_2
+ cc_vacatur_visibility
]
all_features = AllFeatureToggles.new.call.flatten.uniq
diff --git a/spec/feature/queue/motion_to_vacate_spec.rb b/spec/feature/queue/motion_to_vacate_spec.rb
index c07feb9b71d..1841031eaf7 100644
--- a/spec/feature/queue/motion_to_vacate_spec.rb
+++ b/spec/feature/queue/motion_to_vacate_spec.rb
@@ -435,6 +435,7 @@ def submit_and_fetch_task(judge)
expect(new_task.available_actions(motions_attorney)).to include(
Constants.TASK_ACTIONS.LIT_SUPPORT_PULAC_CERULLO.to_h
)
+
expect(new_task.instructions.join("")).to eq(instructions)
end
end
diff --git a/spec/support/queue_helpers.rb b/spec/support/queue_helpers.rb
index bfd61ed4c25..39d1cbabb0c 100644
--- a/spec/support/queue_helpers.rb
+++ b/spec/support/queue_helpers.rb
@@ -9,6 +9,10 @@ def disposition_text
mtv_const.DISPOSITION_TEXT.to_h
end
+ def disposition_timeline_text
+ mtv_const.DISPOSITION_TIMELINE_TEXT.to_h
+ end
+
def recommendation_text
mtv_const.DISPOSITION_RECOMMENDATIONS.to_h
end
@@ -32,14 +36,26 @@ def format_mtv_attorney_instructions(notes:, disposition:, hyperlinks: [])
end
def format_mtv_judge_instructions(notes:, disposition:, vacate_type: nil, hyperlink: nil)
- parts = ["I am proceeding with a #{disposition_text[disposition.to_sym]}."]
-
- parts += case disposition
- when "granted", "partial"
- ["This will be a #{vacate_types[vacate_type.to_sym]}", notes]
- else
- [notes, "\nHere is the hyperlink to the signed denial document", hyperlink]
- end
+ parts = ["**Motion To Vacate:** \n#{disposition_timeline_text[disposition.to_sym]}\n"]
+
+ case disposition
+ when "granted", "partially_granted"
+ parts += ["**Type:** "]
+ parts += ["#{vacate_types[vacate_type.to_sym]}\n"]
+ if !notes.empty?
+ parts += ["**Detail:** "]
+ parts += ["#{notes}\n"]
+ end
+ when "denied", "dismissed"
+ if !notes.empty?
+ parts += ["**Detail:** "]
+ parts += ["#{notes}\n"]
+ end
+ if hyperlink.present?
+ parts += ["**Hyperlink:** "]
+ parts += ["#{hyperlink}\n"]
+ end
+ end
parts.join("\n")
end