0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/apps/comments-ui/test/utils
Kevin Ansfield 097394bd88 Fixed flaky avatar saturation test in comments-ui
no issue

- running tests locally, especially in UI mode, would often result in an avatar saturation test failing
- the cause was calculating saturation for an element that still had it's opacity animating in
- added a test util function that waits for an element in a frame to reach full opacity
- used function in test to ensure we have a stable element before calculating the color saturation
2024-11-12 17:10:44 +00:00
..
e2e.ts Fixed flaky avatar saturation test in comments-ui 2024-11-12 17:10:44 +00:00
fixtures.ts Extracted comment member name and initial helper functions 2024-10-15 07:53:57 +01:00
MockedApi.ts Added new hidden comments API implementation (#21444) 2024-11-11 15:00:59 +08:00