From acb799cca099c33661c01cfb60e17c7c74ba19b6 Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Tue, 16 Jul 2024 13:24:17 -0700 Subject: [PATCH] test: e2e bottom-top --- .../integration/rendering/gitGraph.spec.js | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/cypress/integration/rendering/gitGraph.spec.js b/cypress/integration/rendering/gitGraph.spec.js index 38714de5b..249febd08 100644 --- a/cypress/integration/rendering/gitGraph.spec.js +++ b/cypress/integration/rendering/gitGraph.spec.js @@ -1532,8 +1532,26 @@ gitGraph TB: {} ); }); + it('75: should render a gitGraph with multiple tags on a merge commit on bottom-to-top orientation', () => { + imgSnapshotTest( + `gitGraph BT: + commit id: "ZERO" + branch develop + commit id:"A" + checkout main + commit id:"ONE" + checkout develop + commit id:"B" + checkout main + merge develop id:"Release 1.0" type:HIGHLIGHT tag: "SAML v2.0" tag: "OpenID v1.1" + commit id:"TWO" + checkout develop + commit id:"C"`, + {} + ); + }); }); - it('75: should render a gitGraph with multiple tags on a merge commit', () => { + it('76: should render a gitGraph with multiple tags on a merge commit on left-to-right orientation', () => { imgSnapshotTest( `gitGraph commit id: "ZERO"