fix(cypress): force click albums menu entry
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
parent
588f79a45b
commit
4933ca7ec7
|
@ -1,12 +1,13 @@
|
||||||
describe('Favorites', () => {
|
describe('Favorites', () => {
|
||||||
it('can be done from album list view', () => {
|
it('can be done from album list view', () => {
|
||||||
|
// First we need to login
|
||||||
cy.login()
|
cy.login()
|
||||||
|
|
||||||
|
// Then we can visit the home page
|
||||||
cy.visit('/')
|
cy.visit('/')
|
||||||
cy.wait(4000)
|
|
||||||
|
|
||||||
cy.get('.item.collapse-button-wrapper').click()
|
cy.get('.item.collapse-button-wrapper').click()
|
||||||
cy.contains('Albums').click()
|
cy.contains('Albums').click({ force: true })
|
||||||
|
|
||||||
cy.get('.component-album-card').first().within(() => {
|
cy.get('.component-album-card').first().within(() => {
|
||||||
cy.get('a').first().click()
|
cy.get('a').first().click()
|
||||||
|
|
Loading…
Reference in New Issue