From 76130005a58b61334577fefed49c1a57c13d479e Mon Sep 17 00:00:00 2001 From: annekauf <151649251+annekauf@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:45:39 +0100 Subject: [PATCH] Update author.cy.js see #14 failing on StabiKat tried to fix test Karin Glaser --- cypress/e2e/author.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/author.cy.js b/cypress/e2e/author.cy.js index edb6c20..b9be52a 100644 --- a/cypress/e2e/author.cy.js +++ b/cypress/e2e/author.cy.js @@ -15,7 +15,7 @@ describe('Author Search', () => { it('first hit should be by the author', {tags: ['@next']}, () => { cy.get('#result0') .find('.resultlist-data') - .contains('Glaser, Karin') + .contains(/^(?=.*Karin)(?=.*Glaser)$/) }) })