Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Fix failing multiflow code editor test
Browse files Browse the repository at this point in the history
  • Loading branch information
tplevko authored and igarashitm committed Jun 27, 2023
1 parent c72df16 commit e01f4ef
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ describe('Test for Multi route actions from the code editor', () => {
it('User adds new route to Camel multi-route using code editor', () => {
cy.uploadFixture('CamelRouteMultiFlow.yaml');

const stepToInsert = `- from:
uri: null
steps: []`;
const stepToInsert = `- route:
from:
uri: null
steps: []`;

cy.editorAddText(14, stepToInsert);
cy.editorAddText(18, stepToInsert);
cy.syncUpCodeChanges();
cy.showAllRoutes();

Expand Down
30 changes: 17 additions & 13 deletions cypress/fixtures/CamelRouteMultiFlow.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
- from:
uri: timer:test
steps:
- set-header:
constant: test
name: test
- to:
uri: log:test
- from:
uri: 'activemq:queue:'
steps:
- to:
uri: 'activemq:queue:'
- route:
id: camel route 1
from:
uri: timer:test
steps:
- set-header:
constant: test
name: test
- to:
uri: log:test
- route:
id: camel route 2
from:
uri: 'activemq:queue:'
steps:
- to:
uri: 'activemq:queue:'

0 comments on commit e01f4ef

Please sign in to comment.