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

Support for multiple instances of the same class in Test Scenarios

    XMLWordPrintable

Details

    Description

      In Test Scenarios (not legacy) is not possible to have more than one instance per class in GIVEN or EXPECTED table cells. Hence, it's impossible to test scenarios where the user have to insert more than one fact of the same class into the scenario.

      There's a "trick" to add the same class again to the Test Scenario, that is searching for the class in the search input in the tree view. Once the class appears after the search, one could add it again to the scenario. This method doesn't work since the engine only recognizes as a instance the most right instance in the cell (see attached image).

      For reference, please see this repository (authored in 7.4.0). There is a test scenario using the legacy version, which works perfectly when inserting more than one instance of the same fact into the scenario.

      Attachments

        Activity

          People

            gcardosi Gabriele Cardosi
            rhn-support-zanini Ricardo Zanini Fernandes
            Klara Bezdekova Klara Bezdekova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: