@@ -32,6 +32,7 @@ describe('Multi statements', () => {
32
32
after ( ( ) => {
33
33
cy . disableMultiStatement ( )
34
34
} )
35
+
35
36
it ( 'can connect' , ( ) => {
36
37
const password = Cypress . config ( 'password' )
37
38
cy . connect ( 'neo4j' , password )
@@ -69,7 +70,7 @@ describe('Multi statements', () => {
69
70
)
70
71
cy . get ( '[data-testid="frameContents"]' , { timeout : 10000 } )
71
72
. first ( )
72
- . should ( 'contain' , 'Error ' )
73
+ . should ( 'contain' , 'ERROR ' )
73
74
74
75
cy . get ( '[data-testid="navigationSettings"]' ) . click ( )
75
76
cy . get ( '[data-testid="setting-enableMultiStatementMode"]' ) . click ( )
@@ -94,6 +95,7 @@ describe('Multi statements', () => {
94
95
. first ( )
95
96
. should ( 'contain' , 'ERROR' )
96
97
} )
98
+
97
99
it ( 'Takes any statements (not just valid cypher and client commands)' , ( ) => {
98
100
cy . executeCommand ( ':clear' )
99
101
const query = 'RETURN 1; hello1; RETURN 2; hello2;'
@@ -112,6 +114,7 @@ describe('Multi statements', () => {
112
114
. first ( )
113
115
. should ( 'contain' , 'ERROR' )
114
116
} )
117
+
115
118
if ( Cypress . config ( 'serverVersion' ) >= 4.1 ) {
116
119
if ( isEnterpriseEdition ( ) ) {
117
120
it ( 'Can use :use command in multi-statements' , ( ) => {
0 commit comments