Ghost/apps/comments-ui/test/e2e
Kevin Ansfield dd3bc06761
🐛 Fixed comments block disappearing when performing certain actions (#19846)
closes https://linear.app/tryghost/issue/ENG-739

- `props.innerRef` in `<IFrame>` was inadvertently assumed to always exist, sometimes throwing an error on render when certain popups like the profile settings modal were opened resulting in the app crashing and the whole comments block disappearing
- added a guard to ensure the ref exists before trying to set it
- updated tests so the profile modal route is tested
2024-03-12 17:39:36 +00:00
..
actions.test.ts 🐛 Fixed comments block disappearing when performing certain actions (#19846) 2024-03-12 17:39:36 +00:00
auth-frame.test.ts 🎨 Reduced requests and 403 responses for comments auth check (#19840) 2024-03-12 12:27:18 +00:00
cta.test.ts
editor.test.ts
lazy-loading.test.ts Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
options.test.ts
pagination.test.ts Fixed comments MockedApi and tests 2024-02-28 07:38:22 +07:00