Skip to content

Commit 5b8d62f

Browse files
committed
modify tests
1 parent c2932f9 commit 5b8d62f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: cypress/e2e/spec.cy.ts

+9
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,18 @@ describe('Editor Test', () => {
99
})
1010

1111
it('displays the infoview', () => {
12+
cy.on('uncaught:exception', (err, runnable) => {
13+
return false
14+
})
1215
cy.visit('http://localhost:5173/')
1316
cy.get('.squiggly-info')
1417
cy.iframe().contains('0 : Nat')
1518
})
1619

1720
it('changes themes', () => {
21+
cy.on('uncaught:exception', (err, runnable) => {
22+
return false
23+
})
1824
cy.visit('http://localhost:5173/')
1925
cy.get('[data-cy="theme-light"]').click()
2026
cy.contains('#check 0')
@@ -31,6 +37,9 @@ describe('Editor Test', () => {
3137
})
3238

3339
it('inputs unicode', () => {
40+
cy.on('uncaught:exception', (err, runnable) => {
41+
return false
42+
})
3443
cy.visit('http://localhost:5173/')
3544
cy.get('[data-cy="leader-backslash"]').click()
3645
cy.contains('#check 0').click("left")

0 commit comments

Comments
 (0)