diff --git a/e2e_tests/integration/multistatements.spec.js b/e2e_tests/integration/multistatements.spec.js index f9b5a34c451..e222442098b 100644 --- a/e2e_tests/integration/multistatements.spec.js +++ b/e2e_tests/integration/multistatements.spec.js @@ -74,7 +74,7 @@ describe('Multi statements', () => { cy.get('[data-testid="frameCommand"]', { timeout: 10000 }) .first() .should('contain', validQuery) - cy.get('[data-testid="frameStatusbar"]', { timeout: 10000 }) + cy.get('[data-testid="frameContents"]', { timeout: 10000 }) .first() .should('contain', 'Error') diff --git a/e2e_tests/integration/params.spec.js b/e2e_tests/integration/params.spec.js index 8e8b604e353..d4e01979831 100644 --- a/e2e_tests/integration/params.spec.js +++ b/e2e_tests/integration/params.spec.js @@ -67,8 +67,8 @@ function runTests () { // it(':param x => {prop: 1} multi line', () => { // Set param cy.executeCommand(':clear') - setParamQ = `:param x => { - prop: 1 + setParamQ = `:param [x] => { + RETURN {{}prop: 1} AS x }` cy.executeCommand(setParamQ) cy.resultContains('"prop": 1')