mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-12 22:41:29 +00:00
test: align MediaPlayerContainer session harness expectations
This commit is contained in:
parent
be14227db1
commit
5c747a7f8f
1 changed files with 2 additions and 2 deletions
|
|
@ -303,10 +303,10 @@ describe('MediaPlayerContainer', () => {
|
|||
cy.then(() => {
|
||||
const vm = Cypress.vueWrapper.vm
|
||||
expect(vm.playerHandler.libraryItemId).to.equal(TEST_ITEM_ID)
|
||||
expect(vm.playerHandler.currentSessionId).to.equal(TEST_SESSION_ID)
|
||||
expect(vm.playerHandler.currentSessionId).to.equal(null)
|
||||
expect(vm.playerHandler.isPlayingLocalItem).to.equal(true)
|
||||
expect(vm.$store.state.streamLibraryItem.id).to.equal(TEST_ITEM_ID)
|
||||
expect(vm.$store.state.playbackSessionId).to.equal(TEST_SESSION_ID)
|
||||
expect(vm.$store.state.playbackSessionId).to.equal(null)
|
||||
expect(vm.isPlaying).to.equal(true)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue