This attempts to generate an intake so you can test specific pages. It might not work perfectly.
Showing all pages.
def self.show?(intake) intake.has_disqualifying_eligibility_answer? end
def self.show?(intake) intake.contact_preference == "text" end
def self.show?(intake) intake.contact_preference == "email" end
def self.show?(intake) intake.consented_to_terms_and_conditions_no? end
def self.show?(_intake) false end
def self.show?(_intake) false end
def self.show?(intake) intake.disqualifying_df_data_reason.present? end
def self.show?(intake) intake.filing_status_mfj? end
def self.show?(intake) intake.direct_file_data.third_party_designee_ind == "true" end
def self.show?(intake) fed_unemployment = intake.direct_file_data.fed_unemployment fed_unemployment.present? && fed_unemployment > 0 end
def self.show?(intake) fed_unemployment = intake.direct_file_data.fed_unemployment fed_unemployment.present? && fed_unemployment > 0 end
def self.show?(intake) intake.calculated_refund_or_owed_amount.negative? # what happens if zero? end
def self.show?(intake) intake.calculated_refund_or_owed_amount.positive? end