Skip to content

Commit

Permalink
fix(known-item): add test case
Browse files Browse the repository at this point in the history
make sure top1 is searched for item

see #7
  • Loading branch information
duncdrum committed Mar 1, 2024
1 parent 3a88c66 commit 3f822ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cypress/e2e/known-Item.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ describe('known item searches', () => {
cy.get('[id*="result"]')
.should('have.length', 2)
})

// this passes in production
it('TOP1 should be the known item', () => {
cy.get('#result0')
.contains('Metzler-Lexikon Theatertheorie')
})
})
})

0 comments on commit 3f822ac

Please sign in to comment.