Skip to content

Add test for invalid POA code #14410

Add test for invalid POA code

Add test for invalid POA code #14410

GitHub Actions / Test Results failed Apr 24, 2024 in 0s

3 fail, 51 skipped, 19 543 pass in 41m 3s

    13 files  ±0      13 suites  ±0   41m 3s ⏱️ - 1m 47s
19 597 tests +1  19 543 ✅  - 2  51 💤 ±0  3 ❌ +3 
19 867 runs  +1  19 813 ✅  - 2  51 💤 ±0  3 ❌ +3 

Results for commit e49e6ca. ± Comparison against earlier commit 82d878f.

Annotations

Check warning on line 0 in ./spec/requests/caregivers_assistance_claims_request_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Caregivers Assistance Claims POST /v0/caregivers_assistance_claims/download_pdf returns a completed PDF (spec.requests.caregivers_assistance_claims_request_spec) failed

Test Results/rspec2.xml [took 2s]
Raw output
expected the response to have status code :ok (200) but it was :internal_server_error (500)
\e[1mFailure/Error: \e[0mexpect(response).to have_http_status(:ok)
  expected the response to have status code :ok (200) but it was :internal_server_error (500)
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./spec/requests/caregivers_assistance_claims_request_spec.rb:42:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:169: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/simple_forms_api/spec/requests/v1/uploads_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 11 runs failed: Forms uploader #submit going to Lighthouse Benefits Intake API makes the request (modules.simple_forms_api.spec.requests.v1.uploads_spec)

Test Results/rspec7.xml [took 4s]
Raw output
(SimpleFormsApiSubmission::MetadataValidator (class)).validate(#<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x00007f5455560d28>)     expected: 1 time with any arguments     received: 0 times with any arguments
\e[1mFailure/Error: \e[0mexpect(SimpleFormsApiSubmission::MetadataValidator).to have_received(:validate)

  (SimpleFormsApiSubmission::MetadataValidator (class)).validate(#<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x00007f5455560d28>)
      expected: 1 time with any arguments
      received: 0 times with any arguments
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./modules/simple_forms_api/spec/requests/v1/uploads_spec.rb:53:in `block (5 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 ./spec/controllers/v0/caregivers_assistance_claims_controller_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

V0::CaregiversAssistanceClaimsController#download_pdf generates a filled out 10-10CG and sends file as response (spec.controllers.v0.caregivers_assistance_claims_controller_spec) failed

Test Results/rspec8.xml [took 2s]
Raw output
IOError
\e[1mFailure/Error: \e[0mpdf_forms.get_fields(pdf)

IOError:
  IOError
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdf.rb:14:in `initialize'
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdftk_wrapper.rb:66:in `new'
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdftk_wrapper.rb:66:in `read'
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdftk_wrapper.rb:74:in `get_fields'
./spec/support/pdf_fill_helper.rb:10:in `block in pdfs_fields_match?'
./spec/support/pdf_fill_helper.rb:8:in `each'
./spec/support/pdf_fill_helper.rb:8:in `pdfs_fields_match?'
./spec/controllers/v0/caregivers_assistance_claims_controller_spec.rb:238:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
./spec/spec_helper.rb:169: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'