[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Description:
Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
This feature implemented other way in legacy test scenario.
Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least one element.
In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
Workaround: put in GIVEN section for the list at least one empty element
was:
Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
This feature implemented other way in legacy test scenario.
Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least one element.
In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
Workaround: put in GIVEN section for the list at least one empty element
Customer case details:
https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
> This feature implemented other way in legacy test scenario.
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
> Workaround: put in GIVEN section for the list at least one empty element
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Attachment: (was: PAM Issue with New Test Scenarios and lists.docx)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
> This feature implemented other way in legacy test scenario.
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Comment: was deleted
(was: !screenshot-3.png|thumbnail! Scesim example)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
> This feature implemented other way in legacy test scenario.
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Description:
Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
This feature implemented other way in legacy test scenario.
Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least one element.
In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
Workaround: put in GIVEN section for the list at least one empty element
Customer case details:
https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
was:
Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
Then test passes but rules are not getting fired.
This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least one element.
Workaround: put in GIVEN section for the list at least one empty element
Customer case details:
https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.
> This feature implemented other way in legacy test scenario.
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> In that case if there was no rules fired we need to show a warning and mark the test as FAILED.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Attachment: (was: Legacy works with Lists.docx)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Attachment: (was: medPartBDate-NotOnRequest-MarketingNo.rdrl)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Attachment: (was: screenshot-2.png)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Attachment: (was: screenshot-3.png)
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, screenshot-1.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Steps to Reproduce:
# Import [^MySpace_List.zip] project
# Open Test scenario "ErrorMessageTest" and run it
Expect :
1. Test Run status is FAILED
2. EXPECT section cell marked as red and error popup contains message that instance on this condition was not found. See: [^Screenshot from 2020-04-21 17-28-31.png]
Actual: 0% coverage test is passing
was:
# Import [^MySpace_List.zip] project
# Open Test scenario "ErrorMessageTest" and run it
Expect :
1. Test Run status is FAILED
2. EXPECT section cell marked as red and error popup contains message that instance on this condition was not found. See: [1]
Actual: 0% coverage test is passing
!Screenshot from 2020-04-21 17-28-31.png|thumbnail!
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: Legacy works with Lists.docx, MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, medPartBDate-NotOnRequest-MarketingNo.rdrl, screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired
by Anna Dupliak (Jira)
[ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plug... ]
Anna Dupliak updated DROOLS-5263:
---------------------------------
Steps to Reproduce:
# Import [^MySpace_List.zip] project
# Open Test scenario "ErrorMessageTest" and run it
Expect :
1. Test Run status is FAILED
2. EXPECT section cell marked as red and error popup contains message that instance on this condition was not found. See: [1]
Actual: 0% coverage test is passing
!Screenshot from 2020-04-21 17-28-31.png|thumbnail!
was:
# Import [^MySpace_List.zip] project
# Open Test scenario "ErrorMessageTest" and run it
Expect : !Screenshot from 2020-04-21 17-28-31.png|thumbnail!
1. Test Run status is FAIL
Actual: 0% coverage test is passing
> [Test Scenario Editor] Wrong test result status if rules have not been fired
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5263
> URL: https://issues.redhat.com/browse/DROOLS-5263
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.36.0.Final
> Reporter: Anna Dupliak
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: Legacy works with Lists.docx, MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, Screenshot from 2020-04-21 17-28-31.png, medPartBDate-NotOnRequest-MarketingNo.rdrl, screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see [^PAM Issue with New Test Scenarios and lists.docx]
> Then test passes but rules are not getting fired.
> This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx]
> Root case :
> We removed initialization of the list by default .
> Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
> Now If you add a list fact you are free to left it empty or initialize it with at least one element.
> Workaround: put in GIVEN section for the list at least one empty element
> Customer case details:
> https://gss.my.salesforce.com/5002K00000mr7eFQAQ#comment_a0a2K00000UQOQ2QAP
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months