Skip to content

Commit

Permalink
Fix Barbara Köhler first hit
Browse files Browse the repository at this point in the history
Capital letters in Author's name fixes 1st test.
  • Loading branch information
annekauf authored and duncdrum committed Sep 13, 2024
1 parent 3ac056c commit 9336a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/author.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ describe('Author Search', () => {
it('first hit should be by the author', {tags: ['@next']}, () => {
cy.get('#result0')
.find('.resultlist-data')
.contains(/(?=.*barbara)(?=.*köhler)/)
.contains(/(?=.*Barbara)(?=.*Köhler)/)

})

Expand All @@ -220,7 +220,7 @@ describe('Author Search', () => {
.find('[href*=Author]')
.each(($el, index, $lis) => {
cy.wrap($el)
.contains(/(?=.*barbara)(?=.*köhler)/)
.contains(/(?=.*Barbara)(?=.*Köhler)/)
})
.then(($lis) => {
cy.wrap($lis)
Expand Down

0 comments on commit 9336a95

Please sign in to comment.