Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1953

BDD tests: Test user task actions scenarios

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 0.11.0
    • 0.10.0
    • Operator
    • None
    • 2020 Week 16-18 (from Apr 13)

      We can use the "process-springboot-example" and "process-quarkus-example" to cover the user task actions functionality. For example, to cover the new flow:

      1.- Create order that requires an user action (a task)

      POST: /orders
      BODY: 
      {
              "approver" : "john", 
              "order" : {
                "orderNumber" : "12345", 
                "shipped" : false
              }
            }
      

      2.- Verify task as user

      POST: /orderItems/{orderItemsId}/tasks?user=john
      BODY: {}
      

      More information about this test in the examples.

      This task will introduce the ability to create context variables through steps within a scenario.

            jcarvaja@redhat.com Jose Carvajal Hilario
            jcarvaja@redhat.com Jose Carvajal Hilario
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: