Merge branch 'API-33483-poa-v2-signatures' into API-33481-poa-v2-ind-… #58610
2 fail, 50 skipped, 19 088 pass in 38m 2s
Annotations
Check warning on line 0 in ./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb
github-actions / Test Results
ClaimsApi::V2::PoaFormBuilderJob generating and uploading the signed pdf 2122a non-veteran claimant generates e-signatures correctly for a non-veteran claimant (modules.claims_api.spec.sidekiq.v2.poa_form_builder_job_spec) failed
Test Results/rspec9.xml [took 0s]
Raw output
#<ClaimsApi::V2::PoaPdfConstructor::Individual:0x00007f89782edbb0 @page1_path=nil, @page2_path=nil, @page3_path=nil, @page4_path=nil> received :construct with unexpected arguments expected: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG ABUSE", "SICKLE CELL"], "veteran" => { "serviceBranch" => "ARMY", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "Mitchell", "lastName" => "Jenkins" }, "representative" => { "poaCode" => "ABC", "type" => "SERVICE ORGANIZATION REPRESENTATIVE", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "2b9b6501-1b23-4f76-bc9e-dfdaa7fbdbbc" }) (options hash) got: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG ABUSE", "SICKLE CELL"], "veteran" => { "serviceBranch" => "ARMY", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "Mitchell", "lastName" => "Jenkins" }, "representative" => { "poaCode" => "ABC", "type" => "SERVICE ORGANIZATION REPRESENTATIVE", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "serviceOrganization" => { "firstName" => "Bob", "lastName" => "Representative" }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "2b9b6501-1b23-4f76-bc9e-dfdaa7fbdbbc" }) (keyword arguments) Diff: @@ -26,6 +26,7 @@ "organizationName"=>"I Help Vets LLC", "poaCode"=>"ABC", "type"=>"SERVICE ORGANIZATION REPRESENTATIVE"}, + "serviceOrganization"=>{"firstName"=>"Bob", "lastName"=>"Representative"}, "text_signatures"=> {"page2"=> [{"signature"=>"JESSE GRAY - signed via api.va.gov", "x"=>35, "y"=>306},
\e[1mFailure/Error: \e[0msubject.new.perform(power_of_attorney.id, '2122A', rep.id)
#<ClaimsApi::V2::PoaPdfConstructor::Individual:0x00007f89782edbb0 @page1_path=nil, @page2_path=nil, @page3_path=nil, @page4_path=nil> received :construct with unexpected arguments
expected: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG ABUSE", "SICKLE CELL"], "veteran" => { "serviceBranch" => "ARMY", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "Mitchell", "lastName" => "Jenkins" }, "representative" => { "poaCode" => "ABC", "type" => "SERVICE ORGANIZATION REPRESENTATIVE", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "2b9b6501-1b23-4f76-bc9e-dfdaa7fbdbbc" }) (options hash)
got: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG ABUSE", "SICKLE CELL"], "veteran" => { "serviceBranch" => "ARMY", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "Mitchell", "lastName" => "Jenkins" }, "representative" => { "poaCode" => "ABC", "type" => "SERVICE ORGANIZATION REPRESENTATIVE", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "serviceOrganization" => { "firstName" => "Bob", "lastName" => "Representative" }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "2b9b6501-1b23-4f76-bc9e-dfdaa7fbdbbc" }) (keyword arguments)
Diff:
@@ -26,6 +26,7 @@
"organizationName"=>"I Help Vets LLC",
"poaCode"=>"ABC",
"type"=>"SERVICE ORGANIZATION REPRESENTATIVE"},
+ "serviceOrganization"=>{"firstName"=>"Bob", "lastName"=>"Representative"},
"text_signatures"=>
{"page2"=>
[{"signature"=>"JESSE GRAY - signed via api.va.gov", "x"=>35, "y"=>306},
./modules/claims_api/app/sidekiq/claims_api/v2/poa_form_builder_job.rb:22:in `perform'
./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb:230:in `block (5 levels) in <top (required)>'
/usr/local/bundle/gems/vcr-6.2.0/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/gems/vcr-6.2.0/lib/vcr.rb:194:in `use_cassette'
./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb:192:in `block (4 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb
github-actions / Test Results
ClaimsApi::V2::PoaFormBuilderJob generating and uploading the signed pdf 2122a veteran claimant generates e-signatures correctly for a veteran claimant (modules.claims_api.spec.sidekiq.v2.poa_form_builder_job_spec) failed
Test Results/rspec9.xml [took 0s]
Raw output
#<ClaimsApi::V2::PoaPdfConstructor::Individual:0x00007f8979310ec0 @page1_path=nil, @page2_path=nil, @page3_path=nil, @page4_path=nil> received :construct with unexpected arguments expected: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG_ABUSE", "SICKLE_CELL"], "veteran" => { "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY" }, "representative" => { "poaCode" => "ABC", "type" => "ATTORNEY", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "8e2743d5-5886-4639-bf4a-1cd99a5d189f" }) (options hash) got: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG_ABUSE", "SICKLE_CELL"], "veteran" => { "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY" }, "representative" => { "poaCode" => "ABC", "type" => "ATTORNEY", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "serviceOrganization" => { "firstName" => "Bob", "lastName" => "Representative" }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "8e2743d5-5886-4639-bf4a-1cd99a5d189f" }) (keyword arguments) Diff: @@ -26,6 +26,7 @@ "organizationName"=>"I Help Vets LLC", "poaCode"=>"ABC", "type"=>"ATTORNEY"}, + "serviceOrganization"=>{"firstName"=>"Bob", "lastName"=>"Representative"}, "text_signatures"=> {"page2"=> [{"signature"=>"JESSE GRAY - signed via api.va.gov", "x"=>35, "y"=>306},
\e[1mFailure/Error: \e[0msubject.new.perform(power_of_attorney.id, '2122A', rep.id)
#<ClaimsApi::V2::PoaPdfConstructor::Individual:0x00007f8979310ec0 @page1_path=nil, @page2_path=nil, @page3_path=nil, @page4_path=nil> received :construct with unexpected arguments
expected: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG_ABUSE", "SICKLE_CELL"], "veteran" => { "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY" }, "representative" => { "poaCode" => "ABC", "type" => "ATTORNEY", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "8e2743d5-5886-4639-bf4a-1cd99a5d189f" }) (options hash)
got: ({ "recordConsent" => true, "consentAddressChange" => true, "consentLimits" => ["DRUG_ABUSE", "SICKLE_CELL"], "veteran" => { "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY", "ssn" => "796378881", "birthdate" => "1953-12-05" }, "claimant" => { "claimantId" => "1012830872V584140", "email" => "[email protected]", "relationship" => "Spouse", "address" => { "numberAndStreet" => "2688 S Camino Real", "city" => "Palm Springs", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" }, "phone" => { "areaCode" => "555", "phoneNumber" => "5551337" }, "firstName" => "JESSE", "lastName" => "GRAY" }, "representative" => { "poaCode" => "ABC", "type" => "ATTORNEY", "firstName" => "Bob", "lastName" => "Representative", "organizationName" => "I Help Vets LLC", "address" => { "numberAndStreet" => "2719 Hyperion Ave", "city" => "Los Angeles", "state" => "CA", "country" => "US", "zipFirstFive" => "92264" } }, "serviceOrganization" => { "firstName" => "Bob", "lastName" => "Representative" }, "text_signatures" => { "page2" => [{ "signature" => "JESSE GRAY - signed via api.va.gov", "x" => 35, "y" => 306 }, { "signature" => "Bob Representative - signed via api.va.gov", "x" => 35, "y" => 200 }] } }, { id: "8e2743d5-5886-4639-bf4a-1cd99a5d189f" }) (keyword arguments)
Diff:
@@ -26,6 +26,7 @@
"organizationName"=>"I Help Vets LLC",
"poaCode"=>"ABC",
"type"=>"ATTORNEY"},
+ "serviceOrganization"=>{"firstName"=>"Bob", "lastName"=>"Representative"},
"text_signatures"=>
{"page2"=>
[{"signature"=>"JESSE GRAY - signed via api.va.gov", "x"=>35, "y"=>306},
./modules/claims_api/app/sidekiq/claims_api/v2/poa_form_builder_job.rb:22:in `perform'
./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb:112:in `block (5 levels) in <top (required)>'
/usr/local/bundle/gems/vcr-6.2.0/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/gems/vcr-6.2.0/lib/vcr.rb:194:in `use_cassette'
./modules/claims_api/spec/sidekiq/v2/poa_form_builder_job_spec.rb:74:in `block (4 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'