chore(test): update tests following core changes

This commit is contained in:
Phan An 2021-01-05 23:37:18 +01:00
parent 23735f9c7d
commit 6aaa7d9b8f
3 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ context('Playlists', () => {
.should('be.visible')
.and('contain', 'A New Playlist')
cy.get('#playlistWrapper .none')
cy.get('#playlistWrapper [data-test=screen-placeholder]')
.should('be.visible')
.and('contain', 'The playlist is currently empty.')
})

View file

@ -6,7 +6,7 @@ context('Searching', () => {
it('shows the search screen when search box receives focus', () => {
cy.get('@searchInput').focus()
cy.get('#searchExcerptsWrapper').within(() => cy.get('[data-test=placeholder]').should('be.visible'))
cy.get('#searchExcerptsWrapper').within(() => cy.get('[data-test=screen-placeholder]').should('be.visible'))
})
it('performs an excerpt search', () => {

@ -1 +1 @@
Subproject commit b66300c442bc18914512dab12ba62ee905767ed6
Subproject commit f922026b638da31aadda747667357c03f3bbc17c