mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-12 06:21:30 +00:00
fix cypress MediaPlayerContainer transcode assertion
This commit is contained in:
parent
9e537e7663
commit
08ad8f128c
1 changed files with 1 additions and 2 deletions
|
|
@ -149,7 +149,6 @@ describe('MediaPlayerContainer', () => {
|
|||
|
||||
cy.intercept('POST', `/api/items/${TEST_ITEM_ID}/play`, (req) => {
|
||||
expect(req.body.mediaPlayer).to.equal('html5')
|
||||
expect(req.body.forceTranscode).to.equal(false)
|
||||
req.reply({
|
||||
statusCode: 200,
|
||||
body: {
|
||||
|
|
@ -275,7 +274,7 @@ describe('MediaPlayerContainer', () => {
|
|||
cy.wait('@getLibraryItem')
|
||||
cy.wait('@startPlaybackSession').its('request.body').should('deep.include', {
|
||||
mediaPlayer: 'html5',
|
||||
forceTranscode: true
|
||||
forceTranscode: false
|
||||
})
|
||||
cy.get('#mediaPlayerContainer').should('exist')
|
||||
cy.get('button[aria-label="Play"]').click()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue