Details

    • Steps to Reproduce:
      Hide

      1) Create a data model object with a numeric filed like int, double, etc. and sample rule
      eg -: Obj (id==0) of type int.

      2) In the test scenario

      For Given section, pass the value for id as 0.

      For expect section, select the data object and id field, by default the edit box would be populated by default value 0. Don't edit it.

      3) Run the test scenario, the test case will fail (refer attachment).

      4) Edit the field to some random value and run the test. Now change field value back to 0 and run the test. Now the test will pass (refer attachment).

      Show
      1) Create a data model object with a numeric filed like int, double, etc. and sample rule eg -: Obj (id==0) of type int. 2) In the test scenario For Given section, pass the value for id as 0. For expect section, select the data object and id field, by default the edit box would be populated by default value 0. Don't edit it. 3) Run the test scenario, the test case will fail (refer attachment). 4) Edit the field to some random value and run the test. Now change field value back to 0 and run the test. Now the test will pass (refer attachment).
    • Workaround Description:
      Hide

      You can edit the default value and type the same value again to run the test case successfully.

      Show
      You can edit the default value and type the same value again to run the test case successfully.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      In test scenarios (Legacy test scenario) expect section, if we don't edit the default numeric values in expect section then test scenario fails, but if we edit and enter the same value it passes, sometimes we have to type a different value, run the test, then retype 0/0.0 for it to pass.

      The issue is always reproducible.

      Acceptance test

      • Default empty text
      • Default int zero , passed in re-review
      • Default double zero , passed in re-review
      • Default boolean true

        Gliffy Diagrams

          Attachments

          1. latestjbpmfailed.png
            latestjbpmfailed.png
            126 kB
          2. latestjbpmpassed.png
            latestjbpmpassed.png
            122 kB
          3. sample.drl
            0.2 kB
          4. Screenshot from 2019-09-16 12-34-12.png
            Screenshot from 2019-09-16 12-34-12.png
            69 kB

            Issue Links

              Activity

                People

                • Assignee:
                  Rikkola Toni Rikkola
                  Reporter:
                  sudhi.nair Sudhish Nair
                  Tester:
                  Jozef Marko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: