Details

    • 1
    • S05E04 - Half Life, S05E06 - Donkey Kong

    Description

      Output

      1. Our table with the Test scenarios/test cases to be validated in the validation phase.
        1. Follow the example that we have in this ticket - LPS-121721.
      2. After being reviewed by the team, add a finalized table to the parent story description
      3. Add test cases to Test Map

      Test Scenarios:

      Requirement Test Case Covered by frontend/backend unit test? (Yes/No) Test Priority (business impact)
      ReceiveDetailsOfObjectEntryRelatedThroughObjectRelationshipEndpoint_1 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/universities I use PUT /{universityId}/universitiesSubjects/{subjectId}
      Then the response body has the correct subject name related to the university
         
      ReceiveDetailsOfObjectEntryRelatedThroughObjectRelationshipEndpoint_2 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/subjects I use PUT /{subjectId}/\universitiesSubjects/{universityId}
      Then the response body has the correct university name related to the subject
         
      CanAssertCorrectValueWirhDifferentRelationships_1 Given university created
      And Given subject created
      And Given student created
      And Given manyToMany relationship universitySubjects created
      And Given oneToMany relationship universityStudents created
      And Given university entry created
      And Given subject entry created
      And Given student entry created
      When in c/universities I use PUT /{universityId}/universitiesSubjects/{subjectId}
      Then the response body has the correct subject name related to the university
         
       CanAssertCorrectValueWirhDifferentRelationships_2 Given university created
      And Given subject created
      And Given student created
      And Given manyToMany relationship universitySubjects created
      And Given oneToMany relationship universityStudents created
      And Given university entry created
      And Given subject entry created
      And Given student entry created
      When in c/universities I use PUT /{universityId}/universitiesStudents/{studentId}
      Then the response body has the correct student name and universityId related to the university
         
       CanGetManyToManyRelationshipDetailsAsNestedFields_1 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/universities I use PUT /{universityId}/universitiesSubjects/{subjectId}
      Then the subject is related to the university in /o/c/subjects?nestedFields=universitiesSubjects
        5-critical
       CanGetManyToManyRelationshipDetailsAsNestedFields_2 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/universities I use PUT /{universityId}/universitiesSubjects/{subjectId}
      Then the university has the subject related in /o/c/universities?nestedFields=universitiesSubjects
        5-critical 
      CanGetManyToManyRelationshipDetailsAsNestedFields_3  Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/subjects I use PUT /{subjectId}/universitiesSubjects/{universityId}
      Then the subject is related to the university in /o/c/subjects?nestedFields=universitiesSubjects
        5-critical 
       CanGetManyToManyRelationshipDetailsAsNestedFields_4 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given university entry created
      And Given subject entry created
      When in c/subjects I use PUT /{subjectId}/universitiesSubjects/{universityId}
      Then the university has the subject related in /o/c/universities?nestedFields=universitiesSubjects
        5-critical 
       DeletedObjecDoesNotAppearInManyToManyRelationshipDetailsNestedFields_1 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects with deletionType cascade created
      And Given three university entries created
      And Given subject entry created
      And Given subject related to all three universities
      When subject is deleted
      Then it does not appear in any of the universities in o/c/universities?nestedFields=universitiesSubjects
        4-high   
        DeletedObjectDoesNotAppearInManyToManyRelationshipDetailsNestedFields_2 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects with deletionType cascade created
      And Given three university entries created
      And Given subject entry created
      And Given subject related to all three universities
      When one of the universities is deleted
      Then I receive correct information about the related objects in o/c/universities?nestedFields=universitiesSubjects
        4-high   
       CanGetManyToManyRelationshipDetailsAsNestedFields_5  Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given two university entries created
      And Given two subject entries created
      When each subject related to each university
      Then I receive correct information about the related objects o/c/subjects?nestedFields=universitiesSubjects
        5-critical
        CanGetManyToManyRelationshipDetailsAsNestedFields_6 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects created
      And Given two university entries created
      And Given two subject entries created
      When each subject related to each universtity
      Then I receive correct information about the related objects o/c/universities?nestedFields=universitiesSubjects
        5-critical 
      ObjectEntryDeletionImpossibleWithPreventDeletionTypeRelationshipCreated  Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects with deletionType prevent created
      And Given three university entries created
      And Given subject entry created
      And Given subject related to all three universities
      When I call DELETE to /o/c/subjects/{subjectId}
      Then the response is 400 and the message is "Object relationship {subjectId}
      does not allow deletes"
         4-high  
      CanDeleteObjectEntryWithDisassociateDeletionTypeRelationshipCreated_1 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects with deletionType Disassociate created
      And Given three university entries created
      And Given subject entry created
      And Given subject related to all three universities
      When I call DELETE to /o/c/subjects/{subjectId}
      Then it does not appear in any of the universities in o/c/universities?nestedFields=universitiesSubjects
        4-high   
      CanDeleteObjectEntryWithDisassociateDeletionTypeRelationshipCreated_2 Given university created
      And Given subject created
      And Given manyToMany relationship universitySubjects with deletionType Disassociate created
      And Given three university entries created
      And Given subject entry created
      And Given subject related to all three universities
      When one of the universities is deleted
      Then I receive correct information about the related objects o/\c/\subjects?nestedFields=universitiesSubjects
         4-high  
      CanGetMultipleManyToManyRelationshipDetailsAsNestedFields Given university created
      And Given subject created
      And Given student
      And Given manyToMany relationship universitySubjects created
      And Given manyToMany relationship universityStudents created
      And Given university entry created
      And Given subject entry created
      And Given student entry created
      And Given in c/subjects I use PUT /{subjectId}/universitiesSubjects/{universityId}
      And Given in c/students I use PUT /{studentId}/universitiesStudents/{universityId}
      When I call /o/c/universities?nestedFields=universitiesSubjects,universitiesStudents
      Then I receive correct information about the related objects
        4-high   

      Exploratory testing to consider:

      Requirement Test Scenarios Test Priority (business impact) Covered by frontend/backend Unit Test?
             

       

      Attachments

        Activity

          People

            magdalena.jedraszak Magdalena Jedraszak
            magdalena.jedraszak Magdalena Jedraszak
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package