From 6ba7b8877c1a464612354a356d739d3e2125fd2b Mon Sep 17 00:00:00 2001 From: annekauf <151649251+annekauf@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:05:47 +0100 Subject: [PATCH] Update author.cy.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ergänzung Test Autorensuche als Phrasensuche / strikte Suche ''阎连科'' see #22 --- cypress/e2e/author.cy.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/cypress/e2e/author.cy.js b/cypress/e2e/author.cy.js index 3b2593e..a643677 100644 --- a/cypress/e2e/author.cy.js +++ b/cypress/e2e/author.cy.js @@ -37,6 +37,23 @@ describe('Author Search', () => { .contains('Yan, Lianke') }) }) + describe(''阎连科'', () => { + beforeEach(() => { + cy.visit({ + url: '/Results', + qs: { + lookfor: ''阎连科'', + type: 'Author' + } + }) + }) + + // see #22 + it('CJK author search should return translations', () => { + cy.get('.record-list') + .contains(''阎连科'') + }) + }) describe('"Corte, Justine del"', () => { beforeEach(() => {