This attempts to generate an intake so you can test specific pages. It might not work perfectly.
Showing all pages.
def self.show?(_intake) true end
def self.show?(intake) false end
def self.show?(intake) false end
def self.show?(intake) false end
def self.show?(intake) false end
def self.show?(intake) true end
def self.show?(_) !Rails.env.production? end
def self.show?(intake, current_controller) intake.blank? || SourceParameter.source_skips_triage(current_controller.session[:source]) end
def self.show?(intake) !intake.itin_applicant? end
def self.show?(intake) intake.has_duplicate? end
def self.show?(intake) intake.phone_number.present? && intake.sms_notification_opt_in_yes? end
def self.show?(intake) intake.sms_phone_number.blank? && intake.sms_notification_opt_in_yes? end
def self.show?(intake) intake.sms_phone_number.present? && intake.sms_notification_opt_in_yes? && !intake.sms_phone_number_verified_at.present? end
def self.show?(intake) intake.email_address.blank? && intake.email_notification_opt_in_yes? end
def self.show?(intake) intake.email_address.present? && intake.email_notification_opt_in_yes? && !intake.email_address_verified_at.present? end
def self.show?(intake) intake.has_duplicate? end
def self.show?(intake) intake.client.routing_method_at_capacity? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.separated_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.divorced_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.widowed_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.ever_married_yes? end
def self.show?(intake) intake.filing_joint_yes? end
def self.show?(intake) intake.filing_joint_yes? end
def self.show?(intake) intake.filing_joint_yes? end
def self.show?(intake) intake.filing_joint_yes? end
def self.show?(intake) intake.had_dependents_yes? end
def self.show?(intake) intake.had_dependents_yes? end
def self.show?(intake) intake.had_dependents_yes? end
def self.show?(intake) intake.had_dependents_yes? end
def self.show?(intake) intake.job_count&.> 0 end
def self.show?(intake) intake.sold_assets_yes? end
def self.show?(intake) intake.sold_assets_yes? end
def self.show?(intake) intake.had_social_security_or_retirement_yes? || intake.had_social_security_or_retirement_unsure? end
def self.show?(intake) intake.had_social_security_or_retirement_yes? || intake.had_social_security_or_retirement_unsure? end
def self.show?(intake) intake.had_social_security_or_retirement_yes? || intake.had_social_security_or_retirement_unsure? end
def self.show?(intake) intake.had_other_income_yes? end
def self.show?(intake) intake.wants_to_itemize_yes? || intake.wants_to_itemize_unsure? end
def self.show?(intake) intake.wants_to_itemize_yes? || intake.wants_to_itemize_unsure? end
def self.show?(intake) intake.wants_to_itemize_yes? || intake.wants_to_itemize_unsure? end
def self.show?(intake) intake.wants_to_itemize_yes? || intake.wants_to_itemize_unsure? end
def self.show?(intake) intake.ever_owned_home_yes? end
def self.show?(intake) intake.ever_owned_home_yes? end
def self.show?(intake) intake.ever_owned_home_yes? end
def self.show?(intake) intake.include_bank_details? end
def self.show?(intake) !ReturningClientExperimentService.new(intake).skip_identity_documents? end
def self.show?(intake) intake.filing_jointly? && IdVerificationExperimentService.new(intake).show_expanded_id? end
def self.show?(intake) !(IdVerificationExperimentService.new(intake).skip_selfies? || ReturningClientExperimentService.new(intake).skip_identity_documents?) end
def self.show?(intake) intake.filing_jointly? && IdVerificationExperimentService.new(intake).show_expanded_id? end
def self.show?(intake) intake.document_types_definitely_needed.any? end
def self.show?(_intake) true end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? && intake.filing_joint_yes? end
def self.show?(intake) intake.demographic_questions_opt_in_yes? end
def self.show?(intake) if intake == nil return false end intake.demographic_questions_opt_in_yes? && intake.filing_joint_yes? end