chore: skip audio-player component test for playing audio-message (#21098)

This change skips the test-suite for the audio player since the tests seem fail/pass inconsistently because of some flakiness.
This commit is contained in:
Sean Hagstrom 2024-09-03 08:34:00 +01:00 committed by GitHub
parent 5b75e1dca6
commit e61702c8bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
(h/render [audio-message/audio-message message context]) (h/render [audio-message/audio-message message context])
(h/is-truthy (h/get-by-label-text :audio-message-container))) (h/is-truthy (h/get-by-label-text :audio-message-container)))
(h/test "press play calls audio/toggle-playpause-player" (h/test-skip "press play calls audio/toggle-playpause-player"
(with-redefs [audio/toggle-playpause-player (js/jest.fn) (with-redefs [audio/toggle-playpause-player (js/jest.fn)
audio/new-player (fn [_ _ _] {}) audio/new-player (fn [_ _ _] {})
audio/prepare-player (fn [_ on-success _] (on-success)) audio/prepare-player (fn [_ on-success _] (on-success))