Skip to content

Removes custom error validation #5065

Removes custom error validation

Removes custom error validation #5065

Triggered via push June 14, 2024 15:49
Status Failure
Total duration 14m 10s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
test: spec/controllers/form_controller_spec.rb#L25
FormController sends email after submission Failure/Error: expect(notifier).to receive(:run) (Double (anonymous)).run(*(any args)) expected: 1 time with any arguments received: 0 times with any arguments
test: spec/support/shared_contexts/admin_application_feedback_pdf_download.rb#L34
Admin: Download an application's feedback PDF As an Admin I want to Print/download an application's feedback as a pdf So that I can print and review application's feedback Innovation Award should generate pdf Failure/Error: create :form_answer, award_type, :submitted, user: user ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin application feedback pdf download" called from ./spec/features/admin/form_answers/application_feedback_pdf_spec.rb:22
test: spec/support/shared_contexts/admin_application_case_summaries_pdf_download.rb#L41
Admin: Download an application's case summaries PDF As an Admin I want to Print/download an application's case summaries as a pdf So that I can print and review application's case summaries Innovation Award should generate pdf Failure/Error: create :form_answer, award_type, :recommended, user: user ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin application case summaries pdf download" called from ./spec/features/admin/form_answers/case_summary_pdf_spec.rb:22
test: spec/features/admin/form_answers/collaborators_spec.rb#L44
Collaborators As a an Admin I want to be able to add collaborators to any account So that they can collaborate applications Add new Collaborator Invalid Attempts Attempt to add person, which is already associated with another account which has application can't add Failure/Error: create :form_answer, :innovation, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."}
test: spec/features/admin/form_answers/collaborators_spec.rb#L65
Collaborators As a an Admin I want to be able to add collaborators to any account So that they can collaborate applications Add new Collaborator Success Add to Collaborators should add user to collaborators with regular role Failure/Error: create :form_answer, :innovation, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."}
test: spec/support/shared_contexts/admin_all_case_summaries_pdf_generation.rb#L45
Admin: Download all Case Summary as one pdf As an Admin I want to download all Case Summary PDFS as one pdf per category from Dashboard So that I can print and review application case summaries Innovation Award Download PDF should generate pdf Failure/Error: create :form_answer, award_type, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin all case summaries pdf generation" called from ./spec/features/admin/form_answers/download_all_case_summary_pdf_spec.rb:49
test: spec/support/shared_contexts/admin_all_case_summaries_pdf_generation.rb#L51
Admin: Download all Case Summary as one pdf As an Admin I want to download all Case Summary PDFS as one pdf per category from Dashboard So that I can print and review application case summaries Innovation Award Download PDF should create log entry Failure/Error: create :form_answer, award_type, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin all case summaries pdf generation" called from ./spec/features/admin/form_answers/download_all_case_summary_pdf_spec.rb:49
test: spec/support/shared_contexts/admin_all_feedbacks_pdf_generation.rb#L25
Admin: Download all Feedbacks as one pdf As an Admin I want to download all Feedbacks as one pdf per category from Dashboard So that I can print and review application feedbacks Innovation Award Download PDF should generate pdf Failure/Error: create :form_answer, award_type, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin all feedbacks pdf generation" called from ./spec/features/admin/form_answers/download_all_feedbacks_spec.rb:40
test: spec/support/shared_contexts/admin_all_feedbacks_pdf_generation.rb#L31
Admin: Download all Feedbacks as one pdf As an Admin I want to download all Feedbacks as one pdf per category from Dashboard So that I can print and review application feedbacks Innovation Award Download PDF should create log entry Failure/Error: create :form_answer, award_type, :submitted ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."} Shared Example Group: "admin all feedbacks pdf generation" called from ./spec/features/admin/form_answers/download_all_feedbacks_spec.rb:40
test: spec/features/palace_attendees_spec.rb#L52
Palace Attendees As a head of organization I want to be able to setup Buckingham Palace attendees details So that I provide a full list of attendees for Buckingham Palace reception Access Should be buckingham palace invites stage should reject applicant with access denied message Failure/Error: create :form_answer, :innovation, :awarded, user: user ActiveRecord::RecordInvalid: Validation failed: Answers invalid! Errors: {:most_recent_financial_year=>"Question D 1.1 is incomplete. It is required and an option must be chosen from the following list."}
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v2-beta. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/setup-node@v2-beta. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test: spec/features/users/form_answers/audit_certificate_request_spec.rb#L59
Verification of Commercial Figures As a User I want to be able to download an Verification of Commercial Figures So that I can check, complete it and then upload it to application Download Verification of Commercial Figures prefilled with my financial data should generate pdf file Skipped: Temporarily skipped with xit
test: spec/models/audit_log_spec.rb#L4
AuditLog add some examples to (or delete) /home/runner/work/qae/qae/spec/models/audit_log_spec.rb Skipped: Not yet implemented
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/