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

[HOLD for payment 2023-11-13] [HOLD for payment 2023-10-30] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen #27641

Closed
muttmuure opened this issue Sep 18, 2023 · 13 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Task Weekly KSv2

Comments

@muttmuure
Copy link
Contributor

Problem

We are implementing a range of initiatives to reduce the number of re-renders for app components, starting with LHN, SideBarLinks and ReportScreen.

Without proper tracking of these initiatives, we will be unable to objectively track regressions.

Solution

We need:

  • A plan for identifying the heaviest components to re-render using Reassure.
  • A process to perform ongoing tests in Reassure to ensure any regressions are monitored.

We already have Reassure set up in the app so we could work on how to expand this in other components https://github.com/callstack/reassure/tree/main

@muttmuure muttmuure changed the title Implement Reassure Regression Testing Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Sep 18, 2023
@melvin-bot melvin-bot bot added the Monthly KSv2 label Sep 21, 2023
@muttmuure muttmuure added Weekly KSv2 and removed Monthly KSv2 labels Sep 25, 2023
@mountiny mountiny moved this to MEDIUM in [#whatsnext] #quality Oct 2, 2023
@mountiny mountiny self-assigned this Oct 2, 2023
@adhorodyski
Copy link
Contributor

First tests for LHN are right around the corner, with eg. a whooping 45 rerenders just to get the list on the screen 💪
After this, together with @koko57 we'll transition to the ReportScreen to get the first tests there.

@melvin-bot melvin-bot bot added the Overdue label Oct 9, 2023
@mountiny
Copy link
Contributor

mountiny commented Oct 9, 2023

Thanks for an update Adam

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Overdue Weekly KSv2 labels Oct 9, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 11, 2023
@adhorodyski
Copy link
Contributor

ReportScreen tests are in progress (List ones first to come in the next week), we're also onboarding @OlimpiaZurek to help with the testing and let @koko57 focus more on the Waves work :)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen [HOLD for payment 2023-10-20] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Oct 13, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Reviewing Has a PR in review Weekly KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-20] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Oct 13, 2023
@mountiny mountiny changed the title [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Oct 15, 2023
@mountiny mountiny removed the Awaiting Payment Auto-added when associated PR is deployed to production label Oct 15, 2023
@mountiny
Copy link
Contributor

Looking good, got some PRs to prod now

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 23, 2023
@melvin-bot melvin-bot bot changed the title Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen [HOLD for payment 2023-10-30] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Oct 23, 2023
@Expensify Expensify deleted a comment from melvin-bot bot Oct 24, 2023
@adhorodyski
Copy link
Contributor

@mountiny please see our update on this scope.

So far we have:

  • LHN tests in place, covering the list with interactions to make sure we don't add new render commits on handlers
  • ReportActionsList tests, where we test the list in isolation from the screen

Things to come:

  • ReportScreen holistic tests - list + composer interactions. @OlimpiaZurek is working on it and is expecting to have a PR by the EOW.
  • Composer tests targeting only the input interactions (without the chat list). @OlimpiaZurek will cover this starting next week, shouldn't take long as we can reuse the mocks from holistic ReportScreen tests.

I believe with all this in place we can close the work for this scope (core functionalities of these 2 screens will be covered) and add any new tests as separate efforts. Please let me know your thoughts on this!

@mountiny
Copy link
Contributor

I think this sounds good and we should explore adding more thorough tests as a quick follow up

@adhorodyski
Copy link
Contributor

adhorodyski commented Nov 2, 2023

ReportScreen tests have been merged, ones targeting Composer are now being internally reviewed under a draft PR. This will close the initial scope of this task.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 2, 2023
@mountiny
Copy link
Contributor

mountiny commented Nov 2, 2023

Perfect, thank you!

@adhorodyski
Copy link
Contributor

@mountiny I believe we're now able to close this issue and focus on the measureFunction() tests/come up with any other if you think that'd add more value. Please let me know what you think 😊

@mountiny
Copy link
Contributor

mountiny commented Nov 2, 2023

All LHN, SideBarLinks and ReportScreen. has been completed closing

Great job @adhorodyski @OlimpiaZurek @koko57

@mountiny mountiny closed this as completed Nov 2, 2023
@github-project-automation github-project-automation bot moved this from MEDIUM to Done in [#whatsnext] #quality Nov 2, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 6, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-30] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen [HOLD for payment 2023-11-13] [HOLD for payment 2023-10-30] Implement Reassure Regression Testing for SideBarLinks, LHN and ReportScreen Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.95-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-11-13. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Task Weekly KSv2
Projects
Development

No branches or pull requests

3 participants