@@ -10,6 +10,8 @@ describe('Editor Test', () => {
10
10
11
11
it ( 'displays the infoview' , ( ) => {
12
12
cy . on ( 'uncaught:exception' , ( err , runnable ) => {
13
+ // Note: this is because the server throws sometimes random errors about
14
+ // the Lean server being stopped/restarted etc. which don't prevent the site from working
13
15
return false
14
16
} )
15
17
cy . visit ( 'http://localhost:5173/' )
@@ -19,6 +21,7 @@ describe('Editor Test', () => {
19
21
20
22
it ( 'changes themes' , ( ) => {
21
23
cy . on ( 'uncaught:exception' , ( err , runnable ) => {
24
+ // Note: see note about console errors above
22
25
return false
23
26
} )
24
27
cy . visit ( 'http://localhost:5173/' )
@@ -38,6 +41,7 @@ describe('Editor Test', () => {
38
41
39
42
it ( 'inputs unicode' , ( ) => {
40
43
cy . on ( 'uncaught:exception' , ( err , runnable ) => {
44
+ // Note: see note about console errors above
41
45
return false
42
46
} )
43
47
cy . visit ( 'http://localhost:5173/' )
@@ -53,6 +57,7 @@ describe('Editor Test', () => {
53
57
54
58
it ( 'allows for multiple editors' , ( ) => {
55
59
cy . on ( 'uncaught:exception' , ( err , runnable ) => {
60
+ // Note: see note about console errors above
56
61
return false
57
62
} )
58
63
cy . visit ( 'http://localhost:5173/' )
0 commit comments