Skip to content

Commit

Permalink
#3080 Added more rendering test for cherry pick functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Jun 7, 2022
1 parent 44b2fae commit e3df38e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions cypress/integration/rendering/gitGraph.spec.js
Expand Up @@ -180,4 +180,31 @@ describe('Git Graph diagram', () => {
{}
);
});

it('11: should render a simple gitgraph with two cherry pick commit', () => {
imgSnapshotTest(
`
gitGraph
commit id: "ZERO"
branch develop
commit id:"A"
checkout main
commit id:"ONE"
checkout develop
commit id:"B"
branch featureA
commit id:"FIX"
commit id: "FIX-2"
checkout main
commit id:"TWO"
cherry-pick id:"A"
commit id:"THREE"
cherry-pick id:"FIX"
checkout develop
commit id:"C"
merge featureA
`,
{}
);
});
});

0 comments on commit e3df38e

Please sign in to comment.