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

7159-tkd-detox-faster-without-inapp-review #9379

Merged
merged 38 commits into from
Aug 22, 2024
Merged

Conversation

TKDickson
Copy link
Contributor

@TKDickson TKDickson commented Aug 14, 2024

Description of Change

Closes #7159 .

Removing in-app review workarounds from detox makes tests easier to maintain (one 'toggle call' at the beginning, instead of inserting the reset periodically), and faster when running.

In the scripts that were updated, here's the rough improvement (it would have been better to run repeatedly and take averages, but that would have been more time spent than what's wanted/needed):

For iOS

Script Improvement Raw times
Appeals Expanded 44% faster 632.469 to 350.635
Appointments Expanded 33% faster 1166.146 to 780.997
Claims 20% faster 378.195 to 303.906
Contact Information 11% faster 801.335 to 712.827
Decision Letters 8% faster 237.295 to 218.783
Messages 27% faster 582.548 to 426.152
Navigation 7% faster 993.612 (with a fail) to 919.475 (all passed))

For Android
(several scripts don't run on the Android platform)

Script Improvement Raw times
Appeals Expanded 25% faster 752.426 to 562.813
Appointments Expanded n/a
Claims n/a
Contact Information n/a
Decision Letters 13% faster 145.099 to 125.922
Messages 28% faster 803.498 to 576.556
Navigation 10% faster 1011.49 to 910.988

Screenshots/Video

iOS most passed; rest passed
Android most passed; rest passed. Except VSC which is also failing on develop

Testing

  • Tested on iOS
  • Tested on Android

Reviewer Validations

PR Checklist

Reviewer: Confirm the items below as you review

  • PR is connected to issue(s)
  • Tests are included to cover this change (when possible)
  • No magic strings (All string unions follow the Union -> Constant type pattern)
  • No secrets or API keys are checked in
  • All imports are absolute (no relative imports)
  • New functions and Redux work have proper TSDoc annotations

For QA

Run a build for this branch

@TKDickson TKDickson changed the base branch from develop to feature/7158-Binny-InAppReviewFeatureFlagForDetox August 14, 2024 20:09
Base automatically changed from feature/7158-Binny-InAppReviewFeatureFlagForDetox to develop August 15, 2024 16:15
@TKDickson TKDickson changed the title 7159 tkd all the scripts 7159-tkd-detox-faster-without-inapp-review Aug 19, 2024
@@ -24,7 +24,7 @@ export const AppealsExpandedIdConstants = {
HLR_DECISION_APPEAL_ID:
'Higher level review decision appeal Received July 12, 2008 Moved to this step on December 21, 2011',
HLR_RECIEVED_APPEAL_ID:
'Higher level review recieved appeal Received July 11, 2008 Moved to this step on December 20, 2011',
'Higher level review received appeal Received July 11, 2008 Moved to this step on December 20, 2011',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing gods work here Therese. :-)

@TKDickson TKDickson marked this pull request as ready for review August 21, 2024 16:33
@TKDickson TKDickson requested review from a team as code owners August 21, 2024 16:33
@github-actions github-actions bot added the FE-With QA A PR waiting for QA Activity label Aug 21, 2024
@github-actions github-actions bot added FE-Ready to Merge and removed FE-With QA A PR waiting for QA Activity labels Aug 22, 2024
@TKDickson TKDickson merged commit 43132f1 into develop Aug 22, 2024
75 of 77 checks passed
@TKDickson TKDickson deleted the 7159-TKD-all-the-scripts branch August 22, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detox - Rewrite tests now that demo mode doesn't show the in-app review popup
4 participants