Skip to content

Commit

Permalink
Fix test failure for citation loading
Browse files Browse the repository at this point in the history
  • Loading branch information
akhuoa committed Jan 12, 2025
1 parent ab74c55 commit 761e488
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/component/MultiFlatmapVuer.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ describe('MultiFlatmapVuer', () => {
cy.get('.citation-list').should('exist')
cy.get('.citation-list').find('li').should('have.length', 4)
const citationText = 'Afferent and sympathetic innervation of the dome and the base of the urinary bladder of the female rat'
cy.get('.citation-list li').first().should('exist').contains(citationText);
cy.get('.citation-list li.loading').should('not.exist').then(() => {
cy.get('.citation-list li').first().should('exist').contains(citationText);
})
})

// Close the pop up
Expand Down

0 comments on commit 761e488

Please sign in to comment.