fix: audio playing with cypress

This commit is contained in:
Phan An 2022-04-26 16:40:20 +03:00
parent 12132476b2
commit 98384b56c6
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -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', {