Add DB-Level FKs to corresondences #9814
Annotations
10 errors and 3 warnings
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L45
The Correspondence Intake page intake form feature toggle routes user to /under_construction if the feature toggle is disabled
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L52
The Correspondence Intake page intake form feature toggle routes to intake if feature toggle is enabled
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L73
The Correspondence Intake page intake form shell the intake page exists
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L77
The Correspondence Intake page intake form shell successfully navigates on cancel link click
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L82
The Correspondence Intake page intake form shell successfully advances to the second step
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L89
The Correspondence Intake page intake form shell successfully advances to the final step
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L97
The Correspondence Intake page intake form shell successfully returns to the first step
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L106
The Correspondence Intake page intake form shell successfully returns to the second step
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L131
The Correspondence Intake page access 'Tasks not Related to an Appeals' Paragraph text appears below the title
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/feature/queue/correspondence/intake_spec.rb#L155
The Correspondence Intake page The mail team user is able to add unrelated tasks The user can add additional tasks to correspondence by selecting the '+add tasks' button again
Failure/Error:
create(
:correspondence,
veteran_id: veteran.id,
uuid: SecureRandom.uuid,
va_date_of_receipt: Time.zone.local(2023, 1, 1)
)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
bullet-2.log
No files were found with the provided path: ./log/bullet-2.log. No artifacts will be uploaded.
|
Save Yarn Cache
Cache save failed.
|
Post Run actions/checkout@v3
The process '/usr/bin/git' failed with exit code 128
|
The logs for this run have expired and are no longer available.
Loading