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 Moved old comment tests to Playwright (#17750) 2023-08-17 12:47:08 +02:00
editor.test.ts Converted Comments-UI App to TypeScript and React hooks (#17760) 2023-08-18 13:30:59 +00:00
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 Converted Comments-UI App to TypeScript and React hooks (#17760) 2023-08-18 13:30:59 +00:00
pagination.test.ts Fixed comments MockedApi and tests 2024-02-28 07:38:22 +07:00