From 407548063268fc0a02303a7f2815b47dddadf00e Mon Sep 17 00:00:00 2001 From: annekauf <151649251+annekauf@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:38:20 +0100 Subject: [PATCH] Update author.cy.js add quote see #28 --- cypress/e2e/author.cy.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/author.cy.js b/cypress/e2e/author.cy.js index a643677..0c3f1d6 100644 --- a/cypress/e2e/author.cy.js +++ b/cypress/e2e/author.cy.js @@ -37,12 +37,13 @@ describe('Author Search', () => { .contains('Yan, Lianke') }) }) - describe(''阎连科'', () => { + + describe("'阎连科'", () => { beforeEach(() => { cy.visit({ url: '/Results', qs: { - lookfor: ''阎连科'', + lookfor: "'阎连科'", type: 'Author' } }) @@ -51,7 +52,8 @@ describe('Author Search', () => { // see #22 it('CJK author search should return translations', () => { cy.get('.record-list') - .contains(''阎连科'') + .contains("'阎连科'") + }) })