Skip to content

Commit

Permalink
Attempt fix for failing test on cypress cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
elsmr committed Aug 16, 2024
1 parent 288ad2a commit 96e222c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cypress/e2e/14-mapping.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,13 +367,12 @@ describe('Data mapping', () => {
.should('have.text', '{{ $json.input[0].count }}hello worldnewline');
ndv.getters.inlineExpressionEditorInput().type('{esc}');
ndv.actions.validateExpressionPreview('value', '0hello world\n\nnewline');
cy.getByTestId('ndv-input-panel').click();

ndv.getters.inputDataContainer().find('span').contains('input').realMouseDown();
ndv.actions.mapToParameter('value', 'bottom');
ndv.actions.mapToParameter('value', 'center');

ndv.getters
.inlineExpressionEditorInput()
.should('have.text', '{{ $json.input[0].count }}hello worldnewline{{ $json.input }}');
.should('have.text', '{{ $json.input[0].count }}hello world{{ $json.input }}newline');
});
});

0 comments on commit 96e222c

Please sign in to comment.