Skip to content

Commit bb270fe

Browse files
committed
updates e2e test selectors
1 parent 0f7f53d commit bb270fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

e2e_tests/integration/editor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('Cypher Editor', () => {
4242
// It can take a little while for the label meta-data to update in the background
4343
cy.getEditor().type(selectAllAndDelete)
4444
cy.executeCommand('return extraTimeForMetadataupdate')
45-
cy.resultContains('extraTimeForMetadataupdate')
45+
cy.resultContains('ERROR')
4646
cy.wait(5000)
4747

4848
cy.getEditor().type(selectAllAndDelete)

e2e_tests/integration/params.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ testData.forEach(testData => {
150150
it('can generate a set params template to use if query is missing params', () => {
151151
cy.executeCommand(':clear')
152152
cy.executeCommand('return $test1, $test2')
153-
const expectedMessage = `Expected parameter(s): test1, test2`
154-
cy.get('[data-testid="cypherFrameErrorMessage"]', { timeout: 20000 })
153+
const expectedMessage = `Use this template to add missing parameter(s):`
154+
cy.get('[data-testid="frameContents"]', { timeout: 20000 })
155155
.first()
156156
.should('contain', expectedMessage)
157157

0 commit comments

Comments
 (0)