Fix with safe navigation #5552
Annotations
10 errors and 2 warnings
spec/feature/queue/attorney_checkout_flow_spec.rb#L64
Attorney checkout flow given a valid ama appeal submits draft decision
Failure/Error: expect(page).to have_content "This field is required"
expected to find text "This field is required" in "CaseflowQueue\nSearch cases\nDEFAULT_USER (VACO)\nAdd decisions\nAdd decisions to each issue the Veteran is appealing. Any decisions you add must be connected to at least one issue on appeal. This helps Caseflow gather metrics on BVA decisions and meet AMA reporting requirements.\nYou must add a decision before you continue.\nBenefit type: Compensation\nIssue: Tinnitus\nDiagnostic code: 5000\nNote from NOD: Test note\n+ Add decision\nYou must add a decision before you continue.\nBenefit type: Compensation\nIssue: Tinnitus\nDiagnostic code: 5000\nNote from NOD: Test note\n+ Add decision\nAdd decision\nIssue\nTinnitus\nDescribe what the Veteran is appealing and what you decided.\nYou can also add additional decisions to better address the Veteran's concerns or situation.\nDisposition\nDisposition field is required\nSelect disposition\n\nDescription\nEx: Entitlement to a 10% rating for arthritis of the right knee is granted\nText box field is required\nDiagnostic code\n5000\nBenefit type\nCompensation\nDo you want to add this decision to other issues on appeal? This could occur when you determine that two or more issues should receive a single decision.\nEx: Service connection for restless leg syndrome (right) and Service connection for restless leg syndrome (left) should be Service connection for restless leg syndrome (bilateral).\nIssues\nSelect issues\nClose\nSave\nCancelBack\nContinue\nSend feedback"
|
spec/feature/queue/special_case_movement_task_spec.rb#L23
SpecialCaseMovementTask Case Movement Team Member With the Appeal in the right state successfully assigns the task to judge
Failure/Error: click_button("Submit")
Capybara::ElementNotFound:
Unable to find button "Submit" that is not disabled
|
spec/feature/queue/special_case_movement_task_spec.rb#L78
SpecialCaseMovementTask Case Movement Team Member With the blocking tasks on the appeal successfully assigns the task to judge and cancels blocking tasks
Failure/Error: click_on "Continue"
Capybara::ElementNotFound:
Unable to find visible link or button "Continue"
|
spec/repositories/queue_repository_spec.rb#L171
QueueRepository.reassign_case_to_judge! when decass record is found should update decass record succesfully
Failure/Error:
def reassign_case_to_judge!(vacols_id:, assigned_by:, created_in_vacols_date:, judge_vacols_user_id:, decass_attrs:)
decass_record = find_decass_record(vacols_id, created_in_vacols_date)
# In attorney checkout, we are automatically selecting the judge who
# assigned the attorney the case. But we also have a drop down for the
# attorney to select a different judge if they are checking it out to someone else
if decass_record.deadusr != judge_vacols_user_id.vacols_uniq_id
BusinessMetrics.record(service: :queue, name: "reassign_case_to_different_judge")
end
update_decass_record(decass_record, decass_attrs)
# update location with the judge's slogid
ArgumentError:
missing keyword: :assigned_by
|
spec/repositories/queue_repository_spec.rb#L187
QueueRepository.reassign_case_to_judge! when vacols ID and date added are not valid should raise Caseflow::Error::QueueRepositoryError
Failure/Error: expect { subject }.to raise_error(Caseflow::Error::QueueRepositoryError)
expected Caseflow::Error::QueueRepositoryError, got #<ArgumentError: missing keyword: :assigned_by> with backtrace:
# ./app/repositories/queue_repository.rb:59:in `reassign_case_to_judge!'
# ./spec/repositories/queue_repository_spec.rb:138:in `block (3 levels) in <top (required)>'
# ./spec/repositories/queue_repository_spec.rb:188:in `block (5 levels) in <top (required)>'
# ./spec/repositories/queue_repository_spec.rb:188:in `block (4 levels) in <top (required)>'
|
spec/repositories/queue_repository_spec.rb#L197
QueueRepository.reassign_case_to_judge! when note with multi-byte characters causes it to be greater than 350 characters converts multi-byte characters to ASCII (VACOLS Oracle DB is in ASCII format)
Failure/Error:
def reassign_case_to_judge!(vacols_id:, assigned_by:, created_in_vacols_date:, judge_vacols_user_id:, decass_attrs:)
decass_record = find_decass_record(vacols_id, created_in_vacols_date)
# In attorney checkout, we are automatically selecting the judge who
# assigned the attorney the case. But we also have a drop down for the
# attorney to select a different judge if they are checking it out to someone else
if decass_record.deadusr != judge_vacols_user_id.vacols_uniq_id
BusinessMetrics.record(service: :queue, name: "reassign_case_to_different_judge")
end
update_decass_record(decass_record, decass_attrs)
# update location with the judge's slogid
ArgumentError:
missing keyword: :assigned_by
|
spec/repositories/queue_repository_spec.rb#L209
QueueRepository.reassign_case_to_judge! when comment with multi-byte characters causes it to be greater than 600 characters converts multi-byte characters to ASCII (VACOLS Oracle DB is in ASCII format)
Failure/Error:
def reassign_case_to_judge!(vacols_id:, assigned_by:, created_in_vacols_date:, judge_vacols_user_id:, decass_attrs:)
decass_record = find_decass_record(vacols_id, created_in_vacols_date)
# In attorney checkout, we are automatically selecting the judge who
# assigned the attorney the case. But we also have a drop down for the
# attorney to select a different judge if they are checking it out to someone else
if decass_record.deadusr != judge_vacols_user_id.vacols_uniq_id
BusinessMetrics.record(service: :queue, name: "reassign_case_to_different_judge")
end
update_decass_record(decass_record, decass_attrs)
# update location with the judge's slogid
ArgumentError:
missing keyword: :assigned_by
|
spec/repositories/queue_repository_spec.rb#L245
QueueRepository.reassign_case_to_attorney! when vacols ID and date added are valid should assign a case to attorney
Failure/Error:
def reassign_case_to_attorney!(judge:, attorney:, vacols_id:)
transaction do
update_location_to_attorney(vacols_id, attorney)
attrs = assign_to_attorney_attrs(vacols_id, attorney, judge)
create_decass_record(attrs.merge(adding_user: judge.vacols_uniq_id))
end
end
ArgumentError:
unknown keyword: :created_in_vacols_date
|
spec/repositories/queue_repository_spec.rb#L266
QueueRepository.reassign_case_to_attorney! when vacols ID and date added are not valid should raise Caseflow::Error::QueueRepositoryError
Failure/Error: expect { subject }.to raise_error(Caseflow::Error::QueueRepositoryError)
expected Caseflow::Error::QueueRepositoryError, got #<ArgumentError: unknown keyword: :created_in_vacols_date> with backtrace:
# ./app/repositories/queue_repository.rb:155:in `reassign_case_to_attorney!'
# ./spec/repositories/queue_repository_spec.rb:223:in `block (3 levels) in <top (required)>'
# ./spec/repositories/queue_repository_spec.rb:267:in `block (5 levels) in <top (required)>'
# ./spec/repositories/queue_repository_spec.rb:267:in `block (4 levels) in <top (required)>'
|
|
|
|
The logs for this run have expired and are no longer available.
Loading