From 98384b56c6bf762ba64f39eb7d0a0dfd5d93bf6f Mon Sep 17 00:00:00 2001 From: Phan An Date: Tue, 26 Apr 2022 16:40:20 +0300 Subject: [PATCH] fix: audio playing with cypress --- cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 80ee9d15..8a6c1d2e 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -55,7 +55,7 @@ Cypress.Commands.add('$clickSidebarItem', (sidebarItemText: string) => { Cypress.Commands.add('$mockPlayback', () => { cy.intercept('/play/**?api_token=mock-token', { - fixture: 'sample.mp3' + fixture: 'sample.mp3,null' }) cy.intercept('/api/album/**/thumbnail', {