Skip to content

Bugs in the auto implementation for #129 #285

@ElizavetaP

Description

@ElizavetaP

Codebase

Original feature issue: #129
Golden implementation PR: #184
Golden implementation branch: task/129-milestone-management

Auto-generated implementation branch: toloka-agent/129-auto
Auto implementation with golden tests branch: toloka-agent/129-auto-with-golden-tests

Failed Golden Tests

[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   MilestoneControllerTests.shouldIncludeAllRequiredFieldsInListResponse:668 
Expecting actual:                                                                                                                                                            
  {"actualDate"="2024-03-28T15:30:00Z", "code"="Q1-2024", "createdAt"="2024-01-01T00:00:00Z", "createdBy"="admin", "description"="First quarter objectives", "id"=1001, "name"="Q1 2024 Release", "notes"="Completed ahead of schedule", "owner"="alice@example.com", "productCode"="intellij", "progress"=100, "releases"=[{"code"="IDEA-2023.3.8", "createdAt"="2023-03-25T00:00:00Z", "createdBy"="admin", "description"="IntelliJ IDEA 2023.3.8", "id"=1, "milestoneCode"="Q1-2024", "releasedAt"=null, "status"="RELEASED", "updatedAt"=null, "updatedBy"=null}], "status"="COMPLETED", "targetDate"="2024-03-31T23:59:59Z", "updatedAt"="2024-03-28T15:30:00Z", "updatedBy"="admin"}                          
not to contain key:                                                                                                                                                          
  "releases"                                                                                                                                                                 
[ERROR]   MilestoneControllerTests.shouldReturn400WhenProductCodeMissing:42 [HTTP status code] 
expected: 400                                                                                                                                                                
 but was: 500                                                                                                                                                                
[INFO] 
[ERROR] Tests run: 123, Failures: 2, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions