Skip to content

Commit

Permalink
#3238 Added more rendering test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Aug 30, 2022
1 parent 7068f6c commit dd40b19
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cypress/integration/rendering/gitGraph.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,32 @@ describe('Git Graph diagram', () => {
{}
);
});
it('12: should render a simple gitgraph with three branches,custom merge commit id,tag,type', () => {
imgSnapshotTest(
`gitGraph
commit id: "1"
commit id: "2"
branch nice_feature
checkout nice_feature
commit id: "3"
checkout main
commit id: "4"
checkout nice_feature
branch very_nice_feature
checkout very_nice_feature
commit id: "5"
checkout main
commit id: "6"
checkout nice_feature
commit id: "7"
checkout main
merge nice_feature id: "customID" tag: "customTag" type: "REVERSE"
checkout very_nice_feature
commit id: "8"
checkout main
commit id: "9"
`,
{}
);
});
});

0 comments on commit dd40b19

Please sign in to comment.