From a7eeb8470aff3f71f7b61f198271405bb9c14565 Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Thu, 23 Nov 2023 16:55:34 +0800 Subject: [PATCH] edit link text --- tests/cypress/e2e/helloworld.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/e2e/helloworld.cy.js b/tests/cypress/e2e/helloworld.cy.js index aaba53f..5c5890b 100644 --- a/tests/cypress/e2e/helloworld.cy.js +++ b/tests/cypress/e2e/helloworld.cy.js @@ -187,7 +187,7 @@ describe('example helloworld app', () => { // Check survey dialog pop up cy.CheckTextElement('#QuestCompleted', '關卡完成!', 'Quest Completed!') cy.get('div[class="modal"]').find('p').should('be.visible') - cy.findByRole('link', { name: '填寫問卷' }).should('be.visible') + cy.findByRole('link', { name: '回到地圖' }).should('be.visible') }) }) })