From 580a24402b82c57c865b377317e89619e75f9547 Mon Sep 17 00:00:00 2001 From: "Chen, Tai-Lin" Date: Thu, 23 Nov 2023 22:51:29 +0800 Subject: [PATCH 1/2] update gamepage --- app/src/views/GamePage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/views/GamePage.vue b/app/src/views/GamePage.vue index 550a39a..117f85c 100644 --- a/app/src/views/GamePage.vue +++ b/app/src/views/GamePage.vue @@ -3,7 +3,7 @@ import { computed, onMounted } from 'vue' import { useToast } from 'vue-toastification' import sessionStore, { init } from '../store/session' import GameHeaderPart from '../components/GameHeaderPart.vue' -import CommandlistPart from '../components/CommandlistPart.vue' +// import CommandlistPart from '../components/CommandlistPart.vue' import HintPart from '../components/HintPart.vue' import QuestPart from '../components/QuestPart.vue' import TerminalPart from '../components/TerminalPart.vue' From 00e59e37ee84b081754cf459674451b2d842eae8 Mon Sep 17 00:00:00 2001 From: "Chen, Tai-Lin" Date: Thu, 23 Nov 2023 22:57:39 +0800 Subject: [PATCH 2/2] remove cheatsheet e2e test in cypress --- tests/cypress/e2e/helloworld.cy.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/cypress/e2e/helloworld.cy.js b/tests/cypress/e2e/helloworld.cy.js index aaba53f..91c4e07 100644 --- a/tests/cypress/e2e/helloworld.cy.js +++ b/tests/cypress/e2e/helloworld.cy.js @@ -90,18 +90,6 @@ describe('example helloworld app', () => { cy.CheckTextElement('#tasks', '任務', 'Tasks:') cy.getQuestInfo('輸入 `echo help` 來朗誦咒語').should('be.visible') }) - it('Check Command Cheat Sheet', () => { - cy.get('#cmdlist').within(($cmdlist) => { - cy.get($cmdlist).should('be.visible') - cy.get('svg[data-icon="list"]').should('be.visible') - cy.CheckTextElement('#CommandBook', '指令之書', 'Command Cheatsheets') - cy.CheckTextElement( - '#cheatsheets', - '-- --指令列表-- --', - '--Command List--' - ) - }) - }) it('Check Terminal', () => { cy.get('#terminal', { timeout: 20000 }).within(($terminal) => { cy.get($terminal).should('be.visible')