Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Latest Launches" Option in Widget Displays Same Data as "All launches" #184

Closed
Priyanshu19992002 opened this issue Aug 20, 2024 · 2 comments
Labels

Comments

@Priyanshu19992002
Copy link

Description:

The option of Latest Launches in various widgets like Overall Statistics, Component Health Check, Component Health Check (Table view), Launches Duration Chart etc. is expected to show data specifically for the most recent launches. However, I have noticed that it is displaying the same information as the All Launches option in the widget, making it difficult to distinguish between the two. When it was compared with another RP agent agent-java-karate the same functionality works as per the expectation that is data is getting segregated for All Launches and Latest Launches configuration on the widgets so it seems as if the agent serenity-reportportal-integration is having some bug.

Steps to Reproduce:

  • Integrate the Serenity Framework with serenity-reportportal-integration agent v1.5.7
  • Ingest multiple launches into ReportPortal.
  • Create a Dashboard and filter for these launches to be displayed in ReportPortal
  • Go to the dashboard in ReportPortal.
  • Add a widget that can display data for both All Launches and Latest Launches.
  • Configure the widget to show data for Latest Launches.
  • Add the same widget above but now configure the widget to show data for All Launches.
  • Observe the data displayed in the widget for both All Launches and Latest Launches.

Expected Behaviour

  • The Latest Launches configured widget should show data only for the most recent launches, distinct from the All Launches widget.

Actual Behaviour

  • The Latest Launches widget is displaying the same data as the All Launches widget.

Screenshot

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
Screenshot 2024-08-20 at 5 43 59 PM
  • 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.
Screenshot 2024-08-20 at 6 20 21 PM
  • This is the filter used in the above widget.
Screenshot 2024-08-20 at 5 47 23 PM

Environment

Tested for two environment as below:

- ReportPortal Version: v24.1
- Browser: Chrome v127.0.6533.120
- RP Agent: serenity-reportportal-integration v1.5.7
- OS: macOs Sonoma 14.2.1
- ReportPortal Version: API Service: 5.10.1;Index Service: 5.10.0;Jobs Service: 5.10.0;Authorization Service: 5.10.0;Service UI: 5.10.0;
- Browser: Chrome v127.0.6533.120
- RP Agent: serenity-reportportal-integration v1.5.7
- OS: RHEL 8
@grey-rain
Copy link
Collaborator

hello @Priyanshu19992002 !
What you're showing is ReportPortal issue, it has nothing to do with Serenity integration.
Please address it to ReportPortal developers.
Thank you!

@Priyanshu19992002
Copy link
Author

Hi @grey-rain ,

Thanks for replying. I will close this ticket and will check with ReportPortal developers. If required then will open the ticket again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants