-
Notifications
You must be signed in to change notification settings - Fork 119
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
VPN-2452 - Subscription Expiring Message #5273
Conversation
Codecov ReportBase: 31.40% // Head: 25.61% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #5273 +/- ##
==========================================
- Coverage 31.40% 25.61% -5.79%
==========================================
Files 353 12 -341
Lines 23821 605 -23216
Branches 12951 324 -12627
==========================================
- Hits 7480 155 -7325
+ Misses 9872 261 -9611
+ Partials 6469 189 -6280
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a functional test for this addon to simulate its visibility. See the addon folder in tests/tunctional
After exploring this folder and the surrounding test folders, I was unable to find a clear way to trigger the new message directly (for example, by editing the expiresOn property). It seems like these functional tests are for testing new types of addons or new functionality they have, which this doesn't fit IMO. From what I understand in this case, I would essentially be duplicating the code, but not testing the one actually seen by the user. Is there something I am misunderstanding here? |
0dc47c5
to
94fde9f
Compare
94fde9f
to
4610e1a
Compare
Description
-Implemented a message addon to notify users when their subscription is expiring.
-They also get an OS notification (until background notifications for mobile is implemented, this will only be for Desktop).
-The ‘Subscription expiring’ message doesn’t show anymore once the subscription end date > 7 days again.
Reference
https://mozilla-hub.atlassian.net/browse/VPN-2542
Checklist