Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1116

Suggested values for DMN context expression in test scenarios are wrong

XMLWordPrintable

    • 3
    • Release Notes
    • CR1
    • CR1
    • Hide
      Issue: User has possibility to test DMN context expressions using Test Scenario designer. The required format of DMN expressions in Test Scenario designer is:

      {"key_a" : "value_a", "key_b" : "value_b", ...}
      . However if the test fail, the Test Scenario designer "correct value" feature corrects the value using different format:

      {key_a : value_a, key_b : value_b, ...}
      . We can spot missing double quotes.
      Expected result: "correct value" feature fix the DMN context value with correct format
      Actual result: "correct value" feature fix ther DMN context value with wrong format - missing double quotes
      Show
      Issue: User has possibility to test DMN context expressions using Test Scenario designer. The required format of DMN expressions in Test Scenario designer is: {"key_a" : "value_a", "key_b" : "value_b", ...} . However if the test fail, the Test Scenario designer "correct value" feature corrects the value using different format: {key_a : value_a, key_b : value_b, ...} . We can spot missing double quotes. Expected result: "correct value" feature fix the DMN context value with correct format Actual result: "correct value" feature fix ther DMN context value with wrong format - missing double quotes
      1. Import the project into business central
      2. Run key value test
    • 2019 Week 44-46 (from Okt 28)

      In the attached project is a test scenario file with two tests. The second one is expected to pass because it is created according to the hint message from the first one while keeping the same input. However it fails.

      The issue could be in the suggested syntax of editor: It suggest {key:"value"} however in past we used {"key"="value"}. if that is the case, we should just update suggestion codes in popovers and cheatsheet in the properties panel.

      Acceptance test

      https://github.com/jboss-integration/bxms-qe-tests/pull/2846

        1. Screenshot from 2019-10-10 13-57-26.png
          80 kB
          Jozef Marko
        2. Screenshot from 2019-10-10 13-57-45.png
          92 kB
          Jozef Marko

              dzonca@redhat.com Daniele Zonca
              rh-ee-jomarko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: