Skip to content

Commit

Permalink
fix(duplicates): osman. reich
Browse files Browse the repository at this point in the history
adjust T. E. Lawrence test

close #65
  • Loading branch information
duncdrum committed Mar 1, 2024
1 parent 68a5b3a commit 3a88c66
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cypress/e2e/duplicates.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ describe('duplicate entries', () => {
qs: {
lookfor: 'Osmanisches Reich im Ersten Weltkrieg',
type: 'allFields'

}
})
})

// once identical items are grouped this test might fail
it('should show three items "T. E. Lawrence…"', () => {
cy.get('[href*="OLC2136322486"]')
.should('exist')
cy.get('[href*="OLC1618743244"]')
.should('exist')
it('contains "T. E. Lawrence…" via filter', () => {
cy.get('.resultlist')
.contains('Friedensschluss')
cy.get('#side-panel-format > .title')
cy.get('[data-title="Aufsatz (online)"]')
.click()
cy.get('[href*="info:doi:10.7788%252Fsaeculum.2001.52.1.55"]')
.should('exist')
})
Expand Down

0 comments on commit 3a88c66

Please sign in to comment.