Closed Priyanshu19992002 closed 2 months ago
@Priyanshu19992002 , may I ask you to do the same check at demo.reportportal.io ? Also, please read this article about latest launches : https://reportportal.io/docs/dashboards-and-widgets/ComponentHealthCheck/ I see there :
‘LATEST LAUNCH’ option
For the first level, the flow is almost the same as for the ‘ALL LANCHES’ option. However, after the test cases are grouped around unique values for the attribute key, system only leaves the tests cases from latest launches executions for each selection. For example, if you have Launch A with executions 1 and 2 and Launch B with executions 1 and 2 and they correspond to the applied filter, then building the widget based on “LATEST LAUNCHES’ parameter will take into account only the test cases from Launch A executions 2 and Launch B executions 2.
Hi @Pink-Bumblebee ,
Thanks for replying. I understood that the behaviour of component health checks widget starts with the launch name, it will group all diff launches (on the basis of their name) into separate groups like Group 1 = Launch A, Group 2 = Launch B , Group 3 = Launch C and so on... and then if we select latest launches option then it will pick the latest launch of all the groups and accumulate them and show it on the widget.
I have few more questions on the basis of above understanding:
@Priyanshu19992002 , if I understood you correctly, you could add one more filter Healthcheck_08/12 and create one more widget for it.
@Pink-Bumblebee, Let me present it more concisely:
There are three launches in RP with name as below:
Similarly there will be more launches following the above launch name pattern but for now let us consider these 3 launches with latest launch be Healthcheck_08/12.
Now, I am creating one filter with name Healthcheck which will have all the three launches mentioned above.
Now let say there are two use cases with the above launches for visualization:
First, I want a trend for all the Healthcheck launches i.e. it should show all the launches present in Healthcheck filter. For this, I will use "Cumulative trend chart" widget with filter Healthcheck which will be appropriate for this use case.
Second, I want to show the latest launch execution components health, for this component health check widget would be the most appropriate one. So if i take my above example and then my requirement then in the component health check widget it should show only the component of launch Healthcheck_08/12 but this is not the case. It is combining all the launches Healthcheck_08/10, Healthcheck_08/11, Healthcheck_08/12 and then showing which is correct as per the documentation. So, I want to know if my use case of showing the latest launch in above scenario is possible in ReportPortal or not?If yes then how.
Hope it was more clear to you this time.
@Priyanshu19992002 Hello
The current behavior of the widget is expected as for ReportPortal launches Healthcheck_08/12, Healthcheck_08/10, Healthcheck_08/11 are different launches.
When we talk about latest execution we mean the following:
Launch with name 'Healthcheck_08/12' was executed several times and in ReportPortal is displayed as
Healthcheck_08/12 #1
Healthcheck_08/12 #2
Healthcheck_08/12 #3
- this is the last execution.
For the launch Healthcheck_08/10
Healthcheck_08/10 #1
Healthcheck_08/10 #2
Healthcheck_08/10 #3
- this is the last execution.
For option Latest launches the widget will use only:
Healthcheck_08/12 #3
Healthcheck_08/10 #3
For All launches - all the mentioned executions will be analyzed.
If you want ReportPortal to work as if this is the same launch - make a unique launch name (ex. Healthcheck) and such things as 08/12... etc. put either in attributes or in description
Describe the bug
Steps to Reproduce
Expected behavior
Screenshots
Below screenshot (for RP v24.1) is for widget Overall Statistics but the behaviour is observed in all the widgets (which can be configured to show latest launches)
This shows two launches ingested in RP
This shows "Overall Statistics" widget with comparision of All Launches and Latest Launches showing same number but it should show for All Launches = 2 Test and for Latest Launches = 1 Test.
This is the filter used in the above widget.
Versions: Two versions were tested