Ghost/apps
Steve Larson 2bb566f18f
Added Portal tests for newsletter subscriptions (#19802)
refs https://linear.app/tryghost/issue/ENG-677

- Portal was completely missing tests for `UnsubscribePage`
- `UnsubscribePage` is unique for Portal in that it needs to be able to
handle logged in and not-logged-in member state/interactions
- Various parts of Portal don't use a shared `GhostApi` instance, making
mocking all functionality impossible
- `UnsubscribePage` was updated to use `onAction` to bring it in line
with other Portal interactions while logged in
- Added checks for UI components for more precision in tests checking subscriptions within the UI

---------

Co-authored-by: Ronald Langeveld <hi@ronaldlangeveld.com>
2024-03-05 19:22:50 +00:00
..
admin-x-demo Update Types packages 2024-01-15 21:04:04 +01:00
admin-x-design-system Input field visual design update (#19693) 2024-02-14 13:00:16 +01:00
admin-x-framework 🐛 Fixed trailing slashes not handled in Settings (#19640) 2024-02-01 19:23:22 +02:00
admin-x-settings Reorganized and improved meta data settings so it's easier to parse DES-159 2024-03-05 11:23:42 +00:00
announcement-bar Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00
comments-ui Released comments-ui 0.16.0 (#19800) 2024-03-05 16:20:19 +00:00
portal Added Portal tests for newsletter subscriptions (#19802) 2024-03-05 19:22:50 +00:00
signup-form Update dependency tailwindcss to v3.4.1 (#19395) 2024-02-13 14:28:02 +00:00
sodo-search Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00