mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Merge remote-tracking branch 'origin/quest' into quest
This commit is contained in:
commit
2cc8a98734
2 files changed
+1
-13
No files matched your search
@@ -3,7 +3,7 @@ import { computed, onMounted } from 'vue'
|
|||||||
import { useToast } from 'vue-toastification'
|
import { useToast } from 'vue-toastification'
|
||||||
import sessionStore, { init } from '../store/session'
|
import sessionStore, { init } from '../store/session'
|
||||||
import GameHeaderPart from '../components/GameHeaderPart.vue'
|
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 HintPart from '../components/HintPart.vue'
|
||||||
import QuestPart from '../components/QuestPart.vue'
|
import QuestPart from '../components/QuestPart.vue'
|
||||||
import TerminalPart from '../components/TerminalPart.vue'
|
import TerminalPart from '../components/TerminalPart.vue'
|
||||||
|
|||||||
@@ -90,18 +90,6 @@ describe('example helloworld app', () => {
|
|||||||
cy.CheckTextElement('#tasks', '任務', 'Tasks:')
|
cy.CheckTextElement('#tasks', '任務', 'Tasks:')
|
||||||
cy.getQuestInfo('輸入 `echo help` 來朗誦咒語').should('be.visible')
|
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', () => {
|
it('Check Terminal', () => {
|
||||||
cy.get('#terminal', { timeout: 20000 }).within(($terminal) => {
|
cy.get('#terminal', { timeout: 20000 }).within(($terminal) => {
|
||||||
cy.get($terminal).should('be.visible')
|
cy.get($terminal).should('be.visible')
|
||||||
|
|||||||
Reference in new issue
Block a user