mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
remove cheatsheet e2e test in cypress
This commit is contained in:
1 parent
580a24402b
commit
00e59e37ee
1 file changed
-12
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user