@@ -32,6 +32,7 @@ describe('Multi statements', () => {
3232 after ( ( ) => {
3333 cy . disableMultiStatement ( )
3434 } )
35+
3536 it ( 'can connect' , ( ) => {
3637 const password = Cypress . config ( 'password' )
3738 cy . connect ( 'neo4j' , password )
@@ -69,7 +70,7 @@ describe('Multi statements', () => {
6970 )
7071 cy . get ( '[data-testid="frameContents"]' , { timeout : 10000 } )
7172 . first ( )
72- . should ( 'contain' , 'Error ' )
73+ . should ( 'contain' , 'ERROR ' )
7374
7475 cy . get ( '[data-testid="navigationSettings"]' ) . click ( )
7576 cy . get ( '[data-testid="setting-enableMultiStatementMode"]' ) . click ( )
@@ -94,6 +95,7 @@ describe('Multi statements', () => {
9495 . first ( )
9596 . should ( 'contain' , 'ERROR' )
9697 } )
98+
9799 it ( 'Takes any statements (not just valid cypher and client commands)' , ( ) => {
98100 cy . executeCommand ( ':clear' )
99101 const query = 'RETURN 1; hello1; RETURN 2; hello2;'
@@ -112,6 +114,7 @@ describe('Multi statements', () => {
112114 . first ( )
113115 . should ( 'contain' , 'ERROR' )
114116 } )
117+
115118 if ( Cypress . config ( 'serverVersion' ) >= 4.1 ) {
116119 if ( isEnterpriseEdition ( ) ) {
117120 it ( 'Can use :use command in multi-statements' , ( ) => {
0 commit comments