From dd40b19c8973cd466cdd3f271d258c819083efca Mon Sep 17 00:00:00 2001 From: ashishj Date: Tue, 30 Aug 2022 18:37:13 +0200 Subject: [PATCH] #3238 Added more rendering test cases --- .../integration/rendering/gitGraph.spec.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/cypress/integration/rendering/gitGraph.spec.js b/cypress/integration/rendering/gitGraph.spec.js index 52019c430..44035c9c2 100644 --- a/cypress/integration/rendering/gitGraph.spec.js +++ b/cypress/integration/rendering/gitGraph.spec.js @@ -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" + `, + {} + ); + }); });