Uploaded image for project: 'mod-courses'
  1. mod-courses
  2. MODCR-64

[Backend development] Implement: prevent conflict once detected. Enable "failOnConflict"

    XMLWordPrintable

Details

    • None

    Description

      Requirement

      Acceptance criteria

      Given I click Save on a record
      When an indicator displays that another person is editing the same record
      Then ???

      Given I take an action on a record
      When an indicator displays that another person is editing the same record
      Then ???

      Given I take an action on a record
      When an indicator displays that a system is editing the same record
      Then ???

      Given a system is updating a record
      When another system is updating the same record
      Then ???

      Given an automated process is updating a record
      When another automated system is updating the same record
      Then

      Given I take an action on a record OR edit a record
      When an Optimistic locking error occurs
      Then ???

      Definition of done

      • Implement Karate API tests
      • Verify that key use cases are addressed
      • [NOTE: POs should review below scenarios and edit based on workflows.]

      Potential multiple users are editing the same record at the same time scenarios for testing

      User A Action User B Action User C Action One of these Users hits Save outcome
      Edits a field on record Deletes a field on same record Edits a field on same record TBD
      Edits a field on record Take a non-delete action on same record N/A TBD
      Edits a field on record Moves a record Edits a field on record 1 TBD
      Edits a field on record Deletes a same record N/A TBD
      Edits a field on record Takes an action on same record N/A TBD
      Edits a field on record Takes an action on a dependent field on same record N/A TBD
      Takes an action on record Takes an action on same record N/A TBD

      Potential scenarions for 1 user and system trying to act on the same record, either individual records or batch

      User A Action System B Action System C Action First User/System to Save Outcome
      Edits a field on record Edits same record Edits same record TBD
      Edits a field on record Takes an action on same record N/A TBD
      Takes an action on record Edits same record N/A TBD

      Potential scenarios for Two automated processes acting on the same record

      System A Action System B Action First System to Save Outcome
      Edits a field on record Edits same record TBD
      Edits a field on record Takes an action on same record TBD
      Takes an action on record Edits same record TBD

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              enettifee Erin Nettifee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases